POST api/Policies/CreatePolicy
Request Information
URI Parameters
None.
Body Parameters
CreatePolicyDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | integer |
None. |
|
| LocationId | integer |
None. |
|
| PolicyText | string |
None. |
|
| PolicyTypeId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"ClientId": 1,
"LocationId": 1,
"PolicyText": "sample string 1",
"PolicyTypeId": 2
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Result | Object |
None. |
|
| StatusCode | integer |
None. |
|
| StatusGroup | string |
None. |
|
| Details | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.