POST api/AircraftService
Request Information
URI Parameters
None.
Body Parameters
Collection of AircraftServiceName | Description | Type | Additional information |
---|---|---|---|
AircraftServiceId | integer |
None. |
|
ReservationId | integer |
None. |
|
ServiceCategory | string |
None. |
|
ProductCode | string |
None. |
|
ProductDescription | string |
None. |
|
Quantity | decimal number |
None. |
|
Comments | string |
None. |
|
Status | integer |
None. |
|
Active | boolean |
None. |
|
LastUpdatedBy | string |
None. |
|
StatusText | string |
None. |
|
SpecialInstructions | boolean |
None. |
|
RequestedDate | date |
None. |
|
EffectiveDate | date |
None. |
Request Formats
application/json, text/json
Sample:
[ { "AircraftServiceId": 1, "ReservationId": 2, "ServiceCategory": "sample string 3", "ProductCode": "sample string 4", "ProductDescription": "sample string 5", "Quantity": 6.0, "Comments": "sample string 7", "Status": 8, "Active": true, "LastUpdatedBy": "sample string 10", "StatusText": "sample string 11", "SpecialInstructions": true, "RequestedDate": "2025-04-22T03:15:06.0110174", "EffectiveDate": "2025-04-22T03:15:06.0110174" }, { "AircraftServiceId": 1, "ReservationId": 2, "ServiceCategory": "sample string 3", "ProductCode": "sample string 4", "ProductDescription": "sample string 5", "Quantity": 6.0, "Comments": "sample string 7", "Status": 8, "Active": true, "LastUpdatedBy": "sample string 10", "StatusText": "sample string 11", "SpecialInstructions": true, "RequestedDate": "2025-04-22T03:15:06.0110174", "EffectiveDate": "2025-04-22T03:15:06.0110174" } ]
application/xml, text/xml
Sample:
<ArrayOfAircraftService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bba.Reservations.Models"> <AircraftService> <Active>true</Active> <AircraftServiceId>1</AircraftServiceId> <Comments>sample string 7</Comments> <EffectiveDate>2025-04-22T03:15:06.0110174+00:00</EffectiveDate> <LastUpdatedBy>sample string 10</LastUpdatedBy> <ProductCode>sample string 4</ProductCode> <ProductDescription>sample string 5</ProductDescription> <Quantity>6</Quantity> <RequestedDate>2025-04-22T03:15:06.0110174+00:00</RequestedDate> <ReservationId>2</ReservationId> <ServiceCategory>sample string 3</ServiceCategory> <SpecialInstructions>true</SpecialInstructions> <Status>8</Status> <StatusText>sample string 11</StatusText> </AircraftService> <AircraftService> <Active>true</Active> <AircraftServiceId>1</AircraftServiceId> <Comments>sample string 7</Comments> <EffectiveDate>2025-04-22T03:15:06.0110174+00:00</EffectiveDate> <LastUpdatedBy>sample string 10</LastUpdatedBy> <ProductCode>sample string 4</ProductCode> <ProductDescription>sample string 5</ProductDescription> <Quantity>6</Quantity> <RequestedDate>2025-04-22T03:15:06.0110174+00:00</RequestedDate> <ReservationId>2</ReservationId> <ServiceCategory>sample string 3</ServiceCategory> <SpecialInstructions>true</SpecialInstructions> <Status>8</Status> <StatusText>sample string 11</StatusText> </AircraftService> </ArrayOfAircraftService>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |