PUT api/GroundTransportation

Request Information

URI Parameters

None.

Body Parameters

Collection of GroundTransportation
NameDescriptionTypeAdditional information
GroundTransportationId

integer

None.

ReservationId

integer

None.

Type

TransportationType

None.

CarType

CarType

None.

CarSize

CarSize

None.

NumberOfPassengers

integer

None.

ServiceDateTime

date

None.

TransportationRep

string

None.

PhoneNumber

string

None.

Comments

string

None.

Active

boolean

None.

LastUpdatedBy

string

None.

CompanyName

string

None.

RenterName

string

None.

MemberNumber

string

None.

IsComplete

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "GroundTransportationId": 1,
    "ReservationId": 2,
    "Type": {
      "TransportationTypeId": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Active": true,
      "LastUpdatedBy": "sample string 5"
    },
    "CarType": {
      "CarTypeId": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Active": true,
      "LastUpdatedBy": "sample string 5"
    },
    "CarSize": {
      "CarSizeId": 1,
      "VehicleSize": "sample string 2",
      "Description": "sample string 3",
      "Active": true,
      "LastUpdatedBy": "sample string 5"
    },
    "NumberOfPassengers": 3,
    "ServiceDateTime": "2025-04-22T03:23:16.8022864",
    "TransportationRep": "sample string 4",
    "PhoneNumber": "sample string 5",
    "Comments": "sample string 6",
    "Active": true,
    "LastUpdatedBy": "sample string 8",
    "CompanyName": "sample string 9",
    "RenterName": "sample string 10",
    "MemberNumber": "sample string 11",
    "IsComplete": true
  },
  {
    "GroundTransportationId": 1,
    "ReservationId": 2,
    "Type": {
      "TransportationTypeId": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Active": true,
      "LastUpdatedBy": "sample string 5"
    },
    "CarType": {
      "CarTypeId": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Active": true,
      "LastUpdatedBy": "sample string 5"
    },
    "CarSize": {
      "CarSizeId": 1,
      "VehicleSize": "sample string 2",
      "Description": "sample string 3",
      "Active": true,
      "LastUpdatedBy": "sample string 5"
    },
    "NumberOfPassengers": 3,
    "ServiceDateTime": "2025-04-22T03:23:16.8022864",
    "TransportationRep": "sample string 4",
    "PhoneNumber": "sample string 5",
    "Comments": "sample string 6",
    "Active": true,
    "LastUpdatedBy": "sample string 8",
    "CompanyName": "sample string 9",
    "RenterName": "sample string 10",
    "MemberNumber": "sample string 11",
    "IsComplete": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfGroundTransportation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bba.Reservations.Models">
  <GroundTransportation>
    <Active>true</Active>
    <CarSize>
      <Active>true</Active>
      <CarSizeId>1</CarSizeId>
      <Description>sample string 3</Description>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <VehicleSize>sample string 2</VehicleSize>
    </CarSize>
    <CarType>
      <Active>true</Active>
      <CarTypeId>1</CarTypeId>
      <Description>sample string 3</Description>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <Name>sample string 2</Name>
    </CarType>
    <Comments>sample string 6</Comments>
    <CompanyName>sample string 9</CompanyName>
    <GroundTransportationId>1</GroundTransportationId>
    <IsComplete>true</IsComplete>
    <LastUpdatedBy>sample string 8</LastUpdatedBy>
    <MemberNumber>sample string 11</MemberNumber>
    <NumberOfPassengers>3</NumberOfPassengers>
    <PhoneNumber>sample string 5</PhoneNumber>
    <RenterName>sample string 10</RenterName>
    <ReservationId>2</ReservationId>
    <ServiceDateTime>2025-04-22T03:23:16.8022864+00:00</ServiceDateTime>
    <TransportationRep>sample string 4</TransportationRep>
    <Type>
      <Active>true</Active>
      <Description>sample string 3</Description>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <Name>sample string 2</Name>
      <TransportationTypeId>1</TransportationTypeId>
    </Type>
  </GroundTransportation>
  <GroundTransportation>
    <Active>true</Active>
    <CarSize>
      <Active>true</Active>
      <CarSizeId>1</CarSizeId>
      <Description>sample string 3</Description>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <VehicleSize>sample string 2</VehicleSize>
    </CarSize>
    <CarType>
      <Active>true</Active>
      <CarTypeId>1</CarTypeId>
      <Description>sample string 3</Description>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <Name>sample string 2</Name>
    </CarType>
    <Comments>sample string 6</Comments>
    <CompanyName>sample string 9</CompanyName>
    <GroundTransportationId>1</GroundTransportationId>
    <IsComplete>true</IsComplete>
    <LastUpdatedBy>sample string 8</LastUpdatedBy>
    <MemberNumber>sample string 11</MemberNumber>
    <NumberOfPassengers>3</NumberOfPassengers>
    <PhoneNumber>sample string 5</PhoneNumber>
    <RenterName>sample string 10</RenterName>
    <ReservationId>2</ReservationId>
    <ServiceDateTime>2025-04-22T03:23:16.8022864+00:00</ServiceDateTime>
    <TransportationRep>sample string 4</TransportationRep>
    <Type>
      <Active>true</Active>
      <Description>sample string 3</Description>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <Name>sample string 2</Name>
      <TransportationTypeId>1</TransportationTypeId>
    </Type>
  </GroundTransportation>
</ArrayOfGroundTransportation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.