POST api/product/detail/by/id

Request Information

URI Parameters

None.

Body Parameters

ProductDetail
NameDescriptionTypeAdditional information
ProductId

integer

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "UserId": "sample string 1"
}

text/html

Sample:
{"ProductId":1,"UserId":"sample string 1"}

application/xml, text/xml

Sample:
<ProductDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SingersBabel.BAL.ViewModel">
  <ProductId>1</ProductId>
  <UserId>sample string 1</UserId>
</ProductDetail>

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.