GET api/customer

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

IndividualCustomerResult
NameDescriptionTypeAdditional information
Firstname

string

None.

Lastname

string

None.

OccupationTitle

string

None.

OtherIdentificationId

string

None.

OtherIdentificationType

string

None.

PassportCountryCode

string

None.

PassportCountryName

string

None.

PassportExpirationDate

date

None.

PassportId

string

None.

PassportIssuedDate

date

None.

RegisterFrom

string

None.

ThaiNationalCardAddress1

string

None.

ThaiNationalCardAddress2

string

None.

ThaiNationalCardAddress3

string

None.

ThaiNationalCardExpirationDate

date

None.

ThaiNationalCardId

string

None.

ThaiNationalCardIssuedDate

date

None.

ThaiNationalCardProvinceCode

string

None.

ThaiNationalCardProvinceName

string

None.

Workplace

string

None.

BirthDate

date

None.

ContactTelephoneExtNo

string

None.

ContactTelephoneNo

string

None.

CurrentAddress1

string

None.

CurrentAddress2

string

None.

CurrentAddress3

string

None.

CurrentAddressProvinceCode

string

None.

CurrentAddressProvinceName

string

None.

CustomerCode

string

None.

CustomerCountryCode

string

None.

CustomerCountryName

string

None.

CustomerDefaultId

string

None.

CustomerDefaultIdTypeCode

string

None.

CustomerDefaultIdTypeName

string

None.

CustomerDocuments

Collection of CustomerDocumentData

None.

CustomerGuid

integer

None.

CustomerName

string

None.

CustomerTypeCode

string

None.

CustomerTypeName

string

None.

DocumentStatus

string

None.

Email

string

None.

IsEmailVerified

boolean

None.

IsMobileVerified

boolean

None.

MobilePhoneNo

string

None.

ErrorCode

string

None.

Message

string

None.

ResultCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Firstname": "sample string 1",
  "Lastname": "sample string 2",
  "OccupationTitle": "sample string 3",
  "OtherIdentificationId": "sample string 4",
  "OtherIdentificationType": "sample string 5",
  "PassportCountryCode": "sample string 6",
  "PassportCountryName": "sample string 7",
  "PassportExpirationDate": "2025-12-06T11:00:25.7582105+07:00",
  "PassportId": "sample string 8",
  "PassportIssuedDate": "2025-12-06T11:00:25.7582105+07:00",
  "RegisterFrom": "sample string 9",
  "ThaiNationalCardAddress1": "sample string 10",
  "ThaiNationalCardAddress2": "sample string 11",
  "ThaiNationalCardAddress3": "sample string 12",
  "ThaiNationalCardExpirationDate": "2025-12-06T11:00:25.7582105+07:00",
  "ThaiNationalCardId": "sample string 13",
  "ThaiNationalCardIssuedDate": "2025-12-06T11:00:25.7582105+07:00",
  "ThaiNationalCardProvinceCode": "sample string 14",
  "ThaiNationalCardProvinceName": "sample string 15",
  "Workplace": "sample string 16",
  "BirthDate": "2025-12-06T11:00:25.7582105+07:00",
  "ContactTelephoneExtNo": "sample string 17",
  "ContactTelephoneNo": "sample string 18",
  "CurrentAddress1": "sample string 19",
  "CurrentAddress2": "sample string 20",
  "CurrentAddress3": "sample string 21",
  "CurrentAddressProvinceCode": "sample string 22",
  "CurrentAddressProvinceName": "sample string 23",
  "CustomerCode": "sample string 24",
  "CustomerCountryCode": "sample string 25",
  "CustomerCountryName": "sample string 26",
  "CustomerDefaultId": "sample string 27",
  "CustomerDefaultIdTypeCode": "sample string 28",
  "CustomerDefaultIdTypeName": "sample string 29",
  "CustomerDocuments": [
    {
      "CustomerCode": "sample string 1",
      "CustomerId": 2,
      "DocumentDesc": "sample string 3",
      "DocumentId": 4,
      "DocumentKey": "sample string 5",
      "DocumentType": "sample string 6",
      "FileContentType": "sample string 7",
      "Note": "sample string 8",
      "Sequence": 9,
      "Status": "sample string 10",
      "UpdateUser": "sample string 11"
    },
    {
      "CustomerCode": "sample string 1",
      "CustomerId": 2,
      "DocumentDesc": "sample string 3",
      "DocumentId": 4,
      "DocumentKey": "sample string 5",
      "DocumentType": "sample string 6",
      "FileContentType": "sample string 7",
      "Note": "sample string 8",
      "Sequence": 9,
      "Status": "sample string 10",
      "UpdateUser": "sample string 11"
    }
  ],
  "CustomerGuid": 30,
  "CustomerName": "sample string 31",
  "CustomerTypeCode": "sample string 32",
  "CustomerTypeName": "sample string 33",
  "DocumentStatus": "sample string 34",
  "Email": "sample string 35",
  "IsEmailVerified": true,
  "IsMobileVerified": true,
  "MobilePhoneNo": "sample string 38",
  "ErrorCode": "sample string 39",
  "Message": "sample string 40",
  "ResultCode": "sample string 41"
}

