POST api/form/save

Request Information

URI Parameters

None.

Body Parameters

FormModel
NameDescriptionTypeAdditional information
ID

integer

None.

FormName

string

None.

FormDisplayName

string

None.

FormGroupID

integer

None.

IsVisible

boolean

None.

Create

boolean

None.

Alter

boolean

None.

View

boolean

None.

Approved

boolean

None.

Rejected

boolean

None.

Import

boolean

None.

Export

boolean

None.

Delete

boolean

None.

Print

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "FormName": "sample string 2",
  "FormDisplayName": "sample string 3",
  "FormGroupID": 4,
  "IsVisible": true,
  "Create": true,
  "Alter": true,
  "View": true,
  "Approved": true,
  "Rejected": true,
  "Import": true,
  "Export": true,
  "Delete": true,
  "Print": true
}

application/xml, text/xml

Sample:
<FormModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApprovalManagementAPI.Models">
  <Alter>true</Alter>
  <Approved>true</Approved>
  <Create>true</Create>
  <Delete>true</Delete>
  <Export>true</Export>
  <FormDisplayName>sample string 3</FormDisplayName>
  <FormGroupID>4</FormGroupID>
  <FormName>sample string 2</FormName>
  <ID>1</ID>
  <Import>true</Import>
  <IsVisible>true</IsVisible>
  <Print>true</Print>
  <Rejected>true</Rejected>
  <View>true</View>
</FormModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.