POST api/WarehouseProductSort/LinkProduct

Request Information

URI Parameters

None.

Body Parameters

LinkProductModel
Name Description Type Additional information
MainProductId

integer

None.

LinkedProductId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MainProductId": 1,
  "LinkedProductId": 2
}

text/html

Sample:
{"MainProductId":1,"LinkedProductId":2}

application/xml, text/xml

Sample:
<LinkProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.WarehouseProductSort">
  <LinkedProductId>2</LinkedProductId>
  <MainProductId>1</MainProductId>
</LinkProductModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.