GET api/userpreferencetemplate/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DTOUserPreferenceTemplateView
NameDescriptionTypeAdditional 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.

Response 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:
<DTOUserPreferenceTemplateView 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>
</DTOUserPreferenceTemplateView>