This API provides you with detailed information on all expenses for a property. The API can return data in CSV formats. The web service responds to HTTP POST requests.
End Point URL
Header
Parameter
Name | Data Type | Description | Example |
---|---|---|---|
HotelCode * | INT(11) | Unique Hotel code | XXXX |
AuthCode * | VARCHAR(300) | Unique Authentication code | XXXXXXXXXXXXXXXXX |
FromDate * | Date | Date From | 2020-07-01 |
ToDate * | Date | Date To | 2020-07-10 |
Request
{ "authcode": "xxxxxxxxxxxx", "hotel_code":"xxxx", "fromdate": "2020-02-01", "todate": "2020-03-01" }
Response
Name | Data Type | Description | Example |
Hotel Name | String | Name of Hotel | Hotel Name |
Hotel Code | Integer | Unique Hotel code | xxxx |
Voucher Date | Date | Date of Voucher | 2020-05-02 |
Voucher No | Integer | Voucher number | 1 |
Contact Info | String | Contact information | Michele B. Wiese |
Expense Made To | String | Expense made to | GUEST |
Paid Out | String | Paid out for | Laundry Bill |
Paid Out Charges | Decimal | Paid Out Charges amount | 100 |
Paid Out Currency | String | Currency of Paid out | $ |
Payment Mode | String | Mode of payment | Cash |
Payment Charges | Decimal | Payment Charges | 10 |
Payment Currency | String | Currency of Payment | $ |
Success
"HotelName","HotelCode","VoucherDate","VoucherNo","ContactInfo","ExpenseMadeTo","PaidOut","PaidOutCharges","PaidOutCurrency","PaymentMode","PaymentCharges","PaymentCurrency", "Hotel","xxxx","2020-03-18","3","Mr. Michele B. Wiese","GUEST","Laundry Bill","680","$","Cash,Cash,Cash","-680","$",
Error Codes
Property Deactivated: This property has been deactivated OpenAPI Record invalid: Unauthorized Request. Please check hotel code and authentication code OpenAPI Deactivated: Auth Code is inactive. OpenAPI Request: Property is not authorized to access this api.