POST api/Transportations
Request Information
URI Parameters
None.
Body Parameters
StoredRequestModelName | Description | Type | Additional information |
---|---|---|---|
CertificateNumber | string |
Required |
|
ConfirmationNumber | string |
Required |
|
Resort | integer |
Required |
|
Terminal | integer |
None. |
|
ArrivalDate | date |
Required |
|
DepartureDate | date |
Required |
|
GuestData | StoredGuestInfo |
Required |
|
TransportationSolds | Collection of StoredServiceInfo |
Required |
|
ArrivalsFlights | Collection of StoredFlightInfo |
None. |
|
DeparturesFlights | Collection of StoredFlightInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "CertificateNumber": "sample string 1", "ConfirmationNumber": "sample string 2", "Resort": 3, "Terminal": 4, "ArrivalDate": "2025-03-29T02:50:44.8553621-06:00", "DepartureDate": "2025-03-29T02:50:44.8553621-06:00", "GuestData": { "GuestFirstName": "sample string 1", "GuestLastName": "sample string 2", "SpouseFirstName": "sample string 3", "SpouseLastName": "sample string 4" }, "TransportationSolds": [ { "ReferencesSoldKey": "sample string 1", "ServiceID": 2, "ServiceName": "sample string 3", "OffersRoundTrip": true, "Price": 5.0, "ServiceDateTime": "2025-03-29T02:50:44.8553621-06:00", "Quantity": 7.0, "TotalPaid": 8.0, "Notes": "sample string 9" }, { "ReferencesSoldKey": "sample string 1", "ServiceID": 2, "ServiceName": "sample string 3", "OffersRoundTrip": true, "Price": 5.0, "ServiceDateTime": "2025-03-29T02:50:44.8553621-06:00", "Quantity": 7.0, "TotalPaid": 8.0, "Notes": "sample string 9" } ], "ArrivalsFlights": [ { "TransportationSoldsReferences": [ "sample string 1", "sample string 2" ], "Airline": "sample string 1", "FlightNumber": "sample string 2", "PassengersNames": "sample string 3", "Passengers": 4, "FlightDateTime": "2025-03-29T02:50:44.8553621-06:00", "PickUpTime": "00:00:00.1234567", "FlightComments": "sample string 6" }, { "TransportationSoldsReferences": [ "sample string 1", "sample string 2" ], "Airline": "sample string 1", "FlightNumber": "sample string 2", "PassengersNames": "sample string 3", "Passengers": 4, "FlightDateTime": "2025-03-29T02:50:44.8553621-06:00", "PickUpTime": "00:00:00.1234567", "FlightComments": "sample string 6" } ], "DeparturesFlights": [ { "TransportationSoldsReferences": [ "sample string 1", "sample string 2" ], "Airline": "sample string 1", "FlightNumber": "sample string 2", "PassengersNames": "sample string 3", "Passengers": 4, "FlightDateTime": "2025-03-29T02:50:44.8553621-06:00", "PickUpTime": "00:00:00.1234567", "FlightComments": "sample string 6" }, { "TransportationSoldsReferences": [ "sample string 1", "sample string 2" ], "Airline": "sample string 1", "FlightNumber": "sample string 2", "PassengersNames": "sample string 3", "Passengers": 4, "FlightDateTime": "2025-03-29T02:50:44.8553621-06:00", "PickUpTime": "00:00:00.1234567", "FlightComments": "sample string 6" } ] }
application/xml, text/xml
Sample:
<ApiModels.StoredRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels"> <ArrivalDate>2025-03-29T02:50:44.8553621-06:00</ArrivalDate> <ArrivalsFlights> <ApiModels.StoredFlightInfo> <Airline>sample string 1</Airline> <FlightComments>sample string 6</FlightComments> <FlightDateTime>2025-03-29T02:50:44.8553621-06:00</FlightDateTime> <FlightNumber>sample string 2</FlightNumber> <Passengers>4</Passengers> <PassengersNames>sample string 3</PassengersNames> <PickUpTime>PT0.1234567S</PickUpTime> <TransportationSoldsReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </TransportationSoldsReferences> </ApiModels.StoredFlightInfo> <ApiModels.StoredFlightInfo> <Airline>sample string 1</Airline> <FlightComments>sample string 6</FlightComments> <FlightDateTime>2025-03-29T02:50:44.8553621-06:00</FlightDateTime> <FlightNumber>sample string 2</FlightNumber> <Passengers>4</Passengers> <PassengersNames>sample string 3</PassengersNames> <PickUpTime>PT0.1234567S</PickUpTime> <TransportationSoldsReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </TransportationSoldsReferences> </ApiModels.StoredFlightInfo> </ArrivalsFlights> <CertificateNumber>sample string 1</CertificateNumber> <ConfirmationNumber>sample string 2</ConfirmationNumber> <DepartureDate>2025-03-29T02:50:44.8553621-06:00</DepartureDate> <DeparturesFlights> <ApiModels.StoredFlightInfo> <Airline>sample string 1</Airline> <FlightComments>sample string 6</FlightComments> <FlightDateTime>2025-03-29T02:50:44.8553621-06:00</FlightDateTime> <FlightNumber>sample string 2</FlightNumber> <Passengers>4</Passengers> <PassengersNames>sample string 3</PassengersNames> <PickUpTime>PT0.1234567S</PickUpTime> <TransportationSoldsReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </TransportationSoldsReferences> </ApiModels.StoredFlightInfo> <ApiModels.StoredFlightInfo> <Airline>sample string 1</Airline> <FlightComments>sample string 6</FlightComments> <FlightDateTime>2025-03-29T02:50:44.8553621-06:00</FlightDateTime> <FlightNumber>sample string 2</FlightNumber> <Passengers>4</Passengers> <PassengersNames>sample string 3</PassengersNames> <PickUpTime>PT0.1234567S</PickUpTime> <TransportationSoldsReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </TransportationSoldsReferences> </ApiModels.StoredFlightInfo> </DeparturesFlights> <GuestData> <GuestFirstName>sample string 1</GuestFirstName> <GuestLastName>sample string 2</GuestLastName> <SpouseFirstName>sample string 3</SpouseFirstName> <SpouseLastName>sample string 4</SpouseLastName> </GuestData> <Resort>3</Resort> <Terminal>4</Terminal> <TransportationSolds> <ApiModels.StoredServiceInfo> <Notes>sample string 9</Notes> <OffersRoundTrip>true</OffersRoundTrip> <Price>5</Price> <Quantity>7</Quantity> <ReferencesSoldKey>sample string 1</ReferencesSoldKey> <ServiceDateTime>2025-03-29T02:50:44.8553621-06:00</ServiceDateTime> <ServiceID>2</ServiceID> <ServiceName>sample string 3</ServiceName> <TotalPaid>8</TotalPaid> </ApiModels.StoredServiceInfo> <ApiModels.StoredServiceInfo> <Notes>sample string 9</Notes> <OffersRoundTrip>true</OffersRoundTrip> <Price>5</Price> <Quantity>7</Quantity> <ReferencesSoldKey>sample string 1</ReferencesSoldKey> <ServiceDateTime>2025-03-29T02:50:44.8553621-06:00</ServiceDateTime> <ServiceID>2</ServiceID> <ServiceName>sample string 3</ServiceName> <TotalPaid>8</TotalPaid> </ApiModels.StoredServiceInfo> </TransportationSolds> </ApiModels.StoredRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AttemptResponseName | Description | Type | Additional information |
---|---|---|---|
Type | Attempt_ResponseTypes |
None. |
|
Exception | Exception |
None. |
|
ObjectID | Object |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Type": 0, "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null }, "ObjectID": {}, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<AttemptResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils"> <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult> <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </Exception> <Message>sample string 2</Message> <ObjectID /> <Type>Warning</Type> </AttemptResponse>