GET api.ashx/v2/userprofilefieldtypes.{json|xml}
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| PageIndex | int | Query String | Page of results to return | Optional | ||
| PageSize | int | Query String | Number of results to return | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/userprofilefieldtypes.json'
}).then(function(response) {
// use response
});Example Responses
JSON
{
"PageSize": 2,
"PageIndex": 0,
"TotalCount": 2,
"UserProfileFieldTypes": [
{
"Id": 6,
"Name": "name",
"IsSearchable": true,
"IsMultipleChoice": true
},
{
"Id": 25,
"Name": "name",
"IsSearchable": true,
"IsMultipleChoice": true
}
],
"Errors": [
"string",
"string"
]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<UserProfileFieldTypes PageSize="2" PageIndex="0" TotalCount="2">
<UserProfileFieldType>
<Id>6</Id>
<Name>name</Name>
<IsSearchable>true</IsSearchable>
<IsMultipleChoice>true</IsMultipleChoice>
</UserProfileFieldType>
<UserProfileFieldType>
<Id>25</Id>
<Name>name</Name>
<IsSearchable>true</IsSearchable>
<IsMultipleChoice>true</IsMultipleChoice>
</UserProfileFieldType>
</UserProfileFieldTypes>
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>