application/xml, text/xml

Sample:
<IndividualCustomerResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerServiceLib.DataObjects">
  <ErrorCode>sample string 39</ErrorCode>
  <Message>sample string 40</Message>
  <ResultCode>sample string 41</ResultCode>
  <BirthDate>2025-12-06T11:00:25.7582105+07:00</BirthDate>
  <ContactTelephoneExtNo>sample string 17</ContactTelephoneExtNo>
  <ContactTelephoneNo>sample string 18</ContactTelephoneNo>
  <CurrentAddress1>sample string 19</CurrentAddress1>
  <CurrentAddress2>sample string 20</CurrentAddress2>
  <CurrentAddress3>sample string 21</CurrentAddress3>
  <CurrentAddressProvinceCode>sample string 22</CurrentAddressProvinceCode>
  <CurrentAddressProvinceName>sample string 23</CurrentAddressProvinceName>
  <CustomerCode>sample string 24</CustomerCode>
  <CustomerCountryCode>sample string 25</CustomerCountryCode>
  <CustomerCountryName>sample string 26</CustomerCountryName>
  <CustomerDefaultId>sample string 27</CustomerDefaultId>
  <CustomerDefaultIdTypeCode>sample string 28</CustomerDefaultIdTypeCode>
  <CustomerDefaultIdTypeName>sample string 29</CustomerDefaultIdTypeName>
  <CustomerDocuments>
    <CustomerDocumentData>
      <CustomerCode>sample string 1</CustomerCode>
      <CustomerId>2</CustomerId>
      <DocumentDesc>sample string 3</DocumentDesc>
      <DocumentId>4</DocumentId>
      <DocumentKey>sample string 5</DocumentKey>
      <DocumentType>sample string 6</DocumentType>
      <FileContentType>sample string 7</FileContentType>
      <Note>sample string 8</Note>
      <Sequence>9</Sequence>
      <Status>sample string 10</Status>
      <UpdateUser>sample string 11</UpdateUser>
    </CustomerDocumentData>
    <CustomerDocumentData>
      <CustomerCode>sample string 1</CustomerCode>
      <CustomerId>2</CustomerId>
      <DocumentDesc>sample string 3</DocumentDesc>
      <DocumentId>4</DocumentId>
      <DocumentKey>sample string 5</DocumentKey>
      <DocumentType>sample string 6</DocumentType>
      <FileContentType>sample string 7</FileContentType>
      <Note>sample string 8</Note>
      <Sequence>9</Sequence>
      <Status>sample string 10</Status>
      <UpdateUser>sample string 11</UpdateUser>
    </CustomerDocumentData>
  </CustomerDocuments>
  <CustomerGuid>30</CustomerGuid>
  <CustomerName>sample string 31</CustomerName>
  <CustomerTypeCode>sample string 32</CustomerTypeCode>
  <CustomerTypeName>sample string 33</CustomerTypeName>
  <DocumentStatus>sample string 34</DocumentStatus>
  <Email>sample string 35</Email>
  <IsEmailVerified>true</IsEmailVerified>
  <IsMobileVerified>true</IsMobileVerified>
  <MobilePhoneNo>sample string 38</MobilePhoneNo>
  <Firstname>sample string 1</Firstname>
  <Lastname>sample string 2</Lastname>
  <OccupationTitle>sample string 3</OccupationTitle>
  <OtherIdentificationId>sample string 4</OtherIdentificationId>
  <OtherIdentificationType>sample string 5</OtherIdentificationType>
  <PassportCountryCode>sample string 6</PassportCountryCode>
  <PassportCountryName>sample string 7</PassportCountryName>
  <PassportExpirationDate>2025-12-06T11:00:25.7582105+07:00</PassportExpirationDate>
  <PassportId>sample string 8</PassportId>
  <PassportIssuedDate>2025-12-06T11:00:25.7582105+07:00</PassportIssuedDate>
  <RegisterFrom>sample string 9</RegisterFrom>
  <ThaiNationalCardAddress1>sample string 10</ThaiNationalCardAddress1>
  <ThaiNationalCardAddress2>sample string 11</ThaiNationalCardAddress2>
  <ThaiNationalCardAddress3>sample string 12</ThaiNationalCardAddress3>
  <ThaiNationalCardExpirationDate>2025-12-06T11:00:25.7582105+07:00</ThaiNationalCardExpirationDate>
  <ThaiNationalCardId>sample string 13</ThaiNationalCardId>
  <ThaiNationalCardIssuedDate>2025-12-06T11:00:25.7582105+07:00</ThaiNationalCardIssuedDate>
  <ThaiNationalCardProvinceCode>sample string 14</ThaiNationalCardProvinceCode>
  <ThaiNationalCardProvinceName>sample string 15</ThaiNationalCardProvinceName>
  <Workplace>sample string 16</Workplace>
</IndividualCustomerResult>