Skip to content

Initial Working availability for the participants the Creator intends to assign (absent = unassigned). UI guidance computed from ids on the server; the create command rechecks the grant.

GET
/api/workspace/tasks/runtime/create-options/{definitionId}/working-capability
curl --request GET \
--url https://example.com/api/workspace/tasks/runtime/create-options/example/working-capability \
--header 'Authorization: Bearer <token>'
definitionId
required
string
ownerWorkerId
string
responsibleWorkerId
string
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

OK

Media typeapplication/json
object
Data

Whether the actor may supply initial Working values for the initial participants it intends to assign (null = unassigned). Server-computed from ids under the Definition’s Working edit rule in Idle; a participant the actor may not assign yields false. The create command rechecks the grant, so this is UI guidance only.

object
OwnerWorkerId
string
nullable
ResponsibleWorkerId
string
nullable
CanSupplyWorking
boolean
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}