POST api/ldb/GetActivity

Request Information

URI Parameters

None.

Body Parameters

PastActivityRequestEntity
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

Empid

integer

None.

OfficeId

integer

None.

ProcId

integer

None.

FromDate

string

None.

ToDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiUserName": "sample string 1",
  "Token": "sample string 2",
  "Empid": 3,
  "OfficeId": 4,
  "ProcId": 5,
  "FromDate": "sample string 6",
  "ToDate": "sample string 7"
}

application/xml, text/xml

Sample:
<PastActivityRequestEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models">
  <ApiUserName>sample string 1</ApiUserName>
  <Empid>3</Empid>
  <FromDate>sample string 6</FromDate>
  <OfficeId>4</OfficeId>
  <ProcId>5</ProcId>
  <ToDate>sample string 7</ToDate>
  <Token>sample string 2</Token>
</PastActivityRequestEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PastActivityResponseEntity
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

Data

Collection of PastActivityResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2",
  "Data": [
    {
      "ApiUserName": "sample string 1",
      "Token": "sample string 2",
      "ActivityId": 3,
      "EmpName": "sample string 4",
      "EmpCode": "sample string 5",
      "Designation": "sample string 6",
      "Office": "sample string 7",
      "ActivityTime": "sample string 8",
      "ActPath": "sample string 9",
      "Actlongitude": "sample string 10",
      "ActLatitude": "sample string 11",
      "ActLocationText": "sample string 12",
      "ActSummary": "sample string 13",
      "ActDistance": 14.0
    },
    {
      "ApiUserName": "sample string 1",
      "Token": "sample string 2",
      "ActivityId": 3,
      "EmpName": "sample string 4",
      "EmpCode": "sample string 5",
      "Designation": "sample string 6",
      "Office": "sample string 7",
      "ActivityTime": "sample string 8",
      "ActPath": "sample string 9",
      "Actlongitude": "sample string 10",
      "ActLatitude": "sample string 11",
      "ActLocationText": "sample string 12",
      "ActSummary": "sample string 13",
      "ActDistance": 14.0
    }
  ]
}

application/xml, text/xml

Sample:
<PastActivityResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models">
  <Data>
    <PastActivityResponse>
      <ActDistance>14</ActDistance>
      <ActLatitude>sample string 11</ActLatitude>
      <ActLocationText>sample string 12</ActLocationText>
      <ActPath>sample string 9</ActPath>
      <ActSummary>sample string 13</ActSummary>
      <ActivityId>3</ActivityId>
      <ActivityTime>sample string 8</ActivityTime>
      <Actlongitude>sample string 10</Actlongitude>
      <ApiUserName>sample string 1</ApiUserName>
      <Designation>sample string 6</Designation>
      <EmpCode>sample string 5</EmpCode>
      <EmpName>sample string 4</EmpName>
      <Office>sample string 7</Office>
      <Token>sample string 2</Token>
    </PastActivityResponse>
    <PastActivityResponse>
      <ActDistance>14</ActDistance>
      <ActLatitude>sample string 11</ActLatitude>
      <ActLocationText>sample string 12</ActLocationText>
      <ActPath>sample string 9</ActPath>
      <ActSummary>sample string 13</ActSummary>
      <ActivityId>3</ActivityId>
      <ActivityTime>sample string 8</ActivityTime>
      <Actlongitude>sample string 10</Actlongitude>
      <ApiUserName>sample string 1</ApiUserName>
      <Designation>sample string 6</Designation>
      <EmpCode>sample string 5</EmpCode>
      <EmpName>sample string 4</EmpName>
      <Office>sample string 7</Office>
      <Token>sample string 2</Token>
    </PastActivityResponse>
  </Data>
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</PastActivityResponseEntity>