Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
5109c77
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 10, 2026
bb52635
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 10, 2026
232294e
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 10, 2026
6044b27
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 10, 2026
f6e0dee
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 10, 2026
0d8aaf7
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 10, 2026
2ff74f5
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 10, 2026
4b2a669
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 10, 2026
c3718ec
TVR-32867 : Review error handling of PATCH Participant APIs
jpoutche Mar 10, 2026
f875175
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 11, 2026
f31fac9
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 11, 2026
c24e702
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 13, 2026
e5f128d
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 17, 2026
f55ba97
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 17, 2026
43e66b9
TVR-33624 : [API] Cascading Request - API reference documentation
jpoutche Mar 19, 2026
2c2883e
Update v4.endpoints.schemas.markdown
sap-alex-oliveira Mar 30, 2026
3b49115
Update v4.endpoints.participant-resources.markdown
sap-alex-oliveira Mar 30, 2026
803f367
Update v4.endpoints.participant-resources.markdown
sap-alex-oliveira Mar 30, 2026
05cb663
Update v4.endpoints.participant-resources.markdown
sap-alex-oliveira Mar 31, 2026
4eacc21
create -new files
sap-alex-oliveira Mar 31, 2026
af50f16
add pre release language to -new files
sap-alex-oliveira Mar 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 170 additions & 0 deletions src/api-reference/request/v4.endpoints.participant-resources.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
---
title: Travel Request v4 - Participant Resources
layout: reference
---
# Travel Request v4 - Participant Resources

## <a name="get-request-participants"></a>Get the list of Participants for a given Request

### Scopes

