PUT api/userpreferencetemplate
Request Information
URI Parameters
None.
Body Parameters
DTOUserPreferenceTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| UserPreferenceTemplateID | integer |
None. |
|
| Key | string |
None. |
|
| Label | string |
None. |
|
| ValueType | string |
None. |
|
| IsRequired | boolean |
None. |
|
| IsEncrypted | boolean |
None. |
|
| DefaultValue | string |
None. |
|
| Definitions | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserPreferenceTemplateID": 1,
"Key": "sample string 2",
"Label": "sample string 3",
"ValueType": "sample string 4",
"IsRequired": true,
"IsEncrypted": true,
"DefaultValue": "sample string 7",
"Definitions": "sample string 8"
}
application/xml, text/xml
Sample:
<DTOUserPreferenceTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO"> <DefaultValue>sample string 7</DefaultValue> <Definitions>sample string 8</Definitions> <IsEncrypted>true</IsEncrypted> <IsRequired>true</IsRequired> <Key>sample string 2</Key> <Label>sample string 3</Label> <UserPreferenceTemplateID>1</UserPreferenceTemplateID> <ValueType>sample string 4</ValueType> </DTOUserPreferenceTemplate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>