Contacts

Get list all contacts.

get/contacts

Request

Query parameters

currentPageinteger

Query current page contacts. <br>Example Pattern: <ex>/contacts?currentPage=1 </ex><ex>/contacts?currentPage=1&pageSize=20</ex>

pageSizeinteger

Query contacts list amount per page. <br>Example Pattern: <ex> /contacts?pageSize=20 </ex>

sortBystring

Contact Sort By Example (Encode) Pattern:<br> namelocal = Sort By Contact Name <br> contactPerson = Sort By Contact Person <br> email = Sort By Email <br> phone2 = Sort By Contact Mobile <br> contactType = Sort By Contact Type <br> contactCode = Sort By Contact Code <br><ex> /contacts?sortBy=[{'name':'contactPerson','sortOrder':'desc'}]</ex>

filterstring

Contact Filter Example (Encode) Pattern: <ex> /contacts?filter=[{'columnName':'contactType','columnValue':'3','columnPredicateOperator':'And'}]</ex>

searchStringinteger

Query contact name or code. <br>Example Pattern: <ex> /contacts?searchString=001 contact </ex>

Headers

Authorizationstring required

Response

200 response

statusboolean

action success

messagestring

error message

codeinteger

error code

Example response

{
  "data": {
    "list": [
      {
        "contactTaxId": "1234567890123",
        "contactEmail": "contact@email.com",
        "contactMobile": "099-999-9999",
        "contactBankAccountName": "บริษัท โฟลว์แอคเคาท์ จำกัด",
        "contactBankBranch": "บางรัก",
        "contactBankBranchCode": "0001",
        "contactOffice": "02-999-9999",
        "contactFax": "02-888-8888",
        "contactWebsite": "www.flowaccount.com"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.