GET api/V3/Visit/LatestVisit

Get Next productive visit.

Request Information

URI Parameters

None.

Body Parameters

Use this to get next visit.

LastVisitDetails
NameDescriptionTypeAdditional information
RetailerErpId

ERP code for the retailer.

string

Required

Month

Month number.

integer

Required

LastVisitId

Last visit Id.

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "RetailerErpId": "sample string 1",
  "Month": 2,
  "LastVisitId": 3
}

application/xml, text/xml

Sample:
<LastVisitDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models.V3">
  <LastVisitId>3</LastVisitId>
  <Month>2</Month>
  <RetailerErpId>sample string 1</RetailerErpId>
</LastVisitDetails>

Response Information

Resource Description

Next one order number is returned

LatestVisit
NameDescriptionTypeAdditional information
VisitId

Latest Visit Id.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "VisitId": 1
}

application/xml, text/xml

Sample:
<LatestVisit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models.V3">
  <VisitId>1</VisitId>
</LatestVisit>