Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Information of the operation

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.billing


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

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



Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
reservationIdIntegerfalserequest parameter
Unique identificator of reservation
reservationRoomStayIdIntegerfalserequest parameter
Unique identificator of reservationRoomStay
reservationGroupIdIntegerfalserequest parameter
Unique identificator of reservationGroup
depositStatusTypeId

Integerfalserequest parameter
Unique identificator of the DepositStatusType.
createdDateFromLocalDatefalserequest parameter
Date of creation of the deposit (not paid yet)
createdDateToLocalDatefalserequest parameter
Date of creation of the deposit (not paid yet)
consumedDateFromLocalDatefalserequest parameter
Date of consumption of the deposit
consumedDateToLocalDatefalserequest parameter
Date of consumption of the deposit
paidDateFromLocalDatefalserequest parameter
Date of payment of the deposit
paidDateToLocalDatefalserequest parameter
Date of payment of the deposit
refundDateFromLocalDatefalserequest parameter
Date of refund of the deposit
refundDateToLocalDatefalserequest parameter
Date of refund of the deposit
cancellationDateFromLocalDatefalserequest parameter
Date of cancellation of the deposit (not paid)
cancelationDateToLocalDatefalserequest parameter
Date of refund of the deposit(not paid)
offsetIntegerfalserequest parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortStringfalserequest parameteridProperty of the entity to sort by.
sortModeStringfalserequest parameterAscMode of sorting.


Example request

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



Response

PropertyTypeRequiredDescription
PagePagetrue
Entity


Insert excerpt
Deposit
Deposit
nopaneltrue

Example response

Code Block
themeDJango
{
	"count": 73,
	"offset": 0,
	"limit": 10,
	"list": [{
			"id": 2,
			"name": "dcb58",
			"company": null,
			"customer": {
				"id": 8,
				"name": "Antonio Bérengère Chapman"
			},
			"travelAgent": null,
			"productModelprofileType": {
				"id": 519, 				"code": "DEP01",
   	 				"name": "Deposit 10""Customer",
     			},
			"consumptionDatenameI18n": "2019-02-07Customer",
			"price": 311,
     				"spentcolorCode": 0,
			"remaining": 0,
			"currency": {"#00ACC1"
   				"id": 1,
}
				"code": "EUR"},
				"nametravelAgent": "Euro"
			}null,
			"depositStatusTypeModelproductModel": {
				"id": 1589,
				"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",
				
                "chainProductId": 129,
                "code": "DEPR",
                "name": "DepositDepósito 10Recibo"
			},
			"consumptionDate": "2019-02-01",
			"price": 405,
			"spent": 0,
			"remaining": 405,
			"currency,
                "productType": {
				"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": "DEP21DEP",
				
                    "name": "Deposit 21""
                }
			},
			"consumptionDate": "2019-02-0907",
			"price": 179311,
			"spent": 0,
			"refund": 0,
			"remaining": 0,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending Payment",
				"code": "PENPAY"
			}
		},
		{
			"id": 53,
			"name": "a63c4da908",
			"company": null,
			"customer": {
				"id": 48,
				"name": "IreneAntonio MaïtéBérengère DuncanChapman"
			},
			"travelAgent": null,
			"productModelprofileType": {
				"id": 530, 				"code": "DEP211",
   	 				"name": "Deposit 21""Customer",
     			},
			"consumptionDatenameI18n": "2019-02-07Customer",
			"price": 254,
     				"spentcolorCode": 0,
			"remaining": 254,
			"currency": {"#00ACC1"
   				"id": 1,
}
				"code": "EUR"},
				"nametravelAgent": "Euro"
			}null,
			"depositStatusTypeModelproductModel": {
				"id": 1,
				"name": "Pending To Apply",
				588,
                "chainProductId": 128,
                "code": "PENAPLDEP1"
			}
		},
		{
			"id": 6,
			,
                "name": "80153Depósito 10%",
			"company": null,
			"customer": null,
			"travelAgent
                "productType": {
				
                    "id": 132,
				"name": "Jamia"
			},
			"productModel": {
				"id": 530,
				4,
                    "code": "DEP21DEP",
				
                    "name": "Deposit 21""
                }
			},
			"consumptionDate": "2019-02-1201",
			"price": 343405,
			"spent": 0,
			"refund":0,
			"remaining": 343405,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending To Apply",
				"code": "PENAPL"
			}
		},
		{
			"id": 74,
			"name": "e361d0f4ed",
			"company": null,
			"customer": {
				"id": 210,
				"name": "CarolynJuan GöranAthéna FreemanWard"
			},
			"travelAgent": null,
			"productModelprofileType": {
				"id": 519, 				"code": "DEP101",
				"name": "Deposit 10" 			}, 			"consumptionDate": "2019-02-07",
			"pricename": 87, 			"spentCustomer": 0,
			"remaining": 87, 			"currency": { 				"id": 1, 				"codenameI18n": "EURCustomer",
				"name": "Euro" 			}, 			"depositStatusTypeModel": { 				"idcolorCode": 1, 				"name#00ACC1":
"Pending To Apply", 				"code": "PENAPL"
			}
}
			},
		{
			"id": 8,
			"name": "b784a",
			"companytravelAgent": null,
			"customer": null,
			"travelAgent": {
				"id": 121,
				"name": "Zoomcast"
			},
			"productModel": {
				"id": 530,
				"code":"DEP21",
				"name": "Deposit 21"
			},
			"consumptionDate": "2019-02-1009",
			"price": 134179,
			"spent": 0,
			"refund": 0,
			"remaining": 1340,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro"
			},
			"depositStatusTypeModel": {
				"id": 1,
				"name": "Pending To ApplyPayment",
				"code": "PENAPLPENPAY"
			}
		}
	]
}