PUT api/Transport/{id}?token={token}

using this function you can cancel an order or edit the date and flight number of it.

Request Information

Parameters

NameDescriptionAdditional information
id
transport id

Define this parameter in the request URI.

token
generated token on login

Define this parameter in the request URI.

transport
to cancel the order status you can send "cancel" status. to update the date and flight number just send new value of them.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DriverName": "sample string 2",
  "PassengerFirstName": "sample string 3",
  "PassengerLastName": "sample string 4",
  "Vehicle": "sample string 5",
  "VehicleID": 6,
  "CVOID": 7,
  "Company": "sample string 8",
  "Terminal": "sample string 9",
  "Date": "2025-12-05T23:49:55.6689045-05:00",
  "Status": "sample string 11",
  "FlightInfo": "sample string 12",
  "Permit": "sample string 13",
  "OnBehalf": "sample string 14",
  "BillAccountID": 15
}

application/xml, text/xml

Sample:
<Transport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PardDriverWebService.Models">
  <BillAccountID>15</BillAccountID>
  <CVOID>7</CVOID>
  <Company>sample string 8</Company>
  <Date>2025-12-05T23:49:55.6689045-05:00</Date>
  <DriverName>sample string 2</DriverName>
  <FlightInfo>sample string 12</FlightInfo>
  <Id>1</Id>
  <OnBehalf>sample string 14</OnBehalf>
  <PassengerFirstName>sample string 3</PassengerFirstName>
  <PassengerLastName>sample string 4</PassengerLastName>
  <Permit>sample string 13</Permit>
  <Status>sample string 11</Status>
  <Terminal>sample string 9</Terminal>
  <Vehicle>sample string 5</Vehicle>
  <VehicleID>6</VehicleID>
</Transport>

application/x-www-form-urlencoded

Sample:

Sample not available.