`travelrequest.write` - Refer to [Scope Usage](./v4.get-started.html#scope-usage) for full details.

### HTTP Request

##### URI Template

```
GET {datacenter}/travelrequest/v4/requests/{requestUuid}/participants
```

#### Parameters

Name|Type|Format|Description
---|---|---|---
`requestUuid`|`string`|[RFC 4122]|**Required** The unique identifier of the Request.
`userId`|`string`|-|The unique identifier of the user getting the participants list. If empty when using a Company token the default system user will be assumed to perform the action.

#### Headers

`concur-correlationid` is a specific custom header used for technical support in the form of a [RFC 4122 A Universally Unique IDentifier (UUID) URN Namespace](https://tools.ietf.org/html/rfc4122).

#### 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](./v4.response-codes.html).

#### Payload

List of [Parent Request Participant](./v4.endpoints.schemas.html#schema-parentrequestparticipant)

### Example

#### HTTP Request

```shell
GET https://us.api.concursolutions.com/travelrequest/v4/requests/224AF3CDCC2A5244A37C72FA5770C6F2/participants
Accept: application/json
Authorization: Bearer {token}
Concur-CorrelationId: 5512c7be-3fab-4d65-ae69-8a74a04a0c7f
```

#### HTTP Response

```shell
200 OK
```

```json
[
{
"participant": {
Comment thread
jpoutche marked this conversation as resolved.
"href": "https://us.api.concursolutions.com/profile/v1/users/60dea1fd-489f-48b9-925f-0d62a5b48175",
"id": "60dea1fd-489f-48b9-925f-0d62a5b48175",
"template": "https://us.api.concursolutions.com/profile/v1/users/{id}"
},
"requests": [
{
"href": "https://us.api.concursolutions.com/travelrequest/v4/requests/A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4",
"id": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4",
"template": "https://us.api.concursolutions.com/travelrequest/v4/requests/{id}"
}
]
},
{
"participant": {
"href": "https://us.api.concursolutions.com/profile/v1/users/72efb2ae-5a0e-59ca-b037-1e73b6c59286",
Copy link
Copy Markdown
Contributor

@laurentlhermine laurentlhermine Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we should not provide links to Profile v1 (deprecated)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The links were v4 and we switched back to v1 to align with other endpoints

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other endpoints will not display the href due to specific handling of Profile href for external calls

"id": "72efb2ae-5a0e-59ca-b037-1e73b6c59286",
"template": "https://us.api.concursolutions.com/profile/v1/users/{id}"
},
"requests": [
{
"href": "https://us.api.concursolutions.com/travelrequest/v4/requests/B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5",
"id": "B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5",
"template": "https://us.api.concursolutions.com/travelrequest/v4/requests/{id}"
},
{
"href": "https://us.api.concursolutions.com/travelrequest/v4/requests/C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6",
"id": "C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6",
"template": "https://us.api.concursolutions.com/travelrequest/v4/requests/{id}"
}
]
}
]
```

## <a name="patch-request-participants"></a>Manage Participants of a given Request

### Scopes

`travelrequest.write` - Refer to [Scope Usage](./v4.get-started.html#scope-usage) for full details.

### HTTP Request

##### URI Template

```
PATCH {datacenter}/travelrequest/v4/requests/{requestUuid}/participants
```

#### Parameters

Name|Type|Format|Description
---|---|---|---
`requestUuid`|`string`|[RFC 4122]|**Required** The unique identifier of the Request.
`userId`|`string`|-|The unique identifier of the user patching the participants list. **Required** when connecting with a Company token. If empty, a 400 `missingRequiredParam` error.

#### Headers

`concur-correlationid` is a specific custom header used for technical support in the form of a [RFC 4122 A Universally Unique IDentifier (UUID) URN Namespace](https://tools.ietf.org/html/rfc4122).

#### Payload

[Request Participants For Patch](./v4.endpoints.schemas.html#schema-requestparticipantsforpatch)

### HTTP Response

#### HTTP Status Codes

To learn more about response HTTP status codes for this API see [Travel Request v4 - HTTP Status Codes](./v4.response-codes.html).

#### Payload

None.

### Example

#### HTTP Request

```shell
PATCH https://us.api.concursolutions.com/travelrequest/v4/requests/224AF3CDCC2A5244A37C72FA5770C6F2/participants
Content-Type: application/merge-patch+json
Accept: application/json
Authorization: Bearer {token}
Concur-CorrelationId: 5512c7be-3fab-4d65-ae69-8a74a04a0c7f
```

```json
{
"value": [
{
"id": "56B8B8A0-99FD-4FA9-8DE9-A57F3EE3C2FD"
},
{
"@deleted": true,
"id": "A1B2C3D4-E5F6-A1B2-C3D4-E5F6A1B2C3D4"
}
]
}
```

#### HTTP Response

```shell
204 No Content
```
12 changes: 10 additions & 2 deletions src/api-reference/request/v4.endpoints.policy-resources.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,20 @@ Concur-CorrelationId: 5512c7be-3fab-4d65-ae69-8a74a04a0c7f
{
"href": "https://us.api.concursolutions.com/travelrequest/v4/userpolicies/F4C8BD31CA9D4D6292795BE687EB9B2A",
"id": "F4C8BD31CA9D4D6292795BE687EB9B2A",
"name": "Internal training Request policy"
"name": "Internal training Request policy",
"allowParticipants": false
},
{
"href": "https://us.api.concursolutions.com/travelrequest/v4/userpolicies/F10E6059B5A14A4C80327FE387491026",
"id": "F10E6059B5A14A4C80327FE387491026",
"name": "Client meeting Request policy"
"name": "Client meeting Request policy",
"allowParticipants": false,
},
{
"href": "https://us.api.concursolutions.com/travelrequest/v4/userpolicies/98B49B2523DDAB41A182DD581C637415",
"id": "98B49B2523DDAB41A182DD581C637415",
"name": "Event Request policy",
"allowParticipants": true
}
]

Expand Down
24 changes: 24 additions & 0 deletions src/api-reference/request/v4.endpoints.schemas.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Name|Type|Format|Description
`expenses`|`array`|[`ResourceLink`](#schema-resourcelink)|Expected expenses attached to this Request.
`extensionOf`|`object`|[`ExtensionOf`](#schema-extensionof)|The Request for which this Request is an extension of, or addendum to.
`eventRequest`|`object`|[`ResourceLink`](#schema-resourcelink)|The parent Event Request to which this child Request is related.
`isParentRequest`|`boolean`|-|Indicates whether this Request is of Parent type.
`parentRequestId`|`string`|-|The short identifier of the parent Request.
`parentRequest`|`object`|[`ResourceLink`](#schema-resourcelink)|The parent of this Request.
`highestExceptionLevel`|`string`|-|The highest level of exception contained in this Request. Supported values: `WARNING`, `ERROR`, and `NONE`
`href`|`string`|[RFC 3986]|Hyperlink to the resource for this Request.
`id`|`string`|-|The unique identifier of the Request.
Expand Down Expand Up @@ -236,6 +239,7 @@ Name|Type|Format|Description
`href`|`string`|[RFC 3986]|Hyperlink to the resource for this Request policy.
`id`|`string`|-|The Request policy unique identifier.
`name`|`string`|-|The name of the Request policy.
`allowParticipants`|`boolean`|-|Whether this policy allows to create child requests/allows to add participants.
Comment thread
jpoutche marked this conversation as resolved.
Outdated

## <a name="schema-requesttype"></a>Request Type

Expand Down Expand Up @@ -510,3 +514,23 @@ Name|Type|Format|Description
Name|Type|Format|Description
---|---|---|---
`name`|`string`|-|**Required** The name for the booking (e.g. `Ferry`, `Bus`).

## <a name="schema-parentrequestparticipant"></a>Parent Request Participant

Name|Type|Format|Description
---|---|---|---
`participant`|`object`|[`ResourceLink`](#schema-resourcelink)|Participant of the parent request.
`requests`|`array`|[`ResourceLink`](#schema-resourcelink)|Child requests owned by the participant.

## <a name="schema-requestparticipantsforpatch"></a>Request Participants For Patch

Name|Type|Format|Description
---|---|---|---
`value`|`array`|[`Request Participant For Patch`](#schema-requestparticipantforpatch)|The list of Participants to add or delete from the Request.

## <a name="schema-requestparticipantforpatch"></a>Request Participant For Patch

Name|Type|Format|Description
---|---|---|---
`@deleted`|`boolean`|-|Whether this Participant should be deleted. If absent or `false`, the Participant will be added.
`id`|`string`|[RFC 4122]|**Required** The unique identifier of the Participant.
1 change: 1 addition & 0 deletions src/api-reference/request/v4.response-codes.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ HTTP Status Code|Response Body|Description
---|---|---
200 OK|-|Your GET request succeeded.
201 Created|-|Your POST request succeeded.
204 No Content|-|Your PATCH request succeeded.
400 Bad Request|`badParam` the request has bad parameter(s) {requestName}|The name of the request doesn't have the expected format
-|`invalidJson` invalid json structure|An input JSON structure couldn't be parsed
-|`invalidDate` error while parsing date value {dateValue}|A date or datetime value couldn't be parsed
Expand Down