POST api/policy/insertpolicy
Request Information
URI Parameters
None.
Body Parameters
PolicyMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| PolicyMasterId | integer |
None. |
|
| PolicyName | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PolicyMasterId": 1,
"PolicyName": "sample string 2",
"CreatedDate": "2025-08-20T01:56:25.3067743+00:00",
"ModifiedDate": "2025-08-20T01:56:25.3067743+00:00",
"CreatedBy": 1,
"ModifiedBy": 1,
"IsActive": true,
"IsDeleted": true
}
text/html
Sample:
{"PolicyMasterId":1,"PolicyName":"sample string 2","CreatedDate":"2025-08-20T01:56:25.3067743+00:00","ModifiedDate":"2025-08-20T01:56:25.3067743+00:00","CreatedBy":1,"ModifiedBy":1,"IsActive":true,"IsDeleted":true}
application/xml, text/xml
Sample:
<PolicyMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRG.Core"> <CreatedBy>1</CreatedBy> <CreatedDate>2025-08-20T01:56:25.3067743+00:00</CreatedDate> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-08-20T01:56:25.3067743+00:00</ModifiedDate> <PolicyMasterId>1</PolicyMasterId> <PolicyName>sample string 2</PolicyName> </PolicyMaster>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.