POST Policy/UpdateExclusion
Request Information
URI Parameters
None.
Body Parameters
UpdateExclusionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Username | string |
None. |
|
| Category | string |
None. |
|
| Description | string |
None. |
|
| SecurityKey | string |
None. |
|
| PolicyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Username": "sample string 2",
"Category": "sample string 3",
"Description": "sample string 4",
"SecurityKey": "sample string 5",
"PolicyId": 6
}
application/xml, text/xml
Sample:
<UpdateExclusionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <PolicyId>6</PolicyId> <SecurityKey>sample string 5</SecurityKey> <Category>sample string 3</Category> <Description>sample string 4</Description> <Id>1</Id> <Username>sample string 2</Username> </UpdateExclusionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Entity | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Entity": 3
}
application/xml, text/xml
Sample:
<ResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity>3</Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfint>