Smart Distribution API
Version: v1
SmartDistribution Endpoints
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
Request Body:
Content-Type:
text/xmlSchema:
#/components/schemas/HotelARIUpdateRQResponses:
200: Success400: Bad Request
POST /api/SmartDistribution/PreCheckReservation
Request 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
Request 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
Request 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
Request 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
Request 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
Request 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
Request 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
Request 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
Request 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
Request 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}
Parameters:
propertyID(path) – required:numberOfRoom(query) – optional:checkin(query) – optional:checkout(query) – optional:occupancy(query) – optional:Responses:200: Success
GET /api/SmartDistribution/getpropertydetails/{propertyID}
Parameters:
propertyID(path) – required:roomcode(query) – optional:Responses:200: Success
GET /api/SmartDistribution/bestproperties
Parameters:
destinationCode(query) – optional:checkin(query) – optional:checkout(query) – optional:occupancy(query) – optional:Responses:200: Success
SmartDistributionSetup Endpoints
POST /api/SmartDistributionSetup/login
Responses:
201: Success400: Bad Request
POST /api/SmartDistributionSetup/CreateUser
Request 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
Request 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
Responses:
201: Success400: Bad Request
GET /api/SmartDistributionSetup/GetSupplier
Responses:
201: Success400: Bad Request