GET api/app311/GetFormByJurisdictionService?jurisdictionServiceID={jurisdictionServiceID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| jurisdictionServiceID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FormDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| FormID | integer |
None. |
|
| FormName | string |
None. |
|
| Description | string |
None. |
|
| FormFields | Collection of FormFieldDTO |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{
"FormID": 1,
"FormName": "sample string 2",
"Description": "sample string 3",
"FormFields": [
{
"FormID": 1,
"FieldID": 2,
"DislpayOrder": 3,
"PlaceHolder": "sample string 4",
"IsRequired": true,
"Field": {
"FieldID": 1,
"FieldTypeID": 2,
"FieldName": "sample string 3",
"KeyboradType": 1,
"FieldValue": "sample string 4",
"FieldIndexSelected": 5,
"FieldType": {
"FieldTypeID": 1,
"TypeName": "sample string 2"
},
"FieldItems": [
{
"FieldItemID": 1,
"FieldID": 2,
"DisplayOrder": 3,
"ItemName": "sample string 4",
"HasOtherText": true,
"IsDefault": true
},
{
"FieldItemID": 1,
"FieldID": 2,
"DisplayOrder": 3,
"ItemName": "sample string 4",
"HasOtherText": true,
"IsDefault": true
}
]
}
},
{
"FormID": 1,
"FieldID": 2,
"DislpayOrder": 3,
"PlaceHolder": "sample string 4",
"IsRequired": true,
"Field": {
"FieldID": 1,
"FieldTypeID": 2,
"FieldName": "sample string 3",
"KeyboradType": 1,
"FieldValue": "sample string 4",
"FieldIndexSelected": 5,
"FieldType": {
"FieldTypeID": 1,
"TypeName": "sample string 2"
},
"FieldItems": [
{
"FieldItemID": 1,
"FieldID": 2,
"DisplayOrder": 3,
"ItemName": "sample string 4",
"HasOtherText": true,
"IsDefault": true
},
{
"FieldItemID": 1,
"FieldID": 2,
"DisplayOrder": 3,
"ItemName": "sample string 4",
"HasOtherText": true,
"IsDefault": true
}
]
}
}
]
}
application/xml, text/xml
Sample:
<FormDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/app311.Service.DataAccess.DTO">
<Description>sample string 3</Description>
<FormFields>
<FormFieldDTO>
<DislpayOrder>3</DislpayOrder>
<Field>
<FieldID>1</FieldID>
<FieldIndexSelected>5</FieldIndexSelected>
<FieldItems>
<FieldItemDTO>
<DisplayOrder>3</DisplayOrder>
<FieldID>2</FieldID>
<FieldItemID>1</FieldItemID>
<HasOtherText>true</HasOtherText>
<IsDefault>true</IsDefault>
<ItemName>sample string 4</ItemName>
</FieldItemDTO>
<FieldItemDTO>
<DisplayOrder>3</DisplayOrder>
<FieldID>2</FieldID>
<FieldItemID>1</FieldItemID>
<HasOtherText>true</HasOtherText>
<IsDefault>true</IsDefault>
<ItemName>sample string 4</ItemName>
</FieldItemDTO>
</FieldItems>
<FieldName>sample string 3</FieldName>
<FieldType>
<FieldTypeID>1</FieldTypeID>
<TypeName>sample string 2</TypeName>
</FieldType>
<FieldTypeID>2</FieldTypeID>
<FieldValue>sample string 4</FieldValue>
<KeyboradType>None</KeyboradType>
</Field>
<FieldID>2</FieldID>
<FormID>1</FormID>
<IsRequired>true</IsRequired>
<PlaceHolder>sample string 4</PlaceHolder>
</FormFieldDTO>
<FormFieldDTO>
<DislpayOrder>3</DislpayOrder>
<Field>
<FieldID>1</FieldID>
<FieldIndexSelected>5</FieldIndexSelected>
<FieldItems>
<FieldItemDTO>
<DisplayOrder>3</DisplayOrder>
<FieldID>2</FieldID>
<FieldItemID>1</FieldItemID>
<HasOtherText>true</HasOtherText>
<IsDefault>true</IsDefault>
<ItemName>sample string 4</ItemName>
</FieldItemDTO>
<FieldItemDTO>
<DisplayOrder>3</DisplayOrder>
<FieldID>2</FieldID>
<FieldItemID>1</FieldItemID>
<HasOtherText>true</HasOtherText>
<IsDefault>true</IsDefault>
<ItemName>sample string 4</ItemName>
</FieldItemDTO>
</FieldItems>
<FieldName>sample string 3</FieldName>
<FieldType>
<FieldTypeID>1</FieldTypeID>
<TypeName>sample string 2</TypeName>
</FieldType>
<FieldTypeID>2</FieldTypeID>
<FieldValue>sample string 4</FieldValue>
<KeyboradType>None</KeyboradType>
</Field>
<FieldID>2</FieldID>
<FormID>1</FormID>
<IsRequired>true</IsRequired>
<PlaceHolder>sample string 4</PlaceHolder>
</FormFieldDTO>
</FormFields>
<FormID>1</FormID>
<FormName>sample string 2</FormName>
</FormDTO>