POST api/UpdateGRNScanQuatity

Request Information

URI Parameters

None.

Body Parameters

UpdateGRNModel
NameDescriptionTypeAdditional information
GRNdocentry

integer

None.

LineUpdates

Collection of GRNLineUpdate

None.

Request Formats

application/json, text/json

Sample:
{
  "GRNdocentry": 1,
  "LineUpdates": [
    {
      "ItemCode": "sample string 1",
      "ScanQuantity": 2.1
    },
    {
      "ItemCode": "sample string 1",
      "ScanQuantity": 2.1
    }
  ]
}

application/xml, text/xml

Sample:
<UpdateGRNController.UpdateGRNModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTS_API.Controllers">
  <GRNdocentry>1</GRNdocentry>
  <LineUpdates>
    <UpdateGRNController.GRNLineUpdate>
      <ItemCode>sample string 1</ItemCode>
      <ScanQuantity>2.1</ScanQuantity>
    </UpdateGRNController.GRNLineUpdate>
    <UpdateGRNController.GRNLineUpdate>
      <ItemCode>sample string 1</ItemCode>
      <ScanQuantity>2.1</ScanQuantity>
    </UpdateGRNController.GRNLineUpdate>
  </LineUpdates>
</UpdateGRNController.UpdateGRNModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.