Get groups info
Header
Content-Type:multipart/form-data
Authorization:'Bearer token_value_from_login'Get Group by ID
Search for a group using its ID. Returns the group details including all assigned clients.
Query parameters
groupIdstringRequired
Responses
200
Success (Custom Example)
application/json
stringOptionalExample:
{ "Status": "success", "Message": "", "ResponseObject": { "Id": 30928, "UserId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1", "ManagerId": null, "Name": "My Testing Group", "GroupClients": [ { "GroupId": 30928, "ClientId": 49728, "Order": 1 }, { "GroupId": 30928, "ClientId": 49729, "Order": 2 } ], "ClientsCounter": 4, "ClientsPhonesCounter": 3, "ClientsEmailsCounter": 4, "SignatureRoutine": true, "APIResponse": null } }400
Bad Request
500
Internal Server Error
post/api/Groups/GetById
POST /api/Groups/GetById?groupId=text HTTP/1.1
Accept: */*
{
"Status": "success",
"Message": "",
"ResponseObject": {
"Id": 30928,
"UserId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1",
"ManagerId": null,
"Name": "My Testing Group",
"GroupClients": [
{ "GroupId": 30928, "ClientId": 49728, "Order": 1 },
{ "GroupId": 30928, "ClientId": 49729, "Order": 2 }
],
"ClientsCounter": 4,
"ClientsPhonesCounter": 3,
"ClientsEmailsCounter": 4,
"SignatureRoutine": true,
"APIResponse": null
}
}Get All Groups by User
Returns all groups created by the authenticated user.
Responses
200
Success (Custom Example)
application/json
stringOptionalExample:
{ "Status": "success", "Message": "", "ResponseObject": [ { "Id": 30928, "UserId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1", "ManagerId": null, "Name": "My Testing Group", "GroupClients": [], "ClientsCounter": 4, "ClientsPhonesCounter": 3, "ClientsEmailsCounter": 4, "SignatureRoutine": false, "APIResponse": null } ] }400
Bad Request
500
Internal Server Error
get/api/Groups/GetAllByUser
GET /api/Groups/GetAllByUser HTTP/1.1
Accept: */*
{
"Status": "success",
"Message": "",
"ResponseObject": [
{
"Id": 30928,
"UserId": "1ebbd3dd-4c4a-4e9a-a254-6a2b9b1f14b1",
"ManagerId": null,
"Name": "My Testing Group",
"GroupClients": [],
"ClientsCounter": 4,
"ClientsPhonesCounter": 3,
"ClientsEmailsCounter": 4,
"SignatureRoutine": false,
"APIResponse": null
}
]
}Last updated