Edit profile
#b2b
The call edits a contract profile.
Request example
Request body
Expand this|
Collapse this
The profile email address.
first_name
String
required
The profile first name.
The value matches the pattern: ^[^\W\d_]+([^\W\d_]*[\u0590-\u05FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F'\-,.’\s]*)*$
.
last_name
String
required
The profile last name.
The value matches the pattern: ^[^\W\d_]+([^\W\d_]*[\u0590-\u05FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F'\-,.’\s]*)*$
.
middle_name
String
optional
The profile middle name.
The value matches the pattern: ^[^\W\d_]+([^\W\d_]*[\u0590-\u05FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F'\-,.’\s]*)*$
.
The profile phone number.
- The minimum length is
5
characters.
- The maximum length is
35
characters.
The profile type.
- The possible values:
csbt_admin
.
employee
.
finance
.
manager
.
master
.
self_booker
.
sub_agent_supervisor
.
supervisor
.
travel_manager
.
Response
Expand this|
Collapse this
The profile list.
The profile email address.
The profile first name.
The value matches the pattern: ^[^\W\d_]+([^\W\d_]*[\u0590-\u05FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F'\-,.’\s]*)*$
.
The profile last name.
The value matches the pattern: ^[^\W\d_]+([^\W\d_]*[\u0590-\u05FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F'\-,.’\s]*)*$
.
The profile middle name.
The value matches the pattern: ^[^\W\d_]+([^\W\d_]*[\u0590-\u05FF\u0900-\u097F\u0980-\u09FF\u0E00-\u0E7F'\-,.’\s]*)*$
.
The profile phone number.
- The minimum length is
5
characters.
- The maximum length is
35
characters.
The profile status.
- The possible values:
active
.
awaiting_confirmation
.
deleted
.
disabled
.
The profile type.
- The possible values:
csbt_admin
.
employee
.
finance
.
manager
.
master
.
self_booker
.
sub_agent_supervisor
.
supervisor
.
travel_manager
.
Response example
Errors
The error
field has the value specified in the headers below.
users_profile_not_found
The profile isn’t found.