GET client/{clientId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

string

Required

Body Parameters

None.

Response Information

Resource Description

clientdto
NameDescriptionTypeAdditional information
_id

string

None.

firstname

string

None.

middlename

string

None.

lastname

string

None.

fullname

string

None.

gender

string

None.

strength

integer

None.

createdby

string

None.

createddate

date

None.

updatedby

string

None.

updateddate

date

None.

email

string

None.

remarks

string

None.

companyId

integer

None.

rowversion

integer

None.

typeofdiscount

integer

None.

discountvalue

decimal number

None.

clientaddress

Collection of clientaddressdto

None.

contactnumber

Collection of clientcontactdto

None.

urlcode

string

None.

corporation

string

None.

password

string

None.

isregistered

boolean

None.

devices

Collection of clientdevicesdto

None.

birthdate

date

None.

announcementsent

integer

None.

clientorder

Collection of clientorder

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",
  "gender": "sample string 6",
  "strength": 7,
  "createdby": "sample string 8",
  "createddate": "2025-12-09T01:32:56.1731659+08:00",
  "updatedby": "sample string 10",
  "updateddate": "2025-12-09T01:32:56.1731659+08:00",
  "email": "sample string 12",
  "remarks": "sample string 13",
  "companyId": 14,
  "rowversion": 15,
  "typeofdiscount": 16,
  "discountvalue": 17.1,
  "clientaddress": [
    {
      "clientaddressid": "sample string 1",
      "geolat": 1.0,
      "geolng": 1.0,
      "bldgno": "sample string 2",
      "bldgname": "sample string 3",
      "countryid": "sample string 4",
      "countryfullname": "sample string 5",
      "regionid": "sample string 6",
      "region": "sample string 7",
      "cityid": "sample string 8",
      "city": "sample string 9",
      "clientid": "sample string 10",
      "provinceid": "sample string 11",
      "province": "sample string 12",
      "placeid": "sample string 13",
      "address1": "sample string 14",
      "address2": "sample string 15",
      "spr": "sample string 16",
      "primary": 17,
      "addressNotes": "sample string 18"
    },
    {
      "clientaddressid": "sample string 1",
      "geolat": 1.0,
      "geolng": 1.0,
      "bldgno": "sample string 2",
      "bldgname": "sample string 3",
      "countryid": "sample string 4",
      "countryfullname": "sample string 5",
      "regionid": "sample string 6",
      "region": "sample string 7",
      "cityid": "sample string 8",
      "city": "sample string 9",
      "clientid": "sample string 10",
      "provinceid": "sample string 11",
      "province": "sample string 12",
      "placeid": "sample string 13",
      "address1": "sample string 14",
      "address2": "sample string 15",
      "spr": "sample string 16",
      "primary": 17,
      "addressNotes": "sample string 18"
    }
  ],
  "contactnumber": [
    {
      "clientid": "sample string 1",
      "type": "sample string 2",
      "number": "sample string 3",
      "isprimary": 4
    },
    {
      "clientid": "sample string 1",
      "type": "sample string 2",
      "number": "sample string 3",
      "isprimary": 4
    }
  ],
  "urlcode": "sample string 18",
  "corporation": "sample string 19",
  "password": "sample string 20",
  "isregistered": true,
  "devices": [
    {
      "id": "sample string 1",
      "clientid": "sample string 2",
      "token": "sample string 3",
      "devicename": "sample string 4",
      "deviceid": "sample string 5",
      "lastupdated": "2025-12-09T01:32:56.1731659+08:00",
      "ipAddress": "sample string 7",
      "createddate": "2025-12-09T01:32:56.1731659+08:00",
      "tokentype": 9
    },
    {
      "id": "sample string 1",
      "clientid": "sample string 2",
      "token": "sample string 3",
      "devicename": "sample string 4",
      "deviceid": "sample string 5",
      "lastupdated": "2025-12-09T01:32:56.1731659+08:00",
      "ipAddress": "sample string 7",
      "createddate": "2025-12-09T01:32:56.1731659+08:00",
      "tokentype": 9
    }
  ],
  "birthdate": "2025-12-09T01:32:56.1731659+08:00",
  "announcementsent": 1,
  "clientorder": [
    {
      "bookdate": "sample string 1",
      "agent": "sample string 2",
      "service": "sample string 3",
      "requested": "sample string 4",
      "hours": "sample string 5",
      "urlcode": "sample string 6",
      "ratings": "sample string 7",
      "orderno": 8
    },
    {
      "bookdate": "sample string 1",
      "agent": "sample string 2",
      "service": "sample string 3",
      "requested": "sample string 4",
      "hours": "sample string 5",
      "urlcode": "sample string 6",
      "ratings": "sample string 7",
      "orderno": 8
    }
  ]
}

application/xml, text/xml

