API reference
/User management
/- List users
Create user
Query user
Get user
Delete user
Update user
Patch user
Get user business info
Update user business info
Get user personal info
Update user personal info
Get user travel preferences
Update user travel preferences
Get user membership info
Update user membership info
Get Marriott Bonvoy account info
Update user roles
Get user roles
Get notification preferences
Update notification preferences
Get user travel arrangers
Approve or deny travel arrangers
Get travelers managed by the user.
Add managed travelers
Update managed travelers
Remove managed travelers
Get user's external ID
Update user's external ID
Activate a user
Add favorite
List favorites
Remove favorite
Get user policies
Get user support config
List users
List users of a specific TMC or a company.
Security
Bearer
One of:
TMC ID
Retrieve active, inactive, or all users.
Default:"ACTIVE"
Enum:"ACTIVE""INACTIVE""ALL"
Example:"INACTIVE"
Filters to refine the list of users returned. Users matching with any of the filters would be returned.
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v3/users/list
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/usersapi/v3/users/list
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v3/users/list \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"tmcId": {
"id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"
},
"userStatusFilter": "INACTIVE",
"searchText": "chi",
"pagination": {
"offset": 0,
"limit": 100
},
"filters": [
{
"legalEntityIds": [
{
"id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"
}
],
"officeIds": [
{
"id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"
}
],
"departmentIds": [
{
"id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"
}
],
"costCenterIds": [
{
"id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"
}
],
"userIds": [
{
"id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"
}
],
"emails": [
"string"
],
"externalIds": [
"string"
],
"personas": [
"EMPLOYEE"
],
"roles": [
"TRAVEL_ARRANGER"
],
"designations": [
"string"
],
"tiers": [
"SEAT1A"
]
}
],
"region": "DE",
"includeApiUsers": true,
"sort": {
"sortBy": "NAME",
"sortOrder": "DESCENDING"
}
}'