POST api/Proforma/ProcessProformaInvoice
Request Information
URI Parameters
None.
Body Parameters
ProformaDetailsName | Description | Type | Additional information |
---|---|---|---|
prc | PrcSearchModel |
None. |
|
AwbUpdates | Collection of TotalAwbUpdateModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "prc": { "StartDate": "2025-08-29T02:17:26.8260306+00:00", "EndDate": "2025-08-29T02:17:26.8260306+00:00", "FlightDateType": 0, "AirportCode": "sample string 1", "AirlineCode": "sample string 2" }, "AwbUpdates": [ { "Id": 1, "FlightDate": "2025-08-29T02:17:26.8260306+00:00", "SyncedAt": "2025-08-29T02:17:26.8260306+00:00", "FlightNumber": "sample string 4", "AwbCount": 5, "TotalWeight": 6.0, "ExtraWeight": 1.0, "ApprovedWeight": 1.0 }, { "Id": 1, "FlightDate": "2025-08-29T02:17:26.8260306+00:00", "SyncedAt": "2025-08-29T02:17:26.8260306+00:00", "FlightNumber": "sample string 4", "AwbCount": 5, "TotalWeight": 6.0, "ExtraWeight": 1.0, "ApprovedWeight": 1.0 } ] }
application/xml, text/xml
Sample:
<ProformaDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Entities"> <AwbUpdates xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cargo.Data.Model"> <d2p1:TotalAwbUpdateModel> <d2p1:ApprovedWeight>1</d2p1:ApprovedWeight> <d2p1:AwbCount>5</d2p1:AwbCount> <d2p1:ExtraWeight>1</d2p1:ExtraWeight> <d2p1:FlightDate>2025-08-29T02:17:26.8260306+00:00</d2p1:FlightDate> <d2p1:FlightNumber>sample string 4</d2p1:FlightNumber> <d2p1:Id>1</d2p1:Id> <d2p1:SyncedAt>2025-08-29T02:17:26.8260306+00:00</d2p1:SyncedAt> <d2p1:TotalWeight>6</d2p1:TotalWeight> </d2p1:TotalAwbUpdateModel> <d2p1:TotalAwbUpdateModel> <d2p1:ApprovedWeight>1</d2p1:ApprovedWeight> <d2p1:AwbCount>5</d2p1:AwbCount> <d2p1:ExtraWeight>1</d2p1:ExtraWeight> <d2p1:FlightDate>2025-08-29T02:17:26.8260306+00:00</d2p1:FlightDate> <d2p1:FlightNumber>sample string 4</d2p1:FlightNumber> <d2p1:Id>1</d2p1:Id> <d2p1:SyncedAt>2025-08-29T02:17:26.8260306+00:00</d2p1:SyncedAt> <d2p1:TotalWeight>6</d2p1:TotalWeight> </d2p1:TotalAwbUpdateModel> </AwbUpdates> <prc xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cargo.Data.Model"> <d2p1:AirlineCode>sample string 2</d2p1:AirlineCode> <d2p1:AirportCode>sample string 1</d2p1:AirportCode> <d2p1:EndDate>2025-08-29T02:17:26.8260306+00:00</d2p1:EndDate> <d2p1:FlightDateType>SyncDate</d2p1:FlightDateType> <d2p1:StartDate>2025-08-29T02:17:26.8260306+00:00</d2p1:StartDate> </prc> </ProformaDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.