List User Fields API is returning 0 fields

5 Kommentare

  • Jack Appamondo

    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

    0
  • Ahmed Zaid
    Community Moderator

    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.

    0
  • svc_dev

    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.

    0
  • Ahmed Zaid
    Community Moderator

    Understood. It seems that, unlike ticket fields API, user fields API does not return system fields. It will only return the fields you create.

    0
  • svc_dev

    Ahmed Zaid, Yes

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk