Post Company Profile -> Create Profile with Corporate / IATA ID included
POST {{HostName}}/crm/v1/companies
Request Body
{"companyIdList"=>[{"id"=>"Add IATA or corp ID here", "type"=>"CorporateId"}], "companyDetails"=>{"company"=>{"companyName"=>"Oracle Australia"}, "profileType"=>"Company", "statusCode"=>"Active", "registeredProperty"=>"{{HotelId}}", "markForHistory"=>false}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelid | string |