POST api/prepaid/confirmorder
Confirm an order
Request Information
URI Parameters
None.
Body Parameters
The token of the order
prepaidconfirmorderargumentsName | 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:
<prepaidconfirmorderarguments 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> </prepaidconfirmorderarguments>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A token for futher processing
prepaidconfirmorderresultName | 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:
<prepaidconfirmorderresult 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> </prepaidconfirmorderresult>