PUT api/TSWHOLESALE_STOCKS/PutTSWHOLESALE_STOCKS/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

TSWHOLESALE_STOCKS
NameDescriptionTypeAdditional information
STOCK_ID

integer

None.

STOCK_NAME

string

None.

STOCK_TYPE

integer

None.

EXPEDITOR_ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "STOCK_ID": 1,
  "STOCK_NAME": "sample string 2",
  "STOCK_TYPE": 1,
  "EXPEDITOR_ID": 1
}

application/xml, text/xml

Sample:
<TSWHOLESALE_STOCKS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/engin_api.Models">
  <EXPEDITOR_ID>1</EXPEDITOR_ID>
  <STOCK_ID>1</STOCK_ID>
  <STOCK_NAME>sample string 2</STOCK_NAME>
  <STOCK_TYPE>1</STOCK_TYPE>
</TSWHOLESALE_STOCKS>

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

Response Information

Resource Description

None.