ApiResponseStandardIamPersonAccess
data object
capabilitiesByScope object[]required
Possible values: [ORGANIZATION, STORE]
effectivePermissions object[]required
Possible values: [ORGANIZATION, STORE]
sources object[]required
Possible values: [PERMIT, DENY]
Possible values: [ORGANIZATION, STORE]
Possible values: [JOB_FUNCTION, GROUP_ASSIGNMENT]
effectiveResponsibilities 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]
sources object[]required
Possible values: [PERMIT, DENY]
Possible values: [ORGANIZATION, STORE]
Possible values: [JOB_FUNCTION, GROUP_ASSIGNMENT]
groupAssignments object[]required
Possible values: [ADDITIONAL_ACCESS, RESTRICTION]
Possible values: [ORGANIZATION, STORE]
organizationJobFunction object
primaryJobFunctions object[]required
error object
details objectnullable
- ScheduleErrorDetails
- GatewayErrorDetails
fieldErrors objectnullable
meta object
{
"data": {
"capabilitiesByScope": [
{
"canAddGroupAssignment": true,
"canAssignJobFunction": true,
"scope": "ORGANIZATION",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"storeName": "string"
}
],
"effectivePermissions": [
{
"allowed": true,
"explanation": "string",
"permissionKey": "string",
"scope": "ORGANIZATION",
"sources": [
{
"effect": "PERMIT",
"expiresAt": "2024-07-29T15:51:28.071Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"permissionKeys": [
"string"
],
"reason": "string",
"scope": "ORGANIZATION",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"storeName": "string",
"type": "JOB_FUNCTION"
}
],
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"storeName": "string"
}
],
"effectiveResponsibilities": [
{
"allowed": true,
"description": "string",
"explanation": "string",
"grantedPermissionKeys": [
"string"
],
"key": "resp.employee_self_service",
"missingPermissionKeys": [
"string"
],
"name": "string",
"scope": "ORGANIZATION",
"sources": [
{
"effect": "PERMIT",
"expiresAt": "2024-07-29T15:51:28.071Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"permissionKeys": [
"string"
],
"reason": "string",
"scope": "ORGANIZATION",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"storeName": "string",
"type": "JOB_FUNCTION"
}
],
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"storeName": "string"
}
],
"groupAssignments": [
{
"assignmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"canRemove": true,
"expiresAt": "2024-07-29T15:51:28.071Z",
"kind": "ADDITIONAL_ACCESS",
"name": "string",
"reason": "string",
"responsibilityNames": [
"string"
],
"scope": "ORGANIZATION",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"storeName": "string"
}
],
"organizationJobFunction": {
"expiresAt": "2024-07-29T15:51:28.071Z",
"jobFunctionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"jobFunctionName": "string"
},
"primaryJobFunctions": [
{
"expiresAt": "2024-07-29T15:51:28.071Z",
"jobFunctionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"jobFunctionName": "string",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"storeName": "string"
}
],
"userId": "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
}