Difference between revisions of "Groups"
From Advice Local Wiki
(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...") |
|||
Line 4: | Line 4: | ||
=== API Endpoint === | === API Endpoint === | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
− | + | https://p.lssdev.com/legacygroups | |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 11:43, 8 April 2024
Create a Group
This allows you to start grouping client locations into groups that you manage.
API Endpoint
https://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
}
}