CreateTravelerToken
Container: CCPServiceNamespace: 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 POSTParameters
| 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 |
Return
Type: Edm.StringIs collection: false
Summary: Token string
Example
Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/CreateTravelerTokenExample body (sent with POST-request):
{
"firstName" : "John",
"lastNamePrefix" : "Name",
"lastName" : "Doe",
"phoneNumber" : "phonenumber"
}