Skip to main content

UserCertificateFields

The results of this query can be affected by providing an authToken header to set a user for the operation.

UserCertificateFields: [CertificateField!]

Directives

authAccess

This requires the current user to be in STUDENT role.

Type

CertificateField object

Examples

Run in Postman

Query:

UserCertificateFields {
UserCertificateFields {
id
type
label
includeOnTranscript
includeOnExternalCertificate
text
awardType {
...AwardTypeFragment
}
awardTypeId
customField {
...CustomFieldFragment
}
customFieldSlug
sessionCustomContentFieldSlug
userCustomField {
...UserCustomFieldFragment
}
userCustomFieldSlug
identifierPrefix
identifierBodyLength
hasIdentifierPrefix
dateFormat
}
}

Variables:

{ul}

Response:

{
"data": {
"UserCertificateFields": [
{
"id": "58ccb96c-8e90-4464-86e0-f284442981df",
"type": "nameLabel",
"label": "abc123",
"includeOnTranscript": false,
"includeOnExternalCertificate": true,
"text": "abc123",
"awardType": "AwardType",
"awardTypeId": "58ccb96c-8e90-4464-86e0-f284442981df",
"customField": "CustomField",
"customFieldSlug": "Slug",
"sessionCustomContentFieldSlug": "Slug",
"userCustomField": "UserCustomField",
"userCustomFieldSlug": "Slug",
"identifierPrefix": "xyz789",
"identifierBodyLength": 678,
"hasIdentifierPrefix": true,
"dateFormat": "iso8601"
}
]
}
}