POST api/Locs/sync

Request Information

URI Parameters

None.

Body Parameters

Collection of tblLoc
NameDescriptionTypeAdditional information
Id

integer

None.

SupId

integer

None.

OrdId

integer

None.

EmpId

integer

None.

LoDate

date

None.

Sts

integer

None.

AreaId

integer

None.

Lat

decimal number

None.

Lng

decimal number

None.

aNote

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SupId": 2,
    "OrdId": 3,
    "EmpId": 4,
    "LoDate": "2026-03-14T09:43:16.6916975-05:00",
    "Sts": 6,
    "AreaId": 7,
    "Lat": 8.1,
    "Lng": 9.1,
    "aNote": "sample string 10"
  },
  {
    "Id": 1,
    "SupId": 2,
    "OrdId": 3,
    "EmpId": 4,
    "LoDate": "2026-03-14T09:43:16.6916975-05:00",
    "Sts": 6,
    "AreaId": 7,
    "Lat": 8.1,
    "Lng": 9.1,
    "aNote": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOftblLoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classes">
  <tblLoc>
    <AreaId>7</AreaId>
    <EmpId>4</EmpId>
    <Id>1</Id>
    <Lat>8.1</Lat>
    <Lng>9.1</Lng>
    <LoDate>2026-03-14T09:43:16.6916975-05:00</LoDate>
    <OrdId>3</OrdId>
    <Sts>6</Sts>
    <SupId>2</SupId>
    <aNote>sample string 10</aNote>
  </tblLoc>
  <tblLoc>
    <AreaId>7</AreaId>
    <EmpId>4</EmpId>
    <Id>1</Id>
    <Lat>8.1</Lat>
    <Lng>9.1</Lng>
    <LoDate>2026-03-14T09:43:16.6916975-05:00</LoDate>
    <OrdId>3</OrdId>
    <Sts>6</Sts>
    <SupId>2</SupId>
    <aNote>sample string 10</aNote>
  </tblLoc>
</ArrayOftblLoc>

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.