Hotel API · Reservations & credit
CreditCheck()
This function is dedicated to get current used and remaining credits (if exists)
Request
<CreditCheck>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
</CreditCheck>| Root | Sub root | Description | Values & Format | Tag |
|---|---|---|---|---|
| Credential | ||||
| Login | String | Mandatory | ||
| Password | String | Mandatory | ||
| User | IdUser on CYBERESA SYSTEM | Integer | Mandatory |
Response
<CreditCheck>
<Deposit>?</Deposit>
<ConsumedDeposit>?</ConsumedDeposit>
<RemainingDeposit>?</RemainingDeposit>
<RemainingPercentage>?</RemainingPercentage>
<ConsumedPercentage>?</ConsumedPercentage>
<DateDeposit>?</DateDeposit>
<DaysLeft>?</DaysLeft>
</CreditCheck>| Root | Sub root | Description | Values & Format | Tag |
|---|---|---|---|---|
| Deposit | Total deposit | String | Mandatory | |
| ConsumedDeposit | Deposit consumed | String | Mandatory | |
| RemainingDeposit | Deposit remaining | String | Mandatory | |
| RemainingPercentage | Percentage of remaining deposit | Float | Mandatory | |
| ConsumedPercentage | Percentage of consumed deposit | Float | Mandatory | |
| DateDeposit | Date of deposit insertion | dd/mm/yyyy | Mandatory | |
| DaysLeft | Estimate on the expiry date of the deposit | Float | Mandatory |