POST api/vouchers/confirmorder
Confirm an order
Request Information
URI Parameters
None.
Body Parameters
The token of the order
voucherconfirmorderarguments| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
The token of the order |
string |
None. |
| datevalidtil |
The date until the vouchers will be valid, null for unrestricted validity |
date |
None. |
| externalmethod |
The identification of the used payment method |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"datevalidtil": "2025-11-05T13:12:55.4668582+01:00",
"externalmethod": "sample string 2"
}
application/xml, text/xml
Sample:
<voucherconfirmorderarguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API"> <datevalidtil>2025-11-05T13:12:55.4668582+01:00</datevalidtil> <externalmethod>sample string 2</externalmethod> <token>sample string 1</token> </voucherconfirmorderarguments>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A token for futher processing
voucherconfirmorderresult| Name | 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:
<voucherconfirmorderresult 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> </voucherconfirmorderresult>