POST api/Process/ProcessRoyaltyCharge
Request Information
URI Parameters
None.
Body Parameters
PrcModelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PrcModel | PrcModel |
None. |
|
| ManifestUpdateModel | Collection of ManifestWeightUpdateModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"PrcModel": {
"Username": "sample string 1",
"Amount": 2.0,
"AirlineCode": "sample string 3",
"AirportCode": "sample string 4",
"BillPeriod": "sample string 5",
"TotalWeight": "sample string 6"
},
"ManifestUpdateModel": [
{
"Id": 1,
"ExtraWeight": 1.0,
"ApprovedWeight": 1.0
},
{
"Id": 1,
"ExtraWeight": 1.0,
"ApprovedWeight": 1.0
}
]
}
application/xml, text/xml
Sample:
<PrcModelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model">
<ManifestUpdateModel>
<ManifestWeightUpdateModel>
<ApprovedWeight>1</ApprovedWeight>
<ExtraWeight>1</ExtraWeight>
<Id>1</Id>
</ManifestWeightUpdateModel>
<ManifestWeightUpdateModel>
<ApprovedWeight>1</ApprovedWeight>
<ExtraWeight>1</ExtraWeight>
<Id>1</Id>
</ManifestWeightUpdateModel>
</ManifestUpdateModel>
<PrcModel>
<AirlineCode>sample string 3</AirlineCode>
<AirportCode>sample string 4</AirportCode>
<Amount>2</Amount>
<BillPeriod>sample string 5</BillPeriod>
<TotalWeight>sample string 6</TotalWeight>
<Username>sample string 1</Username>
</PrcModel>
</PrcModelRequest>
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.