POST product/ProductByMarketId

Request Information

URI Parameters

None.

Body Parameters

LatLong
NameDescriptionTypeAdditional information
CategoryId

globally unique identifier

None.

lat

decimal number

None.

lon

decimal number

None.

MainCategoryId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": "b0a07445-7480-4d43-8d97-0c956e208f79",
  "lat": 2.1,
  "lon": 3.1,
  "MainCategoryId": "95489331-90c1-4ec8-a5e1-1b4903888931"
}

application/xml, text/xml

Sample:
<ProductModel.LatLong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <CategoryId>b0a07445-7480-4d43-8d97-0c956e208f79</CategoryId>
  <MainCategoryId>95489331-90c1-4ec8-a5e1-1b4903888931</MainCategoryId>
  <lat>2.1</lat>
  <lon>3.1</lon>
</ProductModel.LatLong>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.