POST api/InvalidateVoucherCode
Invalidates a voucher code from the Tessitura order number.
Request Information
URI Parameters
None.
Body Parameters
InvalidateVoucherCodeRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey |
Authenticated session key |
string |
Required |
OrderNumber |
The order number containing the source id to invalidate |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "OrderNumber": "sample string 2" }
application/xml, text/xml
Sample:
<InvalidateVoucherCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Voucher"> <OrderNumber>sample string 2</OrderNumber> <SessionKey>sample string 1</SessionKey> </InvalidateVoucherCodeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ChangeModeOfSaleResult
ApiSuccessOfInvalidateVoucherCodeResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | InvalidateVoucherCodeResult |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": {} }
application/xml, text/xml
Sample:
<ApiSuccessOfInvalidateVoucherCodeResultvBj55QbV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Voucher" /> </ApiSuccessOfInvalidateVoucherCodeResultvBj55QbV>