POST Api/Service/CreateVisit

Request Information

URI Parameters

None.

Body Parameters

Visit
NameDescriptionTypeAdditional information
VisitId

integer

None.

VisitKey

globally unique identifier

None.

VisitCode

string

None.

CreationDate

date

None.

VisitMont

integer

None.

WorkWeek

integer

None.

SemanaFull

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

UserId

integer

None.

RetailId

integer

None.

StoreId

integer

None.

IsValid

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "VisitId": 1,
  "VisitKey": "59b94512-2b2e-4bb3-a9d0-f71115b33bfe",
  "VisitCode": "sample string 3",
  "CreationDate": "2021-07-25T22:35:01.1816264-05:00",
  "VisitMont": 1,
  "WorkWeek": 1,
  "SemanaFull": "ww01",
  "Latitude": 5.1,
  "Longitude": 6.1,
  "UserId": 7,
  "RetailId": 8,
  "StoreId": 9,
  "IsValid": true
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

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.