POST services/api/v1/Update_ItemControl

Request Information

URI Parameters

None.

Body Parameters

ItemControlUpdate_Master
NameDescriptionTypeAdditional information
ItemTypeId

integer

None.

ItemControl

Collection of ItemControl_Master

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemTypeId": 1,
  "ItemControl": [
    {
      "ItemControlID": 1,
      "ItemId": 2,
      "Barcode": "sample string 3",
      "LocationId": 4,
      "Location": "sample string 5",
      "AllowPurchase": true,
      "AllowSales": true,
      "AllowTransIn": true,
      "AllowTransOut": true
    },
    {
      "ItemControlID": 1,
      "ItemId": 2,
      "Barcode": "sample string 3",
      "LocationId": 4,
      "Location": "sample string 5",
      "AllowPurchase": true,
      "AllowSales": true,
      "AllowTransIn": true,
      "AllowTransOut": true
    }
  ],
  "UserId": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ItemControl
NameDescriptionTypeAdditional information
ID

integer

None.

barcode

string

None.

locationid

integer

None.

allowpurchase

boolean

None.

allowsales

boolean

None.

allowtransin

boolean

None.

allowtransout

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "barcode": "sample string 2",
    "locationid": 3,
    "allowpurchase": true,
    "allowsales": true,
    "allowtransin": true,
    "allowtransout": true
  },
  {
    "ID": 1,
    "barcode": "sample string 2",
    "locationid": 3,
    "allowpurchase": true,
    "allowsales": true,
    "allowtransin": true,
    "allowtransout": true
  }
]