POST api/PostPolicy
Request Information
URI Parameters
None.
Body Parameters
ApiPolicyName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
Path | string |
None. |
|
GroupID | integer |
None. |
|
GroupTitle | string |
None. |
|
LastConfirm | date |
None. |
|
LastView | date |
None. |
|
LastUpdated | date |
None. |
|
RequiresRead | boolean |
None. |
|
RequiresConfirmation | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "LastView": "2025-08-29T02:50:38.5302768+01:00", "LastConfirm": "2025-08-29T02:50:38.5302768+01:00", "LastUpdated": "2025-08-29T02:50:38.5302768+01:00", "Title": "sample string 2", "Description": "sample string 3", "Path": "sample string 4", "GroupID": 1, "GroupTitle": "sample string 5", "RequiresRead": true, "RequiresConfirmation": true }
application/octet-stream, multipart/form-data
Sample:
{"ID":1,"LastView":"2025-08-29T02:50:38.5302768+01:00","LastConfirm":"2025-08-29T02:50:38.5302768+01:00","LastUpdated":"2025-08-29T02:50:38.5302768+01:00","Title":"sample string 2","Description":"sample string 3","Path":"sample string 4","GroupID":1,"GroupTitle":"sample string 5","RequiresRead":true,"RequiresConfirmation":true}
application/xml, text/xml
Sample:
<DocumentController.ApiPolicy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Controllers"> <Description>sample string 3</Description> <GroupID>1</GroupID> <GroupTitle>sample string 5</GroupTitle> <ID>1</ID> <LastConfirm>2025-08-29T02:50:38.5302768+01:00</LastConfirm> <LastUpdated>2025-08-29T02:50:38.5302768+01:00</LastUpdated> <LastView>2025-08-29T02:50:38.5302768+01:00</LastView> <Path>sample string 4</Path> <RequiresConfirmation>true</RequiresConfirmation> <RequiresRead>true</RequiresRead> <Title>sample string 2</Title> </DocumentController.ApiPolicy>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, multipart/form-data, application/xml, text/xml
Sample:
Sample not available.