Groups

From Advice Local Wiki
Revision as of 12:43, 8 April 2024 by Harv (talk | contribs) (Created page with "== Create a Group == This allows you to start grouping client locations into groups that you manage. === API Endpoint === <syntaxhighlight lang="html"> http://p.lssdev.com/le...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Create a Group

This allows you to start grouping client locations into groups that you manage.

API Endpoint

http://p.lssdev.com/legacygroups

Example Request

POST /legacygroups HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json


{"name":"Test Group"}

"name" is the name of the group you want to create

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": {
        "name": "Test Group",
        "createdAt": "2024-04-08T19:41:00.474Z",
        "updatedAt": "2024-04-08T19:41:00.474Z",
        "partner": 760
    }
}