Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Operation

Information of the operation

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/deposit


Request

PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
Unique identificator of the chain.
propertyIdIntegertrue
Unique identificator of the property.
depositStatusTypeIdIntegerfalse
Unique identificator of the DepositStatusType.
offsetIntegerfalse0Offset of the array of results.
limitIntegerfalse10Limit of results.
sortStringfalseidProperty of the entity to sort by.
sortModeStringfalseAscMode of sorting.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/deposit


Response

PropertyTypeRequiredDescription
PagePagetrue
Entity



FieldTypeRequiredDescription
idIntegertrueUnique identifier for the Deposit.
nameStringtrueName of the Deposit.
companyCompanyfalseCompany associated to this Deposit
customerCustomerfalseCustomer associated to this Deposit
travelAgentTravelAgentfalseTravelAgent associated to this Deposit
productProducttrueProduct associated to this Deposit
consumptionDateLocalDatetrueDate when the Deposit was created
priceBigDecimaltrueAmount of this Deposit
spentBigDecimaltrue
refundBigDecimaltrue
remainingBigDecimaltrue
currencyCurrencytrueCurrency associated to this Deposit
depositStatusTypeDepositStatusTypetrue

StatusType of this Deposit

reservationRoomStaySummaryReservationRoomStaySummaryfalse
reservationSummaryReservationSummaryfalse
reservationGroupReservationGroupfalse

Example response

{
	"count": 7,
	"offset": 0,
	"limit": 10,
	"list": [{
			"id": 2,
			"name": "dcb58",
			"company": null,
			"customer": {
				"id": 8,
				"name": "Antonio Bérengère Chapman"
			},
			"travelAgent": null,
			"productModel": {
				"id": 519,
				"code":"DEP0",
				"name": "Deposit 10"
			},
			"consumptionDate": "2019-02-07",
			"price": 311,
			"spent": 0,
			"remaining": 0,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending Payment",
				"code": "PENPAY"
			}
		},
		{
			"id": 3,
			"name": "da908",
			"company": null,
			"customer": {
				"id": 8,
				"name": "Antonio Bérengère Chapman"
			},
			"travelAgent": null,
			"productModel": {
				"id": 519,
				"code":"DEP10",
				"name": "Deposit 10"
			},
			"consumptionDate": "2019-02-01",
			"price": 405,
			"spent": 0,
			"remaining": 405,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending To Apply",
				"code": "PENAPL"
			}
		},
		{
			"id": 4,
			"name": "0f4ed",
			"company": null,
			"customer": {
				"id": 10,
				"name": "Juan Athéna Ward"
			},
			"travelAgent": null,
			"productModel": {
				"id": 530,
				"code":"DEP21",
				"name": "Deposit 21"
			},
			"consumptionDate": "2019-02-09",
			"price": 179,
			"spent": 0,
			"remaining": 0,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending Payment",
				"code": "PENPAY"
			}
		},
		{
			"id": 5,
			"name": "a63c4",
			"company": null,
			"customer": {
				"id": 4,
				"name": "Irene Maïté Duncan"
			},
			"travelAgent": null,
			"productModel": {
				"id": 530,
				"code":"DEP21",
				"name": "Deposit 21"
			},
			"consumptionDate": "2019-02-07",
			"price": 254,
			"spent": 0,
			"remaining": 254,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending To Apply",
				"code": "PENAPL"
			}
		},
		{
			"id": 6,
			"name": "80153",
			"company": null,
			"customer": null,
			"travelAgent": {
				"id": 132,
				"name": "Jamia"
			},
			"productModel": {
				"id": 530,
				"code":"DEP21",
				"name": "Deposit 21"
			},
			"consumptionDate": "2019-02-12",
			"price": 343,
			"spent": 0,
			"remaining": 343,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending To Apply",
				"code": "PENAPL"
			}
		},
		{
			"id": 7,
			"name": "e361d",
			"company": null,
			"customer": {
				"id": 2,
				"name": "Carolyn Göran Freeman"
			},
			"travelAgent": null,
			"productModel": {
				"id": 519,
				"code":"DEP10",
				"name": "Deposit 10"
			},
			"consumptionDate": "2019-02-07",
			"price": 87,
			"spent": 0,
			"remaining": 87,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending To Apply",
				"code": "PENAPL"
			}
		},
		{
			"id": 8,
			"name": "b784a",
			"company": null,
			"customer": null,
			"travelAgent": {
				"id": 121,
				"name": "Zoomcast"
			},
			"productModel": {
				"id": 530,
				"code":"DEP21",
				"name": "Deposit 21"
			},
			"consumptionDate": "2019-02-10",
			"price": 134,
			"spent": 0,
			"remaining": 134,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending To Apply",
				"code": "PENAPL"
			}
		}
	]
}
  • No labels