Get TravelAgentAccounting by Id [GET]

Operation

Information of the operation

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/accounting/{integrationId}/travelAgent/{travelAgentId}


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
integrationIdIntegertruepath parameter
Unique identificator of the integration.
travelAgentIdIntegertruepath parameter
Unique identificator of the customer.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/accounting/11/travelAgent/26782


Response

PropertyTypeRequiredDescription
TravelAgentAccountingTravelAgentAccountingtrue

Entity


FieldTypeRequiredDescription
travelAgentTravelAgenttrue
accountingAccountStringtrue

Example response

{
      "travelAgent": {
        "id": 1283,
        "name": "Zuzzu.com",
		"profileType": {
	 		"code": "3",
   	 		"name": "Travel agent",
     		"nameI18n": "Travel agent",
     		"colorCode": "#00ACC1"
   		}
      },
      "accountingAccount": "5300001283"
    }