POST api/LandedCosts/Preview
Request Information
URI Parameters
None.
Body Parameters
LandedCostRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BaseObjType | integer |
None. |
|
| BaseDocEntry | integer |
None. |
|
| BaseDocNum | integer |
None. |
|
| DocumentKey | string |
None. |
|
| Invoices | Collection of LandedCostRequestInvoice |
None. |
|
| PostingDate | string |
None. |
|
| AgentCode | string |
None. |
|
| AgentName | string |
None. |
|
| AgentNum | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BaseObjType": 1,
"BaseDocEntry": 2,
"BaseDocNum": 3,
"DocumentKey": "sample string 4",
"Invoices": [
{
"DocEntry": 1,
"CostTypeCode": "sample string 2",
"Origin": "sample string 3",
"Use": true
},
{
"DocEntry": 1,
"CostTypeCode": "sample string 2",
"Origin": "sample string 3",
"Use": true
}
],
"PostingDate": "sample string 5",
"AgentCode": "sample string 6",
"AgentName": "sample string 7",
"AgentNum": "sample string 8"
}
application/xml, text/xml
Sample:
<LandedCostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS.SAP">
<AgentCode>sample string 6</AgentCode>
<AgentName>sample string 7</AgentName>
<AgentNum>sample string 8</AgentNum>
<BaseDocEntry>2</BaseDocEntry>
<BaseDocNum>3</BaseDocNum>
<BaseObjType>1</BaseObjType>
<DocumentKey>sample string 4</DocumentKey>
<Invoices>
<LandedCostRequestInvoice>
<CostTypeCode>sample string 2</CostTypeCode>
<DocEntry>1</DocEntry>
<Origin>sample string 3</Origin>
<Use>true</Use>
</LandedCostRequestInvoice>
<LandedCostRequestInvoice>
<CostTypeCode>sample string 2</CostTypeCode>
<DocEntry>1</DocEntry>
<Origin>sample string 3</Origin>
<Use>true</Use>
</LandedCostRequestInvoice>
</Invoices>
<PostingDate>sample string 5</PostingDate>
</LandedCostRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |