POST api/PolicyDetails/PostPolicyDetail

Request Information

URI Parameters

None.

Body Parameters

PolicyDetailModel
NameDescriptionTypeAdditional information
ID

integer

None.

TitleName

string

None.

Description

string

None.

IsDelete

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TitleName": "sample string 2",
  "Description": "sample string 3",
  "IsDelete": true,
  "CreatedBy": 1,
  "CreatedDate": "2026-06-30T14:17:50.6430742+01:00",
  "UpdatedBy": 1,
  "UpdatedDate": "2026-06-30T14:17:50.6433876+01:00"
}

text/xml

Sample:
<PolicyDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Models">
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2026-06-30T14:17:50.6430742+01:00</CreatedDate>
  <Description>sample string 3</Description>
  <ID>1</ID>
  <IsDelete>true</IsDelete>
  <TitleName>sample string 2</TitleName>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2026-06-30T14:17:50.6433876+01:00</UpdatedDate>
</PolicyDetailModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PolicyDetailModel'.

Response Information

Resource Description

PolicyDetail
NameDescriptionTypeAdditional information
ID

integer

None.

TitleName

string

None.

Description

string

None.

IsDelete

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

Form_Policy_Mapping

Collection of Form_Policy_Mapping

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'DataModel.Entity.AllForm'. Path 'Form_Policy_Mapping[0].AllForm.ParamMaster.AllForms'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'DataModel.Entity.AllForm'. Path 'Form_Policy_Mapping[0].AllForm.ParamMaster.AllForms'.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'DataModel.Entity.Client_Form_Mapping' contains cycles and cannot be serialized if reference tracking is disabled.