Travel Request v4 - Request Policy Resources

Get the list of existing Request policies for a given user

Scopes

travelrequest.write - Refer to Scope Usage for full details.

HTTP Request

URI Template
GET {datacenter}/travelrequest/v4/userpolicies

Parameters

Name Type Format Description
userId string - The unique identifier of the user for whom the list of Request policies will be retrieved. Required when connecting with a Company token. If empty, a 400 missingRequiredParam error.

Payload

None.

HTTP Response

HTTP Status Codes

To learn more about response HTTP status codes for this API see Travel Request v4 - HTTP Status Codes.

Payload

List of Request Policies

Example

HTTP Request

GET https://us.api.concursolutions.com/travelrequest/v4/userpolicies
Accept: application/json
Authorization: Bearer {token}

HTTP Response

200 OK
[
  {
    "href": "https://us.api.concursolutions.com/travelrequest/v4/userpolicies/F4C8BD31CA9D4D6292795BE687EB9B2A",
    "id": "F4C8BD31CA9D4D6292795BE687EB9B2A",
   "name": "Internal training Request policy"
  },
  {
    "href": "https://us.api.concursolutions.com/travelrequest/v4/userpolicies/F10E6059B5A14A4C80327FE387491026",
    "id": "F10E6059B5A14A4C80327FE387491026",
   "name": "Client meeting Request policy"
  }
]

On this page