ApiResponseStandardIamJobFunction
data object
falsePossible values: [ORGANIZATION_AFFILIATION, BASE_EMPLOYEE, CASHIER, STOCK_PERSON, HEAD_CASHIER, ASSISTANT_MANAGER, MANAGER, STORE_OWNER, ORGANIZATION_OWNER]
inheritedJobFunctions object[]required
Possible values: [ORGANIZATION_AFFILIATION, BASE_EMPLOYEE, CASHIER, STOCK_PERSON, HEAD_CASHIER, ASSISTANT_MANAGER, MANAGER, STORE_OWNER, ORGANIZATION_OWNER]
Possible values: [PROTECTED, CUSTOM]
policyGraph object[]required
Possible values: [PERMIT, DENY]
responsibilities object[]required
Possible values: [ORGANIZATION_AFFILIATION, BASE_EMPLOYEE, CASHIER, STOCK_PERSON, HEAD_CASHIER, ASSISTANT_MANAGER, MANAGER, STORE_OWNER, ORGANIZATION_OWNER]
Possible values: [resp.employee_self_service, resp.checkout, resp.cash_operations, resp.compliance_verification, resp.compliance_override, resp.refund_processing, resp.refund_approval, resp.discount_application, resp.inventory_viewing, resp.inventory_counting, resp.inventory_adjustment, resp.inventory_receiving, resp.inventory_transfers, resp.appointment_viewing, resp.appointment_operations, resp.team_scheduling, resp.staff_management, resp.store_administration, resp.store_ownership, resp.organization_membership, resp.organization_ownership]
permissions object[]required
responsibilityCoverage object[]required
Possible values: [resp.employee_self_service, resp.checkout, resp.cash_operations, resp.compliance_verification, resp.compliance_override, resp.refund_processing, resp.refund_approval, resp.discount_application, resp.inventory_viewing, resp.inventory_counting, resp.inventory_adjustment, resp.inventory_receiving, resp.inventory_transfers, resp.appointment_viewing, resp.appointment_operations, resp.team_scheduling, resp.staff_management, resp.store_administration, resp.store_ownership, resp.organization_membership, resp.organization_ownership]
Possible values: [ORGANIZATION, STORE]
Possible values: [VISIBLE, HIDDEN, ARCHIVED]
error object
details objectnullable
- ScheduleErrorDetails
- GatewayErrorDetails
fieldErrors objectnullable
meta object
{
"data": {
"assignedEmployeeCount": 0,
"canArchive": true,
"canDuplicate": true,
"canDuplicateAtOrganization": false,
"canEdit": true,
"canHide": true,
"canManageColor": true,
"canRestore": true,
"delegationBand": "ORGANIZATION_AFFILIATION",
"description": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"inheritedJobFunctions": [
{
"delegationBand": "ORGANIZATION_AFFILIATION",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
],
"kind": "PROTECTED",
"name": "string",
"policyGraph": [
{
"action": "string",
"effect": "PERMIT",
"policyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"resource": "string"
}
],
"responsibilities": [
{
"delegationBand": "ORGANIZATION_AFFILIATION",
"delegationLevel": 0,
"description": "string",
"key": "resp.employee_self_service",
"name": "string",
"permissions": [
{
"dangerous": true,
"displayName": "string",
"key": "string"
}
],
"storeScopeAllowed": true
}
],
"responsibilityCoverage": [
{
"description": "string",
"grantedPermissionKeys": [
"string"
],
"key": "resp.employee_self_service",
"missingPermissionKeys": [
"string"
],
"name": "string"
}
],
"roleKey": "string",
"scope": "ORGANIZATION",
"status": "VISIBLE",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"error": {
"code": "string",
"correlationId": "string",
"detail": "string",
"details": {
"currentVersion": "string",
"dates": [
"2024-07-29"
],
"occurrenceRefs": [
"string"
],
"requestIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"total": 0,
"truncated": true
},
"fieldErrors": {},
"gatewayErrorCode": "string",
"message": "string",
"retryable": true
},
"meta": {
"limit": 0,
"nextCursor": "string",
"page": 0,
"scheduleVersion": "string",
"total": 0,
"totalPages": 0
},
"success": true
}