GET agent/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

AgentDTO
NameDescriptionTypeAdditional information
id

string

None.

firstname

string

None.

middlename

string

None.

lastname

string

None.

fullname

string

None.

nickname

string

None.

birthdate

date

None.

strength

integer

None.

agentpackageid

integer

None.

status

integer

None.

datehired

date

None.

dateresigned

date

None.

remarks

string

None.

branchid

string

None.

createdby

string

None.

updatedby

string

None.

createddate

date

None.

updateddate

date

None.

tobenotified

date

None.

isnotified

boolean

None.

hasmedical

boolean

None.

medicalpath

string

None.

agentcode

string

None.

imagepath

string

None.

isforlogin

boolean

None.

lastloaded

date

None.

loadedamount

decimal number

None.

companyid

integer

None.

workdate

date

None.

timein

date

None.

supervisor

string

None.

logingeolat

decimal number

None.

logingeolng

decimal number

None.

loginworklocdate

date

None.

rowversion

integer

None.

agentdayoff

string

None.

loclatlng

string

None.

lastupdatedaddress

string

None.

lastupdated

date

None.

contacts

Collection of agentcontactdto

None.

addresses

Collection of agentaddressdto

None.

documents

Collection of agentdocsdto

None.

qbvalues

Collection of agentqbvaluedto

None.

agentservice

Collection of agentservicedto

None.

trackactivity

integer

None.

qbcashbondid

string

None.

qbcashbondnumber

string

None.

balance

decimal number

None.

balanceasofdate

date

None.

distancekm

decimal number

None.

agenttype

integer

None.

username

string

None.

password

string

None.

access

integer

None.

ipaddress

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "firstname": "sample string 2",
  "middlename": "sample string 3",
  "lastname": "sample string 4",
  "fullname": "sample string 5",
  "nickname": "sample string 6",
  "birthdate": "2025-12-09T01:28:17.6765564+08:00",
  "strength": 8,
  "agentpackageid": 9,
  "status": 10,
  "datehired": "2025-12-09T01:28:17.6765564+08:00",
  "dateresigned": "2025-12-09T01:28:17.6765564+08:00",
  "remarks": "sample string 12",
  "branchid": "sample string 13",
  "createdby": "sample string 14",
  "updatedby": "sample string 15",
  "createddate": "2025-12-09T01:28:17.6765564+08:00",
  "updateddate": "2025-12-09T01:28:17.6765564+08:00",
  "tobenotified": "2025-12-09T01:28:17.6765564+08:00",
  "isnotified": true,
  "hasmedical": true,
  "medicalpath": "sample string 19",
  "agentcode": "sample string 20",
  "imagepath": "sample string 21",
  "isforlogin": true,
  "lastloaded": "2025-12-09T01:28:17.6765564+08:00",
  "loadedamount": 24.0,
  "companyid": 25,
  "workdate": "2025-12-09T01:28:17.6765564+08:00",
  "timein": "2025-12-09T01:28:17.6765564+08:00",
  "supervisor": "sample string 28",
  "logingeolat": 29.0,
  "logingeolng": 30.0,
  "loginworklocdate": "2025-12-09T01:28:17.6765564+08:00",
  "rowversion": 32,
  "agentdayoff": "sample string 33",
  "loclatlng": "sample string 34",
  "lastupdatedaddress": "sample string 35",
  "lastupdated": "2025-12-09T01:28:17.6765564+08:00",
  "contacts": [
    {
      "id": "sample string 1",
      "agentid": "sample string 2",
      "type": "sample string 3",
      "number": "sample string 4",
      "isprimary": 5,
      "accesstoken": "sample string 6"
    },
    {
      "id": "sample string 1",
      "agentid": "sample string 2",
      "type": "sample string 3",
      "number": "sample string 4",
      "isprimary": 5,
      "accesstoken": "sample string 6"
    }
  ],
  "addresses": [
    {
      "id": "sample string 1",
      "agentid": "sample string 2",
      "geocode": "sample string 3",
      "bldgno": "sample string 4",
      "bldgname": "sample string 5",
      "address1": "sample string 6",
      "address2": "sample string 7",
      "country": "sample string 8",
      "region": "sample string 9",
      "province": "sample string 10",
      "city": "sample string 11"
    },
    {
      "id": "sample string 1",
      "agentid": "sample string 2",
      "geocode": "sample string 3",
      "bldgno": "sample string 4",
      "bldgname": "sample string 5",
      "address1": "sample string 6",
      "address2": "sample string 7",
      "country": "sample string 8",
      "region": "sample string 9",
      "province": "sample string 10",
      "city": "sample string 11"
    }
  ],
  "documents": [
    {
      "id": "sample string 1",
      "agentid": 2,
      "title": "sample string 3",
      "path": "sample string 4",
      "dateuploaded": "2025-12-09T01:28:17.6765564+08:00"
    },
    {
      "id": "sample string 1",
      "agentid": 2,
      "title": "sample string 3",
      "path": "sample string 4",
      "dateuploaded": "2025-12-09T01:28:17.6765564+08:00"
    }
  ],
  "qbvalues": [
    {
      "id": "sample string 1",
      "agentid": "sample string 2",
      "type": 3,
      "qbname": "sample string 4",
      "qbvalue": "sample string 5"
    },
    {
      "id": "sample string 1",
      "agentid": "sample string 2",
      "type": 3,
      "qbname": "sample string 4",
      "qbvalue": "sample string 5"
    }
  ],
  "agentservice": [
    {
      "id": "sample string 1",
      "agentid": "sample string 2",
      "serviceid": 3,
      "rowversion": 4
    },
    {
      "id": "sample string 1",
      "agentid": "sample string 2",
      "serviceid": 3,
      "rowversion": 4
    }
  ],
  "trackactivity": 37,
  "qbcashbondid": "sample string 38",
  "qbcashbondnumber": "sample string 39",
  "balance": 40.0,
  "balanceasofdate": "2025-12-09T01:28:17.6765564+08:00",
  "distancekm": 42.0,
  "agenttype": 43,
  "username": "sample string 44",
  "password": "sample string 45",
  "access": 46,
  "ipaddress": "sample string 47"
}

