Maxxton External API

Sections

Get distribution channel

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.

allotmentOnlyboolean

If distrubition channel is created for allotments then true will be displayed, otherwise false will be displayed in allotmentOnly.

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.

currencyIdinteger

Id associated with Currency.

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

allotmentSettingstring

It returns the allotment setting options.

Enum values:
FREESALEALLOTMENT_ONLYFREESALE_AND_ALLOTMENT
linearboolean

Indicates whether this distribution channel is used for linear reservations.

currencyCodestring

Unique code associated with the currency.

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

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

GET

/

Select
1

Response