PUT api/Transportations
Request Information
URI Parameters
None.
Body Parameters
RequestResponseModelName | Description | Type | Additional information |
---|---|---|---|
Eplat_ReservationInfoID | globally unique identifier |
None. |
|
CertificateNumber | string |
None. |
|
ConfirmationNumber | string |
None. |
|
ArrivalDate | date |
None. |
|
DepartureDate | date |
None. |
|
GuestData | Guest_Info |
None. |
|
Services | Collection of Service_Info |
None. |
|
ArrivalFlights | Collection of Flight_Info |
None. |
|
DepartureFlights | Collection of Flight_Info |
None. |
Request Formats
application/json, text/json
Sample:
{ "Eplat_ReservationInfoID": "a5b03d2b-5249-4494-9f1c-eb4cb84e01b3", "CertificateNumber": "sample string 1", "ConfirmationNumber": "sample string 2", "ArrivalDate": "2025-03-28T16:25:13.787998-06:00", "DepartureDate": "2025-03-28T16:25:13.787998-06:00", "GuestData": { "Eplat_GuestID": "2cbe659e-4b45-4f24-bc0c-7a3dfa3682b0", "GuestFirstName": "sample string 1", "GuestLastName": "sample string 2", "SpouseFirstName": "sample string 3", "SpouseLastName": "sample string 4" }, "Services": [ { "Eplat_PurchaseServiceID": 1, "Eplat_ServiceID": 1, "ServiceID": 1, "ServiceName": "sample string 2", "OffersRoundTrip": true, "GoldCardPrice": 4.0, "ServiceDateTime": "2025-03-28T16:25:13.787998-06:00", "Quantity": 6.0, "TotalPaid": 7.0, "Notes": "sample string 8" }, { "Eplat_PurchaseServiceID": 1, "Eplat_ServiceID": 1, "ServiceID": 1, "ServiceName": "sample string 2", "OffersRoundTrip": true, "GoldCardPrice": 4.0, "ServiceDateTime": "2025-03-28T16:25:13.787998-06:00", "Quantity": 6.0, "TotalPaid": 7.0, "Notes": "sample string 8" } ], "ArrivalFlights": [ { "TransportationSoldReferenceIDs": [ 1, 2 ], "Eplat_FlightID": 1, "Airline": "sample string 1", "FlightNumber": "sample string 2", "PassengersNames": "sample string 3", "Passengers": 4, "FlightDateTime": "2025-03-28T16:25:13.787998-06:00", "PickUpTime": "00:00:00.1234567", "FlightComments": "sample string 6" }, { "TransportationSoldReferenceIDs": [ 1, 2 ], "Eplat_FlightID": 1, "Airline": "sample string 1", "FlightNumber": "sample string 2", "PassengersNames": "sample string 3", "Passengers": 4, "FlightDateTime": "2025-03-28T16:25:13.787998-06:00", "PickUpTime": "00:00:00.1234567", "FlightComments": "sample string 6" } ], "DepartureFlights": [ { "TransportationSoldReferenceIDs": [ 1, 2 ], "Eplat_FlightID": 1, "Airline": "sample string 1", "FlightNumber": "sample string 2", "PassengersNames": "sample string 3", "Passengers": 4, "FlightDateTime": "2025-03-28T16:25:13.787998-06:00", "PickUpTime": "00:00:00.1234567", "FlightComments": "sample string 6" }, { "TransportationSoldReferenceIDs": [ 1, 2 ], "Eplat_FlightID": 1, "Airline": "sample string 1", "FlightNumber": "sample string 2", "PassengersNames": "sample string 3", "Passengers": 4, "FlightDateTime": "2025-03-28T16:25:13.787998-06:00", "PickUpTime": "00:00:00.1234567", "FlightComments": "sample string 6" } ] }
application/xml, text/xml
Sample:
<ApiModels.RequestResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels"> <ArrivalDate>2025-03-28T16:25:13.787998-06:00</ArrivalDate> <ArrivalFlights> <ApiModels.Flight_Info> <Airline>sample string 1</Airline> <Eplat_FlightID>1</Eplat_FlightID> <FlightComments>sample string 6</FlightComments> <FlightDateTime>2025-03-28T16:25:13.787998-06:00</FlightDateTime> <FlightNumber>sample string 2</FlightNumber> <Passengers>4</Passengers> <PassengersNames>sample string 3</PassengersNames> <PickUpTime>PT0.1234567S</PickUpTime> <TransportationSoldReferenceIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:long>1</d4p1:long> <d4p1:long>2</d4p1:long> </TransportationSoldReferenceIDs> </ApiModels.Flight_Info> <ApiModels.Flight_Info> <Airline>sample string 1</Airline> <Eplat_FlightID>1</Eplat_FlightID> <FlightComments>sample string 6</FlightComments> <FlightDateTime>2025-03-28T16:25:13.787998-06:00</FlightDateTime> <FlightNumber>sample string 2</FlightNumber> <Passengers>4</Passengers> <PassengersNames>sample string 3</PassengersNames> <PickUpTime>PT0.1234567S</PickUpTime> <TransportationSoldReferenceIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:long>1</d4p1:long> <d4p1:long>2</d4p1:long> </TransportationSoldReferenceIDs> </ApiModels.Flight_Info> </ArrivalFlights> <CertificateNumber>sample string 1</CertificateNumber> <ConfirmationNumber>sample string 2</ConfirmationNumber> <DepartureDate>2025-03-28T16:25:13.787998-06:00</DepartureDate> <DepartureFlights> <ApiModels.Flight_Info> <Airline>sample string 1</Airline> <Eplat_FlightID>1</Eplat_FlightID> <FlightComments>sample string 6</FlightComments> <FlightDateTime>2025-03-28T16:25:13.787998-06:00</FlightDateTime> <FlightNumber>sample string 2</FlightNumber> <Passengers>4</Passengers> <PassengersNames>sample string 3</PassengersNames> <PickUpTime>PT0.1234567S</PickUpTime> <TransportationSoldReferenceIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:long>1</d4p1:long> <d4p1:long>2</d4p1:long> </TransportationSoldReferenceIDs> </ApiModels.Flight_Info> <ApiModels.Flight_Info> <Airline>sample string 1</Airline> <Eplat_FlightID>1</Eplat_FlightID> <FlightComments>sample string 6</FlightComments> <FlightDateTime>2025-03-28T16:25:13.787998-06:00</FlightDateTime> <FlightNumber>sample string 2</FlightNumber> <Passengers>4</Passengers> <PassengersNames>sample string 3</PassengersNames> <PickUpTime>PT0.1234567S</PickUpTime> <TransportationSoldReferenceIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:long>1</d4p1:long> <d4p1:long>2</d4p1:long> </TransportationSoldReferenceIDs> </ApiModels.Flight_Info> </DepartureFlights> <Eplat_ReservationInfoID>a5b03d2b-5249-4494-9f1c-eb4cb84e01b3</Eplat_ReservationInfoID> <GuestData> <Eplat_GuestID>2cbe659e-4b45-4f24-bc0c-7a3dfa3682b0</Eplat_GuestID> <GuestFirstName>sample string 1</GuestFirstName> <GuestLastName>sample string 2</GuestLastName> <SpouseFirstName>sample string 3</SpouseFirstName> <SpouseLastName>sample string 4</SpouseLastName> </GuestData> <Services> <ApiModels.Service_Info> <Eplat_PurchaseServiceID>1</Eplat_PurchaseServiceID> <Eplat_ServiceID>1</Eplat_ServiceID> <GoldCardPrice>4</GoldCardPrice> <Notes>sample string 8</Notes> <OffersRoundTrip>true</OffersRoundTrip> <Quantity>6</Quantity> <ServiceDateTime>2025-03-28T16:25:13.787998-06:00</ServiceDateTime> <ServiceID>1</ServiceID> <ServiceName>sample string 2</ServiceName> <TotalPaid>7</TotalPaid> </ApiModels.Service_Info> <ApiModels.Service_Info> <Eplat_PurchaseServiceID>1</Eplat_PurchaseServiceID> <Eplat_ServiceID>1</Eplat_ServiceID> <GoldCardPrice>4</GoldCardPrice> <Notes>sample string 8</Notes> <OffersRoundTrip>true</OffersRoundTrip> <Quantity>6</Quantity> <ServiceDateTime>2025-03-28T16:25:13.787998-06:00</ServiceDateTime> <ServiceID>1</ServiceID> <ServiceName>sample string 2</ServiceName> <TotalPaid>7</TotalPaid> </ApiModels.Service_Info> </Services> </ApiModels.RequestResponseModel>
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>