List User Fields API is returning 0 fields
List users fields API is returning no fields.I am able to create user and even those user fields were not returned.
-
You are creating a user and expecting it to show up in user fields? I am confused, you should POST a user field to the user_fields endpoint and then it will show up when you send a GET request to the user_fields endpoint
-
Hi svc_dev,
The user field end point is to manage and configure custom user fields, not their values. For example, you can use it to create a custom drop down type field to enable agents to store any and/or all users' membership type. But you cannot use it to read or set the membership type of user A.
When you create a user and fill in details such as name, email, ..etc, these are system fields. The values can be modified but the fields themselves can't. They will not be returned in the user fields API.
-
Ahmed Zaid, I am not expecting the values of the created user to come up at list user_fields API response but I am expecting those field names(system/custom fields) to come up at API response.
-
Understood. It seems that, unlike ticket fields API, user fields API does not return system fields. It will only return the fields you create.
-
Ahmed Zaid, Yes
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
5 Kommentare