After the end of every private show, our API will send the following message to your webservice to communicate the end of the show.
For this service, you will need to provide your account manager with a fully qualified URL which can accept the following messages via raw post data:
POST [YOUR_API_URI] HTTP/1.1 Host: [YOUR_API_HOST] Content-Type: text/xml; charset=utf-8 Content-Length: [int] { function: showEnd, performerId: [id], customerId: [id], creditsUsed: [int] }
You should then respond with true if you were able to handle the request or false if the command was not valid. Do not return false if you were unable to end the show or update your system for any logistical reason. Only return false if the data did not appear to be valid.
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: [int] { success: true | false message: [string] transactionId: [string] }
Name | Description |
---|---|
success | Whether or not your request was allowed. |
message | An error message if success is false. |
transactionId | The unique ID of the tipping transaction. |