GET Register/Trak8/Worker/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

Body Parameters

None.

Response Information

Resource Description

KendoGridResponseOfTrak8_WorkerRecord
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of Trak8_WorkerRecord

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "data": [
    {
      "workerId": 1,
      "name": "sample string 2",
      "surname": "sample string 3",
      "address": "sample string 4",
      "phoneNo": "sample string 5"
    },
    {
      "workerId": 1,
      "name": "sample string 2",
      "surname": "sample string 3",
      "address": "sample string 4",
      "phoneNo": "sample string 5"
    }
  ],
  "errorCode": 2,
  "error": "sample string 3",
  "top": 4
}

text/javascript

Sample:
{"total":1,"data":[{"workerId":1,"name":"sample string 2","surname":"sample string 3","address":"sample string 4","phoneNo":"sample string 5"},{"workerId":1,"name":"sample string 2","surname":"sample string 3","address":"sample string 4","phoneNo":"sample string 5"}],"errorCode":2,"error":"sample string 3","top":4}

application/xml, text/xml

Sample:
<KendoGridResponseOfTrak8_WorkerRecordeZ0Y7IyA 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/T8LSP_Register.Model">
    <d2p1:Trak8_WorkerRecord>
      <d2p1:Address>sample string 4</d2p1:Address>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PhoneNo>sample string 5</d2p1:PhoneNo>
      <d2p1:Surname>sample string 3</d2p1:Surname>
      <d2p1:WorkerId>1</d2p1:WorkerId>
    </d2p1:Trak8_WorkerRecord>
    <d2p1:Trak8_WorkerRecord>
      <d2p1:Address>sample string 4</d2p1:Address>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PhoneNo>sample string 5</d2p1:PhoneNo>
      <d2p1:Surname>sample string 3</d2p1:Surname>
      <d2p1:WorkerId>1</d2p1:WorkerId>
    </d2p1:Trak8_WorkerRecord>
  </data>
  <error>sample string 3</error>
  <errorCode>2</errorCode>
  <top>4</top>
  <total>1</total>
</KendoGridResponseOfTrak8_WorkerRecordeZ0Y7IyA>

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[[T8LSP_Register.Model.Trak8_WorkerRecord, T8LSP_Register, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]