POST api/formfielddefinition/create
Request Information
URI Parameters
None.
Body Parameters
CreateFieldDefinitionRequetModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| DataType | string |
None. |
|
| FieldLabel | string |
None. |
|
| FieldName | string |
None. |
|
| IsRequired | boolean |
None. |
|
| FormFieldDefinitionGroupId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "e38a6b40-aac1-4cf7-9a62-19548d1b27d8",
"DataType": "sample string 1",
"FieldLabel": "sample string 2",
"FieldName": "sample string 3",
"IsRequired": true,
"FormFieldDefinitionGroupId": "c5f6d631-0b94-43bc-9fb9-4d83504fda4e"
}
application/xml, text/xml
Sample:
<CreateFieldDefinitionRequetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SHPACollegeAPI.Models.RequestModels"> <DataType>sample string 1</DataType> <FieldLabel>sample string 2</FieldLabel> <FieldName>sample string 3</FieldName> <FormFieldDefinitionGroupId>c5f6d631-0b94-43bc-9fb9-4d83504fda4e</FormFieldDefinitionGroupId> <Id>e38a6b40-aac1-4cf7-9a62-19548d1b27d8</Id> <IsRequired>true</IsRequired> </CreateFieldDefinitionRequetModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.