POST api/ProductMaster/Get_NearestStore

Request Information

URI Parameters

None.

Body Parameters

UK_NearsetStore_
NameDescriptionTypeAdditional information
Condition

string

None.

Type

string

None.

src_lat

string

None.

src_lng

string

None.

dst_lat

string

None.

dst_lng

string

None.

param1

string

None.

param2

string

None.

productlist

Collection of productitems

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": "sample string 1",
  "Type": "sample string 2",
  "src_lat": "sample string 3",
  "src_lng": "sample string 4",
  "dst_lat": "sample string 5",
  "dst_lng": "sample string 6",
  "param1": "sample string 7",
  "param2": "sample string 8",
  "productlist": [
    {
      "Produc_Id": "sample string 1",
      "Quantity": "sample string 2"
    },
    {
      "Produc_Id": "sample string 1",
      "Quantity": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<UK_NearsetStore_ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.ProductMaster">
  <Condition>sample string 1</Condition>
  <Type>sample string 2</Type>
  <dst_lat>sample string 5</dst_lat>
  <dst_lng>sample string 6</dst_lng>
  <param1>sample string 7</param1>
  <param2>sample string 8</param2>
  <productlist>
    <productitems>
      <Produc_Id>sample string 1</Produc_Id>
      <Quantity>sample string 2</Quantity>
    </productitems>
    <productitems>
      <Produc_Id>sample string 1</Produc_Id>
      <Quantity>sample string 2</Quantity>
    </productitems>
  </productlist>
  <src_lat>sample string 3</src_lat>
  <src_lng>sample string 4</src_lng>
</UK_NearsetStore_>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.