POST api/Values/MATARIALREQUESTSAVE

Request Information

URI Parameters

None.

Body Parameters

MRQHEADER
NameDescriptionTypeAdditional information
COMPCODE

string

None.

FY

string

None.

SERIES

string

None.

RQDATE

string

None.

PROCESS

integer

None.

REQUESTER

string

None.

REMARK

string

None.

MRQDETAILS

Collection of MRQDETAILS

None.

Request Formats

application/json, text/json

Sample:
{
  "COMPCODE": "sample string 1",
  "FY": "sample string 2",
  "SERIES": "sample string 3",
  "RQDATE": "sample string 4",
  "PROCESS": 5,
  "REQUESTER": "sample string 6",
  "REMARK": "sample string 7",
  "MRQDETAILS": [
    {
      "ITEMCODE": 1,
      "QTY": 2.1,
      "UOM": "sample string 3",
      "MCFROM": "sample string 4",
      "REMARKDETAIL": "sample string 5"
    },
    {
      "ITEMCODE": 1,
      "QTY": 2.1,
      "UOM": "sample string 3",
      "MCFROM": "sample string 4",
      "REMARKDETAIL": "sample string 5"
    }
  ]
}

text/html

Sample:
{"COMPCODE":"sample string 1","FY":"sample string 2","SERIES":"sample string 3","RQDATE":"sample string 4","PROCESS":5,"REQUESTER":"sample string 6","REMARK":"sample string 7","MRQDETAILS":[{"ITEMCODE":1,"QTY":2.1,"UOM":"sample string 3","MCFROM":"sample string 4","REMARKDETAIL":"sample string 5"},{"ITEMCODE":1,"QTY":2.1,"UOM":"sample string 3","MCFROM":"sample string 4","REMARKDETAIL":"sample string 5"}]}

application/xml, text/xml

Sample:
<MRQHEADER xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExcellentErp.Models">
  <COMPCODE>sample string 1</COMPCODE>
  <FY>sample string 2</FY>
  <MRQDETAILS>
    <MRQDETAILS>
      <ITEMCODE>1</ITEMCODE>
      <MCFROM>sample string 4</MCFROM>
      <QTY>2.1</QTY>
      <REMARKDETAIL>sample string 5</REMARKDETAIL>
      <UOM>sample string 3</UOM>
    </MRQDETAILS>
    <MRQDETAILS>
      <ITEMCODE>1</ITEMCODE>
      <MCFROM>sample string 4</MCFROM>
      <QTY>2.1</QTY>
      <REMARKDETAIL>sample string 5</REMARKDETAIL>
      <UOM>sample string 3</UOM>
    </MRQDETAILS>
  </MRQDETAILS>
  <PROCESS>5</PROCESS>
  <REMARK>sample string 7</REMARK>
  <REQUESTER>sample string 6</REQUESTER>
  <RQDATE>sample string 4</RQDATE>
  <SERIES>sample string 3</SERIES>
</MRQHEADER>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />