Get Many Scopes
Bad Request
Unauthorized
Forbidden
Internal server error
{- "status": "ok",
- "data": [
- {
- "parentId": "507f1f77bcf86cd799439011",
- "parentType": "DocumentFolder",
- "excludeEmployeeScope": [ ],
- "employeeScope": [ ],
- "officeScope": [ ],
- "groupScope": [ ],
- "employmentTypeScope": [ ],
- "entireCompany": true,
- "teamScope": [ ],
- "organizationScope": [ ],
- "employeeIds": [
- "string"
], - "companyId": "507f1f77bcf86cd799439011",
- "id": "507f1f77bcf86cd799439011",
- "filters": "[]",
- "static": true
}
], - "total": 500,
- "count": 50,
- "offset": 50,
- "relations": { }
}Create One Scope
Bad Request
Unauthorized
Forbidden
Internal server error
{- "companyId": "5beadbdb01da0a0028a66e99",
- "parentId": "507f1f77bcf86cd799439011",
- "parentType": "DocumentFOlder",
- "namespace": {
- "entity": "DocumentFolder",
- "key": null
}, - "excludeEmployeeScope": "[]",
- "employeeScope": "[]",
- "officeScope": "[]",
- "groupScope": "[]",
- "organizationScope": "[]",
- "employmentTypeScope": "[]",
- "entireCompany": true,
- "teamScope": "[]",
- "filters": "[]",
- "static": true
}{- "status": "ok",
- "data": {
- "parentId": "507f1f77bcf86cd799439011",
- "parentType": "DocumentFolder",
- "excludeEmployeeScope": [ ],
- "employeeScope": [ ],
- "officeScope": [ ],
- "groupScope": [ ],
- "employmentTypeScope": [ ],
- "entireCompany": true,
- "teamScope": [ ],
- "organizationScope": [ ],
- "employeeIds": [
- "string"
], - "companyId": "507f1f77bcf86cd799439011",
- "id": "507f1f77bcf86cd799439011",
- "filters": "[]",
- "static": true
}
}Get One Scope
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "status": "ok",
- "data": {
- "parentId": "507f1f77bcf86cd799439011",
- "parentType": "DocumentFolder",
- "excludeEmployeeScope": [ ],
- "employeeScope": [ ],
- "officeScope": [ ],
- "groupScope": [ ],
- "employmentTypeScope": [ ],
- "entireCompany": true,
- "teamScope": [ ],
- "organizationScope": [ ],
- "employeeIds": [
- "string"
], - "companyId": "507f1f77bcf86cd799439011",
- "id": "507f1f77bcf86cd799439011",
- "filters": "[]",
- "static": true
}, - "relations": { }
}Update One Scope
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "excludeEmployeeScope": "[]",
- "employeeScope": "[]",
- "officeScope": "[]",
- "groupScope": "[]",
- "organizationScope": "[]",
- "employmentTypeScope": "[]",
- "entireCompany": true,
- "teamScope": "[]",
- "filters": "[]",
- "static": true
}{- "status": "ok",
- "data": {
- "parentId": "507f1f77bcf86cd799439011",
- "parentType": "DocumentFolder",
- "excludeEmployeeScope": [ ],
- "employeeScope": [ ],
- "officeScope": [ ],
- "groupScope": [ ],
- "employmentTypeScope": [ ],
- "entireCompany": true,
- "teamScope": [ ],
- "organizationScope": [ ],
- "employeeIds": [
- "string"
], - "companyId": "507f1f77bcf86cd799439011",
- "id": "507f1f77bcf86cd799439011",
- "filters": "[]",
- "static": true
}
}Replace One Scope
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "excludeEmployeeScope": "[]",
- "employeeScope": "[]",
- "officeScope": "[]",
- "groupScope": "[]",
- "organizationScope": "[]",
- "employmentTypeScope": "[]",
- "entireCompany": true,
- "teamScope": "[]",
- "filters": "[]",
- "static": true
}{- "status": "ok",
- "data": {
- "parentId": "507f1f77bcf86cd799439011",
- "parentType": "DocumentFolder",
- "excludeEmployeeScope": [ ],
- "employeeScope": [ ],
- "officeScope": [ ],
- "groupScope": [ ],
- "employmentTypeScope": [ ],
- "entireCompany": true,
- "teamScope": [ ],
- "organizationScope": [ ],
- "employeeIds": [
- "string"
], - "companyId": "507f1f77bcf86cd799439011",
- "id": "507f1f77bcf86cd799439011",
- "filters": "[]",
- "static": true
}
}