v1
latestOpenAPI 3.0.12026-07-245277551.2 MBContactPerson
Add contact person to a profile (group, company, or travel agent)
post/group-profile/v1/contact-persons
Headers
x-property-idinteger
Property ID
x-organization-idinteger required
Organization ID
Request body
Example request
{
"role": "BOOKING_COORDINATOR",
"prefix": "Mr.",
"firstName": "John",
"lastName": "Doe",
"emails": [
{
"emailType": "work",
"email": "john.doe@example.com"
}
],
"phones": [
{
"phoneType": "mobile",
"phone": "+1-555-123-4567"
}
],
"status": "ACTIVE",
"billingDetails": {
"address1": "3033 5th Ave.",
"address2": "Ste 100",
"city": "San Diego",
"country": "US",
"document_number": "142-test",
"name": "Denise Foreman",
"postal_code": "60601",
"phone": "1234567890",
"state": "IL"
}
}Response
Contact person added successfully
Example response
{
"role": "BOOKING_COORDINATOR",
"relationshipType": "PRIMARY",
"prefix": "Mr.",
"firstName": "John",
"lastName": "Doe",
"emails": [
{
"emailType": "work",
"email": "john.doe@example.com"
}
],
"phones": [
{
"phoneType": "mobile",
"phone": "+1-555-123-4567"
}
],
"status": "ACTIVE",
"billingDetails": {
"address1": "3033 5th Ave.",
"address2": "Ste 100",
"city": "San Diego",
"country": "US",
"document_number": "142-test",
"name": "Denise Foreman",
"postal_code": "60601",
"phone": "1234567890",
"state": "IL"
}
}