This page describes the format which data needs to follow in Create User endpoint request
| Field Name | Required | Data Type | Data Format |
|---|---|---|---|
| firstName | Yes | string | Length 1–45 characters |
| lastName | Yes | string | Length 1–45 characters |
| Yes | string | Valid email format – max length 66 characters | |
| companyName | Yes | string | Free form text – max length 45 characters |
| providerId | No | string | Free form text – max length 45 characters |
| offices | No | []Office | N/A |
| iataCode* | No | string | If provided, must be exactly 7 digits |
| cassCode* | No | string | If provided, must be exactly 4 digits |
| countryCode* | Yes | string | Exactly 2 alphabetic characters (ISO 3166-1 alpha-2) |
| officeAirportCode* | No | string | If provided, must be exactly 3 letters IATA code |
*to be deprecated
Office Object
| Field Name | Required | Data Type | Data Format |
|---|---|---|---|
| iataCode | No | string | If provided, must be exactly 7 digits |
| cassCode | No | string | If provided, must be exactly 4 digits |
| countryCode | Yes | string | Exactly 2 alphabetic characters (ISO 3166-1 alpha-2) |
| officeAirportCode | No | string | If provided, must be exactly 3 letters IATA code |
