Get a list of user Custom Fields.
get
/learn.rest/v1/learnCenters/{learnCenterId}/userCustomFields
Request
Path Parameters
-
learnCenterId(required): number
Unique identifier of a Learn Center.
Query Parameters
-
limit: integer
Specify how many items should be returned in a payload. Must be lower than server default limit size.
-
offset: integer
Specify the starting point of the response.Default Value:
0
-
totalResults: boolean
If set to true, the payload includes the total number of rows that satisfies the request. Use of this parameter determines if the last link is displayed for a pageable collection.
Response
Supported Media Types
- application/xml
- application/json
200 Response
The user custom fields collection is fetched.
Root Schema : UserCustomFieldsResponse
Type:
Show Source
object
-
count:
number
Example:
100
-
hasMore:
boolean
Example:
false
-
items:
array items
-
limit:
number
Example:
100
-
links:
array links
Nested Schema : links
Type:
Show Source
array
Example:
[
{
"rel":"canonical",
"href":"{url}/learn.rest/v1/learnCenters/178409/userCustomFields"
}
]
Nested Schema : User Custom Fields
Type:
Show Source
object
-
defaultValue:
string
Example:
n/a
-
elementOptions:
array elementOptions
-
elementShowSelectOne:
boolean
Example:
false
-
elementType:
string
Example:
radio
-
id:
number
Example:
123
-
learnCenter:
object learnCenter
-
learnCenterId:
string
Example:
178409
-
links:
object UserCustomFieldLink
-
name:
string
Example:
User Custom Field 1
- sharedFlag: boolean
-
status:
string
Allowed Values:
[ "active", "inactive" ]
Example:active
Nested Schema : UserCustomFieldLink
Type:
Show Source
object
Example:
{
"rel":"canonical",
"href":"https://{url}/learn.rest/v1/learnCenters/178409/userCustomFields/102"
}
Nested Schema : UserCustomFieldElementOptionsLink
Type:
Show Source
object
-
isDefault:
boolean
Example:
false
-
value:
string
Example:
first value
Nested Schema : LearnCenterLink
Type:
Show Source
object
-
href:
string
Example:
{url}/learn.rest/v1/learnCenters/178409
-
rel:
string
Example:
canonical
401 Response
500 Response
Internal server error.