POST api/prepaid/rollbackorder
Rollback an order
Request Information
URI Parameters
None.
Body Parameters
The token of the order
prepaidrolbackorderargumentsName | Description | Type | Additional information |
---|---|---|---|
token |
The token of the order |
string |
None. |
externalmethod |
The identification of the used payment method |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "token": "sample string 1", "externalmethod": "sample string 2" }
application/xml, text/xml
Sample:
<prepaidrolbackorderarguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API"> <externalmethod>sample string 2</externalmethod> <token>sample string 1</token> </prepaidrolbackorderarguments>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A token for futher processing
prepaidrollbackorderresultName | Description | Type | Additional information |
---|---|---|---|
success |
Indicates if the action was successfull |
boolean |
None. |
remark |
A description regarding the result |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "remark": "sample string 2" }
application/xml, text/xml
Sample:
<prepaidrollbackorderresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API"> <remark>sample string 2</remark> <success>true</success> </prepaidrollbackorderresult>