GET api/formfieldrules/{sourcetype}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sourcetype

FormFieldRuleSourceTypes

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FormFieldRule
NameDescriptionTypeAdditional information
Id

integer

None.

SourceType

FormFieldRuleSourceTypes

None.

SourceId

integer

None.

PropertyId

integer

None.

FieldName

string

None.

IsRequired

boolean

None.

IsVisible

boolean

None.

FieldOrder

integer

None.

FieldGroup

string

None.

ExtReference

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SourceType": 0,
    "SourceId": 2,
    "PropertyId": 3,
    "FieldName": "sample string 4",
    "IsRequired": true,
    "IsVisible": true,
    "FieldOrder": 7,
    "FieldGroup": "sample string 8",
    "ExtReference": "sample string 9"
  },
  {
    "Id": 1,
    "SourceType": 0,
    "SourceId": 2,
    "PropertyId": 3,
    "FieldName": "sample string 4",
    "IsRequired": true,
    "IsVisible": true,
    "FieldOrder": 7,
    "FieldGroup": "sample string 8",
    "ExtReference": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFormFieldRule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels">
  <FormFieldRule>
    <ExtReference>sample string 9</ExtReference>
    <FieldGroup>sample string 8</FieldGroup>
    <FieldName>sample string 4</FieldName>
    <FieldOrder>7</FieldOrder>
    <Id>1</Id>
    <IsRequired>true</IsRequired>
    <IsVisible>true</IsVisible>
    <PropertyId>3</PropertyId>
    <SourceId>2</SourceId>
    <SourceType>NoType</SourceType>
  </FormFieldRule>
  <FormFieldRule>
    <ExtReference>sample string 9</ExtReference>
    <FieldGroup>sample string 8</FieldGroup>
    <FieldName>sample string 4</FieldName>
    <FieldOrder>7</FieldOrder>
    <Id>1</Id>
    <IsRequired>true</IsRequired>
    <IsVisible>true</IsVisible>
    <PropertyId>3</PropertyId>
    <SourceId>2</SourceId>
    <SourceType>NoType</SourceType>
  </FormFieldRule>
</ArrayOfFormFieldRule>