POST api/AllForms/AsAndFormRequiredGenerate

Request Information

URI Parameters

None.

Body Parameters

AsAndWhenFormSaveModel
NameDescriptionTypeAdditional information
UserList

Collection of integer

None.

StartDate

date

None.

FormID

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserList": [
    1,
    2
  ],
  "StartDate": "2026-06-30T14:16:24.8418502+01:00",
  "FormID": 2,
  "UpdatedBy": 1
}

text/xml

Sample:
<AsAndWhenFormSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Models">
  <FormID>2</FormID>
  <StartDate>2026-06-30T14:16:24.8418502+01:00</StartDate>
  <UpdatedBy>1</UpdatedBy>
  <UserList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </UserList>
</AsAndWhenFormSaveModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.