Smart Distribution API
Version: v1
SmartDistribution Endpoints
POST /api/SmartDistribution/receivesdari.{format}
POST /api/SmartDistribution/receivesdari.{format}Parameters:
format(path) – required:Request Body:Content-Type:
text/xmlSchema:
#/components/schemas/HotelARIUpdateRQResponses:
200: Success400: Bad Request
POST /api/SmartDistribution
POST /api/SmartDistributionRequest Body:
Content-Type:
text/xmlSchema:
#/components/schemas/HotelARIUpdateRQResponses:
200: Success400: Bad Request
POST /api/SmartDistribution/PreCheckReservation
POST /api/SmartDistribution/PreCheckReservationRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
text/jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/*+jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/xmlSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
text/xmlSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/*+xmlSchema:
#/components/schemas/SmartDistributionReservationRQResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/CommitReservation
POST /api/SmartDistribution/CommitReservationRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
text/jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/*+jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/xmlSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
text/xmlSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/*+xmlSchema:
#/components/schemas/SmartDistributionReservationRQResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/CreateReservation
POST /api/SmartDistribution/CreateReservationRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
text/jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/*+jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/xmlSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
text/xmlSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/*+xmlSchema:
#/components/schemas/SmartDistributionReservationRQResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/ModifyReservation
POST /api/SmartDistribution/ModifyReservationRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
text/jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/*+jsonSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/xmlSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
text/xmlSchema:
#/components/schemas/SmartDistributionReservationRQ
Content-Type:
application/*+xmlSchema:
#/components/schemas/SmartDistributionReservationRQResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/CancelReservation
POST /api/SmartDistribution/CancelReservationRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SDCancelReservationRequest
Content-Type:
text/jsonSchema:
#/components/schemas/SDCancelReservationRequest
Content-Type:
application/*+jsonSchema:
#/components/schemas/SDCancelReservationRequest
Content-Type:
application/xmlSchema:
#/components/schemas/SDCancelReservationRequest
Content-Type:
text/xmlSchema:
#/components/schemas/SDCancelReservationRequest
Content-Type:
application/*+xmlSchema:
#/components/schemas/SDCancelReservationRequestResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/PreCheck.xml
POST /api/SmartDistribution/PreCheck.xmlRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SmartDistributionPreBookRQ
Content-Type:
text/jsonSchema:
#/components/schemas/SmartDistributionPreBookRQ
Content-Type:
application/*+jsonSchema:
#/components/schemas/SmartDistributionPreBookRQ
Content-Type:
application/xmlSchema:
#/components/schemas/SmartDistributionPreBookRQ
Content-Type:
text/xmlSchema:
#/components/schemas/SmartDistributionPreBookRQ
Content-Type:
application/*+xmlSchema:
#/components/schemas/SmartDistributionPreBookRQResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/CreateReservation.xml
POST /api/SmartDistribution/CreateReservation.xmlRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/HotelML
Content-Type:
text/jsonSchema:
#/components/schemas/HotelML
Content-Type:
application/*+jsonSchema:
#/components/schemas/HotelML
Content-Type:
application/xmlSchema:
#/components/schemas/HotelML
Content-Type:
text/xmlSchema:
#/components/schemas/HotelML
Content-Type:
application/*+xmlSchema:
#/components/schemas/HotelMLResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/CommitReservation.xml
POST /api/SmartDistribution/CommitReservation.xmlRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/HotelML
Content-Type:
text/jsonSchema:
#/components/schemas/HotelML
Content-Type:
application/*+jsonSchema:
#/components/schemas/HotelML
Content-Type:
application/xmlSchema:
#/components/schemas/HotelML
Content-Type:
text/xmlSchema:
#/components/schemas/HotelML
Content-Type:
application/*+xmlSchema:
#/components/schemas/HotelMLResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/ModifyReservation.xml
POST /api/SmartDistribution/ModifyReservation.xmlRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SmartDistributionModifyRequest
Content-Type:
text/jsonSchema:
#/components/schemas/SmartDistributionModifyRequest
Content-Type:
application/*+jsonSchema:
#/components/schemas/SmartDistributionModifyRequest
Content-Type:
application/xmlSchema:
#/components/schemas/SmartDistributionModifyRequest
Content-Type:
text/xmlSchema:
#/components/schemas/SmartDistributionModifyRequest
Content-Type:
application/*+xmlSchema:
#/components/schemas/SmartDistributionModifyRequestResponses:
201: Success400: Bad Request
POST /api/SmartDistribution/Cancel.xml
POST /api/SmartDistribution/Cancel.xmlRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SmartDistributionCancellationRQ
Content-Type:
text/jsonSchema:
#/components/schemas/SmartDistributionCancellationRQ
Content-Type:
application/*+jsonSchema:
#/components/schemas/SmartDistributionCancellationRQ
Content-Type:
application/xmlSchema:
#/components/schemas/SmartDistributionCancellationRQ
Content-Type:
text/xmlSchema:
#/components/schemas/SmartDistributionCancellationRQ
Content-Type:
application/*+xmlSchema:
#/components/schemas/SmartDistributionCancellationRQResponses:
201: Success400: Bad Request
GET /api/SmartDistribution/getproducts/{propertyID}
GET /api/SmartDistribution/getproducts/{propertyID}Parameters:
propertyID(path) – required:numberOfRoom(query) – optional:checkin(query) – optional:checkout(query) – optional:occupancy(query) – optional:Responses:200: Success
GET /api/SmartDistribution/getpropertydetails/{propertyID}
GET /api/SmartDistribution/getpropertydetails/{propertyID}Parameters:
propertyID(path) – required:roomcode(query) – optional:Responses:200: Success
GET /api/SmartDistribution/bestproperties
GET /api/SmartDistribution/bestpropertiesParameters:
destinationCode(query) – optional:checkin(query) – optional:checkout(query) – optional:occupancy(query) – optional:Responses:200: Success
SmartDistributionSetup Endpoints
POST /api/SmartDistributionSetup/login
POST /api/SmartDistributionSetup/loginResponses:
201: Success400: Bad Request
POST /api/SmartDistributionSetup/CreateUser
POST /api/SmartDistributionSetup/CreateUserRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/SDUser
Content-Type:
text/jsonSchema:
#/components/schemas/SDUser
Content-Type:
application/*+jsonSchema:
#/components/schemas/SDUser
Content-Type:
application/xmlSchema:
#/components/schemas/SDUser
Content-Type:
text/xmlSchema:
#/components/schemas/SDUser
Content-Type:
application/*+xmlSchema:
#/components/schemas/SDUserResponses:
201: Success400: Bad Request
POST /api/SmartDistributionSetup/DemandSetup
POST /api/SmartDistributionSetup/DemandSetupRequest Body:
Content-Type:
application/jsonSchema:
#/components/schemas/Demands
Content-Type:
text/jsonSchema:
#/components/schemas/Demands
Content-Type:
application/*+jsonSchema:
#/components/schemas/Demands
Content-Type:
application/xmlSchema:
#/components/schemas/Demands
Content-Type:
text/xmlSchema:
#/components/schemas/Demands
Content-Type:
application/*+xmlSchema:
#/components/schemas/DemandsResponses:
201: Success400: Bad Request
GET /api/SmartDistributionSetup/GetDemands
GET /api/SmartDistributionSetup/GetDemandsResponses:
201: Success400: Bad Request
GET /api/SmartDistributionSetup/GetSupplier
GET /api/SmartDistributionSetup/GetSupplierResponses:
201: Success400: Bad Request