POST OutwardCtnlr/SaveOutwardOkQty

Request Information

URI Parameters

None.

Body Parameters

OutwardCheckRequestVM
NameDescriptionTypeAdditional information
OutwardID

integer

None.

CheckerID

integer

None.

Items

Collection of OutwardCheckItemVM

None.

Request Formats

application/json, text/json

Sample:
{
  "OutwardID": 1,
  "CheckerID": 2,
  "Items": [
    {
      "ItemID": 1,
      "OkQty": 2.0,
      "ScrapQty": 3.0
    },
    {
      "ItemID": 1,
      "OkQty": 2.0,
      "ScrapQty": 3.0
    }
  ]
}

application/xml, text/xml

Sample:
<OutwardCheckRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory.Models">
  <CheckerID>2</CheckerID>
  <Items>
    <OutwardCheckItemVM>
      <ItemID>1</ItemID>
      <OkQty>2</OkQty>
      <ScrapQty>3</ScrapQty>
    </OutwardCheckItemVM>
    <OutwardCheckItemVM>
      <ItemID>1</ItemID>
      <OkQty>2</OkQty>
      <ScrapQty>3</ScrapQty>
    </OutwardCheckItemVM>
  </Items>
  <OutwardID>1</OutwardID>
</OutwardCheckRequestVM>

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 'OutwardCheckRequestVM'.

Response Information

Resource Description

JsonResponse
NameDescriptionTypeAdditional information
Status_Code

string

None.

Status

string

None.

Message

string

None.

Data

Object

None.

Error_Field

string

None.

Api_Type

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status_Code": "sample string 1",
  "Status": "sample string 2",
  "Message": "sample string 3",
  "Data": {},
  "Error_Field": "sample string 5",
  "Api_Type": "sample string 6"
}

application/xml, text/xml

Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory.Models">
  <Api_Type>sample string 6</Api_Type>
  <Data />
  <Error_Field>sample string 5</Error_Field>
  <Message>sample string 3</Message>
  <Status>sample string 2</Status>
  <Status_Code>sample string 1</Status_Code>
</JsonResponse>