POST product/LocalMarketProduct
Request Information
URI Parameters
None.
Body Parameters
LatLongName | Description | Type | Additional 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": "c9fe278b-717b-406a-868b-fb786a0f1dcc", "lat": 2.1, "lon": 3.1, "MainCategoryId": "c5ab56d0-7e3b-4534-965d-cd0a7ecff14e" }
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>c9fe278b-717b-406a-868b-fb786a0f1dcc</CategoryId> <MainCategoryId>c5ab56d0-7e3b-4534-965d-cd0a7ecff14e</MainCategoryId> <lat>2.1</lat> <lon>3.1</lon> </ProductModel.LatLong>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.