The Delete Profile (OTA_Delete) is used to delete an existing customer, company or Booker profile type or commissionable account matching the specified identifier.
Target Audience
Profile & Loyalty Management
API Version
10.29
Authentication
Security Credentials
Service Action Code
OTA_Delete
Deleted profiles are no longer available for future profile synchronization requests.
NOTE: If more than one customer profile matches the specified identifier associated with the indicated chain or hotel, all customer profiles that match are deleted.
Sample Request
<OTA_DeleteRQ EchoToken="1212" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<UniqueID Type="4" ID="54EF985B2C" ID_Context="pms">
<CompanyName CodeContext="hotel" Code="10001"/>
</UniqueID>
</OTA_DeleteRQ>
Sample Response
<OTA_DeleteRS EchoToken="1212" TimeStamp="2015-03-05T16:31:50Z" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success />
<UniqueID Type="4" ID="54EF985B2C" ID_Context="pms">
<CompanyName CodeContext="hotel" Code="10001"/>
</UniqueID>
</OTA_DeleteRS>