Skip to content

Returns the due date and Context policy without granting access to Context data.

GET
/api/workspace/tasks/configuration/task-definitions/{taskDefinitionId}/creation-policy
curl --request GET \
--url https://example.com/api/workspace/tasks/configuration/task-definitions/example/creation-policy \
--header 'Authorization: Bearer <token>'
taskDefinitionId
required
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
object
DueDateMode
integer format: int32
Allowed values: 0 1 2
ContextRequired
boolean
ResponsibleRequiredOnCreate
boolean
AllowedContextDefinitions
Array<object>
nullable
object
AdmissionId
string
nullable
ModuleKey
string
nullable
ResourceKind
string
nullable
ContextResourceId
string
nullable
Key
string
nullable
DisplayName
string
nullable
IsAvailable
boolean
UnavailableReasonCode
string
nullable
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
{
"Data": {
"DueDateMode": 0
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}