Maxxton External API

Sections

Gets a single distributionChannel details

Query Parameters

returnSectionsarray

List of constant strings to return only the selected sections in the response. The possible values are COMMISSION_ADDONS, RATETYPES, CANCELLATION_ADDONS, IMAGES. For example, returnSections=COMMISSION_ADDONS will only return COMMISSION_ADDONS section in the response. This is recommended to use to reduce the size of the response body and improve the performance of the call.

Enum values:
COMMISSION_ADDONSRATETYPESCANCELLATION_ADDONSIMAGES
Allow unique items
true

Path Parameters

distributionChannelIdinteger Required

Response

200
Object
The request is completed successfully without any errors

Response Attributes

distributionChannelIdinteger

Unique id associated with the distributionChannel.

codestring

Unique code associated with the distributionChannel.

namestring

Name associated with the distributionChannel.

representationSetParentIdinteger

If the representation set is a child of another representation set then the id of the parent is displayed in representationSetParentId.

activeStartDatestring

The date from which distributionChannel can be used.Date should be added using ISO 8601 standard(yyyy-MM-dd)

activeEndDatestring

The date till which distributionChannel can be used.Date should be added using ISO 8601 standard(yyyy-MM-dd)

typestring

Type of the distributionChannel.Possible values that can be encountered are:DIRECT,RESELLER,TOUROPERATOR

parentIdinteger

If the distributionChannel is child of another distributionChannel then distributionChannelId of parent distributionChannel will be displayed in parentId.

resellerIdinteger

Id of the reseller associated with distributionChannel.

showAgentBillinteger

The amount which is paid by the agent will be displayed in showAgentBill.

brandIdinteger

Unique id associated with brand.

brandstring

Label associated with the distributionChannel.

archivedFromstring

Date from which the distributionChannel was archived. The distributionChannels will not be displayed if the distributionChannel is archived.Date should be added using ISO 8601 standard(yyyy-MM-dd)

mailAddressobject

The address to which other details apart from payment details needs to send.

Show child attributes

invoiceAddressobject

The address to which payment details needs to send.

Show child attributes

communicationPermissionstring

Communication permission is a level which can be set on a distribution channel. It displays the agreement the client has with the distributionchannel and if it's allowed to contact the customer of the reservations made by the respective distributionchannel. There are different levels which can be assigned and the levels are as follows : (1) full_permission, (2) partial_permission, (3) no_permission, (4) special_permission

allotmentSettingstring

It returns the allotment setting options.

Enum values:
FREESALEALLOTMENT_ONLYFREESALE_AND_ALLOTMENT
currencyobject

Show child attributes

imageobject

Show child attributes

rateTypesarray

Show child attributes

commissionExtrasarray

Show child attributes

cancellationAddonsarray

Show child attributes

linearboolean
404
Object
No distributionChannel found for given distributionChannel id.
500
Object
Error occurred while fetching this distributionChannel

GET

/

Select
1

Response