POST Api/Post_BPTarget

Request Information

URI Parameters

None.

Body Parameters

ESPL_MODEL_BP_TARGET
NameDescriptionTypeAdditional information
Code

string

None.

User

integer

None.

Period

string

None.

BPCode

string

None.

Quarter

string

None.

Detail

Collection of ESPL_MODEL_BP_TARGET_DETAIL

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "User": 2,
  "Period": "sample string 3",
  "BPCode": "sample string 4",
  "Quarter": "sample string 5",
  "Detail": [
    {
      "ItemGroup": "sample string 1",
      "TargetQty": 2.1,
      "TargetRate": 3.1,
      "PotentialAmount": 4.1,
      "TargetValue": 5.1
    },
    {
      "ItemGroup": "sample string 1",
      "TargetQty": 2.1,
      "TargetRate": 3.1,
      "PotentialAmount": 4.1,
      "TargetValue": 5.1
    }
  ]
}

application/xml, text/xml

Sample:
<ESPL_MODEL_BP_TARGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_ERP_API">
  <BPCode>sample string 4</BPCode>
  <Code>sample string 1</Code>
  <Detail>
    <ESPL_MODEL_BP_TARGET_DETAIL>
      <ItemGroup>sample string 1</ItemGroup>
      <PotentialAmount>4.1</PotentialAmount>
      <TargetQty>2.1</TargetQty>
      <TargetRate>3.1</TargetRate>
      <TargetValue>5.1</TargetValue>
    </ESPL_MODEL_BP_TARGET_DETAIL>
    <ESPL_MODEL_BP_TARGET_DETAIL>
      <ItemGroup>sample string 1</ItemGroup>
      <PotentialAmount>4.1</PotentialAmount>
      <TargetQty>2.1</TargetQty>
      <TargetRate>3.1</TargetRate>
      <TargetValue>5.1</TargetValue>
    </ESPL_MODEL_BP_TARGET_DETAIL>
  </Detail>
  <Period>sample string 3</Period>
  <Quarter>sample string 5</Quarter>
  <User>2</User>
</ESPL_MODEL_BP_TARGET>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.