Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleExample 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

 

languagejs
titleExample response
collapsetrue
[
    {
        "displayText": "Mr. Bob Example",
        "contactUuid": "4cc19e19-11f4-46c3-b4f6-1ee2360a5752"
    },
    {
        "displayText": "Mrs. Jane Never",
        "contactUuid": "9a57f51b-1b7b-43cd-8582-d909670682aa"
    }
]
Scopeapi.profilesondemand.read
Endpointapi/v1/traveller/<uuid>/approver-contacts
Request methodGET

...

Code Block
languagebash
titleExample 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
languagejs
titleExample response
collapsetrue
[
    {
        "displayText": "Mr. Bob Example",
        "contactUuid": "4cc19e19-11f4-46c3-b4f6-1ee2360a5752"
    },
    {
        "displayText": "Mrs. Jane Never",
        "contactUuid": "9a57f51b-1b7b-43cd-8582-d909670682aa"
    }
]

Create new traveler profile

...