application/xml, text/xml

Sample:
<AgentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/palmeo.api.Models.DTO">
  <access>46</access>
  <addresses>
    <agentaddressdto>
      <address1>sample string 6</address1>
      <address2>sample string 7</address2>
      <agentid>sample string 2</agentid>
      <bldgname>sample string 5</bldgname>
      <bldgno>sample string 4</bldgno>
      <city>sample string 11</city>
      <country>sample string 8</country>
      <geocode>sample string 3</geocode>
      <id>sample string 1</id>
      <province>sample string 10</province>
      <region>sample string 9</region>
    </agentaddressdto>
    <agentaddressdto>
      <address1>sample string 6</address1>
      <address2>sample string 7</address2>
      <agentid>sample string 2</agentid>
      <bldgname>sample string 5</bldgname>
      <bldgno>sample string 4</bldgno>
      <city>sample string 11</city>
      <country>sample string 8</country>
      <geocode>sample string 3</geocode>
      <id>sample string 1</id>
      <province>sample string 10</province>
      <region>sample string 9</region>
    </agentaddressdto>
  </addresses>
  <agentcode>sample string 20</agentcode>
  <agentdayoff>sample string 33</agentdayoff>
  <agentpackageid>9</agentpackageid>
  <agentservice>
    <agentservicedto>
      <agentid>sample string 2</agentid>
      <id>sample string 1</id>
      <rowversion>4</rowversion>
      <serviceid>3</serviceid>
    </agentservicedto>
    <agentservicedto>
      <agentid>sample string 2</agentid>
      <id>sample string 1</id>
      <rowversion>4</rowversion>
      <serviceid>3</serviceid>
    </agentservicedto>
  </agentservice>
  <agenttype>43</agenttype>
  <balance>40</balance>
  <balanceasofdate>2025-12-09T01:28:17.6765564+08:00</balanceasofdate>
  <birthdate>2025-12-09T01:28:17.6765564+08:00</birthdate>
  <branchid>sample string 13</branchid>
  <companyid>25</companyid>
  <contacts>
    <agentcontactdto>
      <accesstoken>sample string 6</accesstoken>
      <agentid>sample string 2</agentid>
      <id>sample string 1</id>
      <isprimary>5</isprimary>
      <number>sample string 4</number>
      <type>sample string 3</type>
    </agentcontactdto>
    <agentcontactdto>
      <accesstoken>sample string 6</accesstoken>
      <agentid>sample string 2</agentid>
      <id>sample string 1</id>
      <isprimary>5</isprimary>
      <number>sample string 4</number>
      <type>sample string 3</type>
    </agentcontactdto>
  </contacts>
  <createdby>sample string 14</createdby>
  <createddate>2025-12-09T01:28:17.6765564+08:00</createddate>
  <datehired>2025-12-09T01:28:17.6765564+08:00</datehired>
  <dateresigned>2025-12-09T01:28:17.6765564+08:00</dateresigned>
  <distancekm>42</distancekm>
  <documents>
    <agentdocsdto>
      <agentid>2</agentid>
      <dateuploaded>2025-12-09T01:28:17.6765564+08:00</dateuploaded>
      <id>sample string 1</id>
      <path>sample string 4</path>
      <title>sample string 3</title>
    </agentdocsdto>
    <agentdocsdto>
      <agentid>2</agentid>
      <dateuploaded>2025-12-09T01:28:17.6765564+08:00</dateuploaded>
      <id>sample string 1</id>
      <path>sample string 4</path>
      <title>sample string 3</title>
    </agentdocsdto>
  </documents>
  <firstname>sample string 2</firstname>
  <fullname>sample string 5</fullname>
  <hasmedical>true</hasmedical>
  <id>sample string 1</id>
  <imagepath>sample string 21</imagepath>
  <ipaddress>sample string 47</ipaddress>
  <isforlogin>true</isforlogin>
  <isnotified>true</isnotified>
  <lastloaded>2025-12-09T01:28:17.6765564+08:00</lastloaded>
  <lastname>sample string 4</lastname>
  <lastupdated>2025-12-09T01:28:17.6765564+08:00</lastupdated>
  <lastupdatedaddress>sample string 35</lastupdatedaddress>
  <loadedamount>24</loadedamount>
  <loclatlng>sample string 34</loclatlng>
  <logingeolat>29</logingeolat>
  <logingeolng>30</logingeolng>
  <loginworklocdate>2025-12-09T01:28:17.6765564+08:00</loginworklocdate>
  <medicalpath>sample string 19</medicalpath>
  <middlename>sample string 3</middlename>
  <nickname>sample string 6</nickname>
  <password>sample string 45</password>
  <qbcashbondid>sample string 38</qbcashbondid>
  <qbcashbondnumber>sample string 39</qbcashbondnumber>
  <qbvalues>
    <agentqbvaluedto>
      <agentid>sample string 2</agentid>
      <id>sample string 1</id>
      <qbname>sample string 4</qbname>
      <qbvalue>sample string 5</qbvalue>
      <type>3</type>
    </agentqbvaluedto>
    <agentqbvaluedto>
      <agentid>sample string 2</agentid>
      <id>sample string 1</id>
      <qbname>sample string 4</qbname>
      <qbvalue>sample string 5</qbvalue>
      <type>3</type>
    </agentqbvaluedto>
  </qbvalues>
  <remarks>sample string 12</remarks>
  <rowversion>32</rowversion>
  <status>10</status>
  <strength>8</strength>
  <supervisor>sample string 28</supervisor>
  <timein>2025-12-09T01:28:17.6765564+08:00</timein>
  <tobenotified>2025-12-09T01:28:17.6765564+08:00</tobenotified>
  <trackactivity>37</trackactivity>
  <updatedby>sample string 15</updatedby>
  <updateddate>2025-12-09T01:28:17.6765564+08:00</updateddate>
  <username>sample string 44</username>
  <workdate>2025-12-09T01:28:17.6765564+08:00</workdate>
</AgentDTO>