GET api/ArticleCustomFields/Templates/{templateId}
Gets a specific article custom field template based on template id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| templateId | integer |
Required |
Body Parameters
None.
Remarks
None.
Example
None.
Response Information
Resource Description
ArticleCustomFieldTemplateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| IsNumeric | boolean |
None. |
|
| AllowedNumberOfCharacters | integer |
None. |
|
| IsRequired | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"IsNumeric": true,
"AllowedNumberOfCharacters": 4,
"IsRequired": true
}
application/xml, text/xml
Sample:
<ArticleCustomFieldTemplateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Article"> <AllowedNumberOfCharacters>4</AllowedNumberOfCharacters> <Id>1</Id> <IsNumeric>true</IsNumeric> <IsRequired>true</IsRequired> <Name>sample string 2</Name> </ArticleCustomFieldTemplateResponse>