POST api/VisitorInfo/AddVisitorInfo

Request Information

URI Parameters

None.

Body Parameters

VisitorInfo
NameDescriptionTypeAdditional information
Id

integer

None.

Lat

string

None.

Long

string

None.

City

string

None.

Area

string

None.

Address

string

None.

UserId

integer

None.

VisitDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Lat": "sample string 2",
  "Long": "sample string 3",
  "City": "sample string 4",
  "Area": "sample string 5",
  "Address": "sample string 6",
  "UserId": 7,
  "VisitDateTime": "2024-12-01T09:42:02.7389686+05:30"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Lat":"sample string 2","Long":"sample string 3","City":"sample string 4","Area":"sample string 5","Address":"sample string 6","UserId":7,"VisitDateTime":"2024-12-01T09:42:02.7389686+05:30"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.