Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get clients info

Get Client by ID

Search for a client using their ID.

Header

Content-Type:multipart/form-data
Authorization:'Bearer token_value_from_login'

GetById

get
Query parameters
clientIdstringRequired
Responses
200

Success (Custom Example)

application/json
stringOptionalExample: { "Status": "success", "Message": "", "ResponseObject": { "Id": 316258, "UserId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1", "ManagerId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1", "Name": "Test Client", "CompNum": null, "Emails": "testclient@test.com;", "Phones": "0500000000;", "APIResponse": [] } }
get/api/Clients/GetById
GET /api/Clients/GetById?clientId=text HTTP/1.1
Accept: */*
{

    "Status": "success",

    "Message": "",

    "ResponseObject": {

        "Id": 316258,

        "UserId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1",

        "ManagerId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1",

        "Name": "Test Client",

        "CompNum": null,

        "Emails": "testclient@test.com;",

        "Phones": "0500000000;",

        "APIResponse": []

    }

}

Get Client Information

Search for a client by name, email, or phone number.

Headers

Key
Value

Content-Type

application/json

Authorization

Bearer <token>

All fields are optional. You can search by any combination of name, email, and phone

GetByParams

post
Body
IdintegerRequiredExample: 1
UserIdstringOptionalExample: id_4059ba53
ManagerIdstringOptionalExample: id_1b3efe3b
NamestringOptionalExample: John Doe
CompNumstringOptionalExample: sample_compnum
EmailsstringOptionalExample: client@example.com
PhonesstringOptionalExample: sample_phones
ClientsstringOptional
APIResponsestringOptional
Responses
200

Success (Custom Example)

application/json
stringOptionalExample: { "Status": "success", "Message": "", "ResponseObject": { "Id": 316258, "UserId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1", "ManagerId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1", "Name": "Test Client", "CompNum": null, "Emails": "testclient@test.com;", "Phones": "0500000000;", "APIResponse": [] } }
post/api/Clients/GetByParams
POST /api/Clients/GetByParams HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 191

{
  "Id": 1,
  "UserId": "id_4059ba53",
  "ManagerId": "id_1b3efe3b",
  "Name": "John Doe",
  "CompNum": "sample_compnum",
  "Emails": "client@example.com",
  "Phones": "sample_phones",
  "Clients": null,
  "APIResponse": null
}
{

    "Status": "success",

    "Message": "",

    "ResponseObject": {

        "Id": 316258,

        "UserId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1",

        "ManagerId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1",

        "Name": "Test Client",

        "CompNum": null,

        "Emails": "testclient@test.com;",

        "Phones": "0500000000;",

        "APIResponse": []

    }

}

Last updated