POST api/MC/postGroupPlanMaterial

Request Information

URI Parameters

None.

Body Parameters

m_CreateGroup
NameDescriptionTypeAdditional information
type

string

None.

details

Collection of m_CreateGroupMaterial

None.

Request Formats

application/json, text/json

Sample:
{
  "type": "sample string 1",
  "details": [
    {
      "referenceID": 1,
      "referenceNo": "sample string 2",
      "amount": 1
    },
    {
      "referenceID": 1,
      "referenceNo": "sample string 2",
      "amount": 1
    }
  ]
}

application/xml, text/xml

Sample:
<m_CreateGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.MC">
  <details>
    <m_CreateGroupMaterial>
      <amount>1</amount>
      <referenceID>1</referenceID>
      <referenceNo>sample string 2</referenceNo>
    </m_CreateGroupMaterial>
    <m_CreateGroupMaterial>
      <amount>1</amount>
      <referenceID>1</referenceID>
      <referenceNo>sample string 2</referenceNo>
    </m_CreateGroupMaterial>
  </details>
  <type>sample string 1</type>
</m_CreateGroup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'm_CreateGroup'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.