...
The interface is part of our standard web service offering and can be found in our swagger documentation.
View file |
---|
name | swagger.yaml |
---|
height | 250 |
---|
|
Panel |
---|
|
Table of Contents |
---|
exclude | (Example response)|(Parameters) |
---|
|
|
...
Get linked traveler profiles
Anchor |
---|
| TravelerGreetingStructure |
---|
| TravelerGreetingStructure |
---|
|
Arranger
Scope | api.profilesondemand.read |
---|
Endpoint | api/v1/traveller/<uuid>/arranger-contacts |
---|
Request method | GET |
---|
...
Code Block |
---|
language | bash |
---|
title | Example request |
---|
|
curl -v -H "Authorization: Bearer <token>" \
"https://hurricane.umbrellanet.ch/uf-test/api/v1/traveller/065fe9e0-47b7-4d12-b3de-d3aa38169175/arranger-contacts" |
Code Block |
---|
language | js |
---|
title | Example response |
---|
collapse | true |
---|
|
[
{
"displayText": "Mr. Bob Example",
"contactUuid": "4cc19e19-11f4-46c3-b4f6-1ee2360a5752"
},
{
"displayText": "Mrs. Jane Never",
"contactUuid": "9a57f51b-1b7b-43cd-8582-d909670682aa"
}
] |
Anchor |
---|
| TravelerGreetingStructure |
---|
| TravelerGreetingStructure |
---|
|
ApproverScope | api.profilesondemand.read |
---|
Endpoint | api/v1/traveller/<uuid>/approver-contacts |
---|
Request method | GET |
---|
Query returns an array of travelers where the specified uuid is linked as an approver.
Parameters
Name | Description | Validation |
---|
uuid | The profile UUID for which you want to get a list of travellers where profile is selected as approver | Mandatory parameter |
Code Block |
---|
language | bash |
---|
title | Example request |
---|
|
curl -v -H "Authorization: Bearer <token>" \
"https://hurricane.umbrellanet.ch/uf-test/api/v1/traveller/065fe9e0-47b7-4d12-b3de-d3aa38169175/approver-contacts" |
Code Block |
---|
language | js |
---|
title | Example response |
---|
collapse | true |
---|
|
[
{
"displayText": "Mr. Bob Example",
"contactUuid": "4cc19e19-11f4-46c3-b4f6-1ee2360a5752"
},
{
"displayText": "Mrs. Jane Never",
"contactUuid": "9a57f51b-1b7b-43cd-8582-d909670682aa"
}
] |
Create new traveler profile
...