POST api/PolicyDocument
Request Information
URI Parameters
None.
Body Parameters
PolicyDocument| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PolicyId | integer |
None. |
|
| FilePath | string |
None. |
|
| MIME | string |
None. |
|
| Base64String | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| LastModifiedBy | integer |
None. |
|
| LastModifiedDate | date |
None. |
|
| DeletedBy | integer |
None. |
|
| DeletedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"PolicyId": 2,
"FilePath": "sample string 3",
"MIME": "sample string 4",
"Base64String": "sample string 5",
"CreatedBy": 6,
"CreatedDate": "2026-11-17T09:23:05.5807687+05:30",
"LastModifiedBy": 1,
"LastModifiedDate": "2026-11-17T09:23:05.5807687+05:30",
"DeletedBy": 1,
"DeletedDate": "2026-11-17T09:23:05.5807687+05:30"
}
application/xml, text/xml
Sample:
<PolicyDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgentDeskWebService.Domain"> <Base64String>sample string 5</Base64String> <CreatedBy>6</CreatedBy> <CreatedDate>2026-11-17T09:23:05.5807687+05:30</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2026-11-17T09:23:05.5807687+05:30</DeletedDate> <FilePath>sample string 3</FilePath> <Id>1</Id> <LastModifiedBy>1</LastModifiedBy> <LastModifiedDate>2026-11-17T09:23:05.5807687+05:30</LastModifiedDate> <MIME>sample string 4</MIME> <PolicyId>2</PolicyId> </PolicyDocument>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |