GET Register/Location/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}&location={location}&partnerId={partnerId}&isGlobal={isGlobal}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

location

string

Required

partnerId

integer

Default value is -1

isGlobal

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

KendoGridResponseOfLocationRecord
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of LocationRecord

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "data": [
    {
      "partnerId": 1,
      "isDeleted": true,
      "dtfFromInSec": 3,
      "dtfToInSec": 4,
      "extraTimeCostInSec": 5,
      "id": 6,
      "location": "sample string 7",
      "name": "sample string 8",
      "address": "sample string 9",
      "locality": "sample string 10",
      "postalCode": "sample string 11",
      "postalTown": "sample string 12",
      "country": "sample string 13",
      "longitude": 14.1,
      "latitude": 15.1,
      "isVisited": true,
      "isGlobal": true,
      "code": "sample string 18",
      "coaccId": 19
    },
    {
      "partnerId": 1,
      "isDeleted": true,
      "dtfFromInSec": 3,
      "dtfToInSec": 4,
      "extraTimeCostInSec": 5,
      "id": 6,
      "location": "sample string 7",
      "name": "sample string 8",
      "address": "sample string 9",
      "locality": "sample string 10",
      "postalCode": "sample string 11",
      "postalTown": "sample string 12",
      "country": "sample string 13",
      "longitude": 14.1,
      "latitude": 15.1,
      "isVisited": true,
      "isGlobal": true,
      "code": "sample string 18",
      "coaccId": 19
    }
  ],
  "errorCode": 2,
  "error": "sample string 3",
  "top": 4
}

text/javascript

Sample:
{"total":1,"data":[{"partnerId":1,"isDeleted":true,"dtfFromInSec":3,"dtfToInSec":4,"extraTimeCostInSec":5,"id":6,"location":"sample string 7","name":"sample string 8","address":"sample string 9","locality":"sample string 10","postalCode":"sample string 11","postalTown":"sample string 12","country":"sample string 13","longitude":14.1,"latitude":15.1,"isVisited":true,"isGlobal":true,"code":"sample string 18","coaccId":19},{"partnerId":1,"isDeleted":true,"dtfFromInSec":3,"dtfToInSec":4,"extraTimeCostInSec":5,"id":6,"location":"sample string 7","name":"sample string 8","address":"sample string 9","locality":"sample string 10","postalCode":"sample string 11","postalTown":"sample string 12","country":"sample string 13","longitude":14.1,"latitude":15.1,"isVisited":true,"isGlobal":true,"code":"sample string 18","coaccId":19}],"errorCode":2,"error":"sample string 3","top":4}

application/xml, text/xml

Sample:
<KendoGridResponseOfLocationRecordfOFveoaV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T8UtilityLib">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model.Location">
    <d2p1:LocationRecord>
      <d2p1:address>sample string 9</d2p1:address>
      <d2p1:coaccId>19</d2p1:coaccId>
      <d2p1:code>sample string 18</d2p1:code>
      <d2p1:country>sample string 13</d2p1:country>
      <d2p1:id>6</d2p1:id>
      <d2p1:isGlobal>true</d2p1:isGlobal>
      <d2p1:isVisited>true</d2p1:isVisited>
      <d2p1:latitude>15.1</d2p1:latitude>
      <d2p1:locality>sample string 10</d2p1:locality>
      <d2p1:location>sample string 7</d2p1:location>
      <d2p1:longitude>14.1</d2p1:longitude>
      <d2p1:name>sample string 8</d2p1:name>
      <d2p1:postalCode>sample string 11</d2p1:postalCode>
      <d2p1:postalTown>sample string 12</d2p1:postalTown>
      <d2p1:dtfFromInSec>3</d2p1:dtfFromInSec>
      <d2p1:dtfToInSec>4</d2p1:dtfToInSec>
      <d2p1:extraTimeCostInSec>5</d2p1:extraTimeCostInSec>
      <d2p1:isDeleted>true</d2p1:isDeleted>
      <d2p1:partnerId>1</d2p1:partnerId>
    </d2p1:LocationRecord>
    <d2p1:LocationRecord>
      <d2p1:address>sample string 9</d2p1:address>
      <d2p1:coaccId>19</d2p1:coaccId>
      <d2p1:code>sample string 18</d2p1:code>
      <d2p1:country>sample string 13</d2p1:country>
      <d2p1:id>6</d2p1:id>
      <d2p1:isGlobal>true</d2p1:isGlobal>
      <d2p1:isVisited>true</d2p1:isVisited>
      <d2p1:latitude>15.1</d2p1:latitude>
      <d2p1:locality>sample string 10</d2p1:locality>
      <d2p1:location>sample string 7</d2p1:location>
      <d2p1:longitude>14.1</d2p1:longitude>
      <d2p1:name>sample string 8</d2p1:name>
      <d2p1:postalCode>sample string 11</d2p1:postalCode>
      <d2p1:postalTown>sample string 12</d2p1:postalTown>
      <d2p1:dtfFromInSec>3</d2p1:dtfFromInSec>
      <d2p1:dtfToInSec>4</d2p1:dtfToInSec>
      <d2p1:extraTimeCostInSec>5</d2p1:extraTimeCostInSec>
      <d2p1:isDeleted>true</d2p1:isDeleted>
      <d2p1:partnerId>1</d2p1:partnerId>
    </d2p1:LocationRecord>
  </data>
  <error>sample string 3</error>
  <errorCode>2</errorCode>
  <top>4</top>
  <total>1</total>
</KendoGridResponseOfLocationRecordfOFveoaV>

application/x-protobuf

Sample:

An exception has occurred while using the formatter 'ProtoBufFormatter' to generate sample for media type 'application/x-protobuf'. Exception message: Type is not expected, and no contract can be inferred: T8UtilityLib.KendoGridResponse`1[[T8LSPModel.Model.Location.LocationRecord, T8LSPModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]