POST api/Group/saveNewGroup
Request Information
URI Parameters
None.
Body Parameters
AddNewGroupMdlName | Description | Type | Additional information |
---|---|---|---|
GroupName | string |
None. |
|
Users | Collection of string |
None. |
|
ReportsType | Collection of ReportTypeMdl |
None. |
|
SafetyType | Collection of SafetyTypeMdl |
None. |
Request Formats
application/json, text/json
Sample:
{ "GroupName": "sample string 1", "Users": [ "sample string 1", "sample string 2" ], "ReportsType": [ { "Id": 1, "reportType": "sample string 2" }, { "Id": 1, "reportType": "sample string 2" } ], "SafetyType": [ { "Id": 1, "safetyType": "sample string 2" }, { "Id": 1, "safetyType": "sample string 2" } ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseMdlName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Data | Object |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Data": {}, "Message": "sample string 3" }