POST Api/Post_SalesPersonTarget
Request Information
URI Parameters
None.
Body Parameters
ESPL_MODEL_SALES_PERSON_TARGET| Name | Description | Type | Additional information |
|---|---|---|---|
| Year | string |
None. |
|
| SalesPerson | string |
None. |
|
| Branch | string |
None. |
|
| TotalValue | decimal number |
None. |
|
| TotalQty | decimal number |
None. |
|
| Lines | Collection of ESPL_MODEL_SALES_PERSON_TARGET_LINE |
None. |
Request Formats
application/json, text/json
Sample:
{
"Year": "sample string 1",
"SalesPerson": "sample string 2",
"Branch": "sample string 3",
"TotalValue": 4.1,
"TotalQty": 5.1,
"Lines": [
{
"Month": "sample string 1",
"TargetValue": 2.1,
"TargetQty": 3.1
},
{
"Month": "sample string 1",
"TargetValue": 2.1,
"TargetQty": 3.1
}
]
}
application/xml, text/xml
Sample:
<ESPL_MODEL_SALES_PERSON_TARGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_ERP_API">
<Branch>sample string 3</Branch>
<Lines>
<ESPL_MODEL_SALES_PERSON_TARGET_LINE>
<Month>sample string 1</Month>
<TargetQty>3.1</TargetQty>
<TargetValue>2.1</TargetValue>
</ESPL_MODEL_SALES_PERSON_TARGET_LINE>
<ESPL_MODEL_SALES_PERSON_TARGET_LINE>
<Month>sample string 1</Month>
<TargetQty>3.1</TargetQty>
<TargetValue>2.1</TargetValue>
</ESPL_MODEL_SALES_PERSON_TARGET_LINE>
</Lines>
<SalesPerson>sample string 2</SalesPerson>
<TotalQty>5.1</TotalQty>
<TotalValue>4.1</TotalValue>
<Year>sample string 1</Year>
</ESPL_MODEL_SALES_PERSON_TARGET>
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. |