Sample:
<clientdto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/palmeo.api.Models.DTO">
  <_id>sample string 1</_id>
  <announcementsent>1</announcementsent>
  <birthdate>2025-12-09T01:32:56.1731659+08:00</birthdate>
  <clientaddress>
    <clientaddressdto>
      <address1>sample string 14</address1>
      <address2>sample string 15</address2>
      <addressNotes>sample string 18</addressNotes>
      <bldgname>sample string 3</bldgname>
      <bldgno>sample string 2</bldgno>
      <city>sample string 9</city>
      <cityid>sample string 8</cityid>
      <clientaddressid>sample string 1</clientaddressid>
      <clientid>sample string 10</clientid>
      <countryfullname>sample string 5</countryfullname>
      <countryid>sample string 4</countryid>
      <geolat>1</geolat>
      <geolng>1</geolng>
      <placeid>sample string 13</placeid>
      <primary>17</primary>
      <province>sample string 12</province>
      <provinceid>sample string 11</provinceid>
      <region>sample string 7</region>
      <regionid>sample string 6</regionid>
      <spr>sample string 16</spr>
    </clientaddressdto>
    <clientaddressdto>
      <address1>sample string 14</address1>
      <address2>sample string 15</address2>
      <addressNotes>sample string 18</addressNotes>
      <bldgname>sample string 3</bldgname>
      <bldgno>sample string 2</bldgno>
      <city>sample string 9</city>
      <cityid>sample string 8</cityid>
      <clientaddressid>sample string 1</clientaddressid>
      <clientid>sample string 10</clientid>
      <countryfullname>sample string 5</countryfullname>
      <countryid>sample string 4</countryid>
      <geolat>1</geolat>
      <geolng>1</geolng>
      <placeid>sample string 13</placeid>
      <primary>17</primary>
      <province>sample string 12</province>
      <provinceid>sample string 11</provinceid>
      <region>sample string 7</region>
      <regionid>sample string 6</regionid>
      <spr>sample string 16</spr>
    </clientaddressdto>
  </clientaddress>
  <clientorder>
    <clientorder>
      <agent>sample string 2</agent>
      <bookdate>sample string 1</bookdate>
      <hours>sample string 5</hours>
      <orderno>8</orderno>
      <ratings>sample string 7</ratings>
      <requested>sample string 4</requested>
      <service>sample string 3</service>
      <urlcode>sample string 6</urlcode>
    </clientorder>
    <clientorder>
      <agent>sample string 2</agent>
      <bookdate>sample string 1</bookdate>
      <hours>sample string 5</hours>
      <orderno>8</orderno>
      <ratings>sample string 7</ratings>
      <requested>sample string 4</requested>
      <service>sample string 3</service>
      <urlcode>sample string 6</urlcode>
    </clientorder>
  </clientorder>
  <companyId>14</companyId>
  <contactnumber>
    <clientcontactdto>
      <clientid>sample string 1</clientid>
      <isprimary>4</isprimary>
      <number>sample string 3</number>
      <type>sample string 2</type>
    </clientcontactdto>
    <clientcontactdto>
      <clientid>sample string 1</clientid>
      <isprimary>4</isprimary>
      <number>sample string 3</number>
      <type>sample string 2</type>
    </clientcontactdto>
  </contactnumber>
  <corporation>sample string 19</corporation>
  <createdby>sample string 8</createdby>
  <createddate>2025-12-09T01:32:56.1731659+08:00</createddate>
  <devices>
    <clientdevicesdto>
      <clientid>sample string 2</clientid>
      <createddate>2025-12-09T01:32:56.1731659+08:00</createddate>
      <deviceid>sample string 5</deviceid>
      <devicename>sample string 4</devicename>
      <id>sample string 1</id>
      <ipAddress>sample string 7</ipAddress>
      <lastupdated>2025-12-09T01:32:56.1731659+08:00</lastupdated>
      <token>sample string 3</token>
      <tokentype>9</tokentype>
    </clientdevicesdto>
    <clientdevicesdto>
      <clientid>sample string 2</clientid>
      <createddate>2025-12-09T01:32:56.1731659+08:00</createddate>
      <deviceid>sample string 5</deviceid>
      <devicename>sample string 4</devicename>
      <id>sample string 1</id>
      <ipAddress>sample string 7</ipAddress>
      <lastupdated>2025-12-09T01:32:56.1731659+08:00</lastupdated>
      <token>sample string 3</token>
      <tokentype>9</tokentype>
    </clientdevicesdto>
  </devices>
  <discountvalue>17.1</discountvalue>
  <email>sample string 12</email>
  <firstname>sample string 2</firstname>
  <fullname>sample string 5</fullname>
  <gender>sample string 6</gender>
  <isregistered>true</isregistered>
  <lastname>sample string 4</lastname>
  <middlename>sample string 3</middlename>
  <password>sample string 20</password>
  <remarks>sample string 13</remarks>
  <rowversion>15</rowversion>
  <strength>7</strength>
  <typeofdiscount>16</typeofdiscount>
  <updatedby>sample string 10</updatedby>
  <updateddate>2025-12-09T01:32:56.1731659+08:00</updateddate>
  <urlcode>sample string 18</urlcode>
</clientdto>