This API allows you to update receipt no on a folio in context to charge post API. In case of any issues with receipt no, you can make use of this API to update the correct receipt no. The API can return data in XML formats. The web service responds to HTTP POST requests.
End Point URL
Header
Parameter
Name | Data Type | Description | Example |
auth * | VARCHAR(300) | Unique Authentication code | XXXXXXXXXXXXXXXXX |
oprn * | VARCHAR(150) | Use Keyword “updatevoucherno” | |
voucherno * | INT(11) | Voucher No will be provided | POS245 |
requestid * | INT(11) | Request Id will be provided | 2804 |
Request
<?xml version="1.0" standalone="yes"?> <request> <auth>xxxxxxxxxxxxxxxxxxxxxxx</auth> <oprn>updatevoucherno</oprn> <voucherno>POS245</voucherno> <requestid>2804</requestid> </request>
Response
Name | Data Type | Description | Example |
status | String | Status value will be provided Values: ok, error | ok |
msg | String | Message result will be provided Values: already voided, voucher no. already present, voucher no. added | voucher no. added |
Success
<?xml version='1.0' standalone='yes'?> <response> <status>ok</status> <msg> voucher no. added </msg> </response>
Error
<?xml version='1.0' standalone='yes'?> <response> <status>error</status> <msg>Invalid Authentication</msg> </response>
Error Codes
Errors | Description |
Hotel Code In-Active | The Property has been deactivated |
API Authkey is deactivated | The Authcode/Key has been deactivated |
Invalid Authentication | Invalid data |
Bad Request | Invalid Request Parameter |
Invalid API Request. Don’t have this API access | Invalid Request Method |
Invalid request id | Provided Request Id is invalid |