POST api/TSWHOLESALE_STOCKS/saveVisit

Request Information

URI Parameters

None.

Body Parameters

ModelVisit
NameDescriptionTypeAdditional information
EXPEDITOR_ID

string

None.

CUSTOMER_ID

string

None.

VISIT_DATE

string

None.

LATITUDE

string

None.

LONGTITUDE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EXPEDITOR_ID": "sample string 1",
  "CUSTOMER_ID": "sample string 2",
  "VISIT_DATE": "sample string 3",
  "LATITUDE": "sample string 4",
  "LONGTITUDE": "sample string 5"
}

application/xml, text/xml

Sample:
<ModelVisit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/engin_api.Models">
  <CUSTOMER_ID>sample string 2</CUSTOMER_ID>
  <EXPEDITOR_ID>sample string 1</EXPEDITOR_ID>
  <LATITUDE>sample string 4</LATITUDE>
  <LONGTITUDE>sample string 5</LONGTITUDE>
  <VISIT_DATE>sample string 3</VISIT_DATE>
</ModelVisit>

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

Response Information

Resource Description

None.