CreateTravelerToken

Container: CCPService
Namespace: System.Data.Objects

Summary

Creates a new traveler with the most basic information and returns a token which the traveler may use for authentication purposes.

This method can only be used when using a TransporterToken to authorize.

Method

The HTTP method for this function import is POST

Parameters

Name Type Summary
firstName Edm.String First name of traveler
lastNamePrefix Edm.String Last name prefix e.g. 'van den'
lastName Edm.String Last name of traveler
phoneNumber Edm.String Phonenumber of traveler
Parameters marked with a * are required

Return

Type: Edm.String
Is collection: false
Summary: Token string

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/CreateTravelerToken
Example body (sent with POST-request):
{
  "firstName" : "John",
  "lastNamePrefix" : "Name",
  "lastName" : "Doe",
  "phoneNumber" : "phonenumber"
}