Update a custom field for a class enrollment
    • 16 Jul 2024
    • 1 Minute to read

    Update a custom field for a class enrollment


    Article summary

    Get
    /UpdateClassEnrollmentCustomFieldValue

    Updates the current value of a specific custom field for a class enrollment.

    Security
    API Key
    Header parameter nameapi_key
    Query parameters
    customFieldId
    stringRequired

    The ID of the custom field.

    classEnrollmentId
    stringRequired

    The ID of the class enrollment holding the custom field.

    textValue
    string

    The value of a text type class enrollment custom field: Textbox and Dropdown List

    numericValue
    string

    The value of a numeric type class enrollment custom field

    booleanValue
    boolean

    The value for a boolean type class enrollment custom field.

    separatedListValues
    string

    A Tab separated list of all the text values for a multi-select custom field type: Checkbox List

    Responses
    200

    OK Response

    object
    Status
    integer (int32)

    Indicates the status of the API request.

    0 = Success
    10 = Error
    20 = Not found
    30 = Invalid integration key

    Example10
    Error
    string | null

    Error details. This will only have a value if an error was encountered. The status property will also be set to Error (10).

    Id
    integer (int32)

    The custom field's unique identifier

    Name
    string

    The name of the custom field

    DataTypeId
    integer (int32)

    The data type id of the custom field
    0 - Textbox
    10 - Dropdown List
    20 - Checkbox
    30 - Number
    60 - User Selector
    70 - Checkbox List

    TextValue
    string | null

    The text value of a custom field, if any.

    NumericValue
    integer (int32) | null

    The integer value of a custom field, if any.

    BooleanValue
    boolean | null

    The boolean value of a custom field, if any.

    SeparatedListValue
    string | null

    A tab separated list of the selected values of a custom field.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.