POST api/SubFormMappings/PostSubFormMapping

Request Information

URI Parameters

None.

Body Parameters

SubFormMapping
NameDescriptionTypeAdditional information
ID

integer

None.

FormID

integer

None.

SubFormID

integer

None.

CreatedDate

date

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "FormID": 1,
  "SubFormID": 1,
  "CreatedDate": "2026-06-30T14:13:55.5201874+01:00",
  "UpdatedDate": "2026-06-30T14:13:55.5201874+01:00",
  "UpdatedBy": 1,
  "CreatedBy": 1
}

text/xml

Sample:
<SubFormMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Entity">
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2026-06-30T14:13:55.5201874+01:00</CreatedDate>
  <FormID>1</FormID>
  <ID>1</ID>
  <SubFormID>1</SubFormID>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2026-06-30T14:13:55.5201874+01:00</UpdatedDate>
</SubFormMapping>

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 'SubFormMapping'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>