GET api/Forms/GetForm/{id}
Get specific form
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FormInfoName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
FileName | string |
None. |
|
FormString | string |
None. |
|
Enabled | boolean |
None. |
|
Attributes | Collection of Attribute |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Description": "sample string 3", "FileName": "sample string 4", "FormString": "sample string 5", "Enabled": true, "Attributes": [ { "Key": "sample string 1", "DisplayName": "sample string 2", "Visible": true, "Type": "sample string 4" }, { "Key": "sample string 1", "DisplayName": "sample string 2", "Visible": true, "Type": "sample string 4" } ] }
application/xml, text/xml
Sample:
<FormInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.SignetForms"> <Attributes> <FormInfo.Attribute> <DisplayName>sample string 2</DisplayName> <Key>sample string 1</Key> <Type>sample string 4</Type> <Visible>true</Visible> </FormInfo.Attribute> <FormInfo.Attribute> <DisplayName>sample string 2</DisplayName> <Key>sample string 1</Key> <Type>sample string 4</Type> <Visible>true</Visible> </FormInfo.Attribute> </Attributes> <Description>sample string 3</Description> <Enabled>true</Enabled> <FileName>sample string 4</FileName> <FormString>sample string 5</FormString> <ID>1</ID> <Name>sample string 2</Name> </FormInfo>