Skip to main content

Read Enrollments

POST 

/api/web/v2/enrollments/read/:enrollmentDesignName

Read one or more enrollments. Caller requires the ENROLLMENTS:VIEW permission.

Request

Path Parameters

    enrollmentDesignName stringrequired

    Name of the enrollment design

Query Parameters

    offset int32

    Default value: 1

    Page number offset, default value is 1

    limit int32

    Default value: 50

    Page size limit, default value is 50

Body

array

required

  • Array [

  • name string

    Name of the enrollment field

    value string

    Value of the enrollment field.
    Accepted Date Formats: YYYY-MM-DD, MM/DD/YYYY, YYYY-MM-DDTHH:MM:SSZ, YYYY-MM-DDTHH:MM:SS

  • ]

Responses

OK

Schema

  • Array [

  • error string

    Error message for the failed enrollment record (For create/update/delete enrollments request)

    fields

    object[]

    List of enrollment fields having field name and field value (For search enrollments request only)

  • Array [

  • name string

    Name of the enrollment field

    value string

    Value of the enrollment field.
    Accepted Date Formats: YYYY-MM-DD, MM/DD/YYYY, YYYY-MM-DDTHH:MM:SSZ, YYYY-MM-DDTHH:MM:SS

  • ]

  • id string

    Id of the enrollment (In Base64 string format)

    status string

    Status (Success/Failure) of the enrollment record (To check if the requested enrollment is successfully created/updated/deleted or not)

  • ]

Loading...