Data Format

This page describes the format which data needs to follow in Create User endpoint request

Field NameRequiredData TypeData Format
firstNameYesstringLength 1–45 characters
lastNameYesstringLength 1–45 characters
emailYesstringValid email format – max length 66 characters
companyNameYesstringFree form text – max length 45 characters
providerIdNostringFree form text – max length 45 characters
officesNo[]OfficeN/A
iataCode*NostringIf provided, must be exactly 7 digits
cassCode*NostringIf provided, must be exactly 4 digits
countryCode*YesstringExactly 2 alphabetic characters (ISO 3166-1 alpha-2)
officeAirportCode*NostringIf provided, must be exactly 3 letters IATA code

*to be deprecated

Office Object

Field NameRequiredData TypeData Format
iataCodeNostringIf provided, must be exactly 7 digits
cassCodeNostringIf provided, must be exactly 4 digits
countryCodeYesstringExactly 2 alphabetic characters (ISO 3166-1 alpha-2)
officeAirportCodeNostringIf provided, must be exactly 3 letters IATA code