POST create new group

Creates a new group of users that can be used to send invitations. This action creates an empty group. In order to add user, the GroupID returned by the success response must be used with the POST create user method to add users to the created group.

Resource URL:

https://api.priotice.se/rest/{auth}/group/create

POST parameters:

Variable name
(case sensitive)
Required Variable type Note
GroupName Required string Group name

Data returned:

If will return a success status along with the GroupID of the group that was inserted if the operation was successful. Else, it will return an error code.

Example request

POST https://api.priotice.se/rest/d41d8cd98f00b204e9800998ecf8427e/group/create

Example response:

{ "Status": "success", "Data": { "GroupID": 62 } }

CURL example:

curl --data "GroupName=Group%20created%20from%20API" https://api.priotice.se/rest/a632b4ab929f0c57d5ae2/group/create