Update a Reason
put
/primeapi/restapi/reason
Send a request to this endpoint to update a reason.
Request
Supported Media Types
- application/json
A reason object.
Root Schema : ApiEntityReason
Type:
Show Source
object
-
abbreviation:
string
The abbreviation of the reason for recommitting to a task.
-
appliesTo(optional):
array appliesTo
The type of the reason.
-
link(optional):
string(url)
Read Only:
true
-
pushDownType(optional):
string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]
How data is shared between parent and child workspaces.
Manual: Data can be pulled down by child workspaces. This is the default option.
Automatic: Data is automatically shared with all child workspaces. -
reasonId(optional):
integer(int64)
The unique identifier of a reason.
-
reasonName:
string
The name of the reason for recommitting to a task.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
workspaceId:
integer(int64)
The unique identifier of a workspace.
Nested Schema : appliesTo
Type:
array
The type of the reason.
Show Source
-
[0]:
string
Allowed Values:
[ "TASKS", "CHANGE_EVENT" ]
Response
Supported Media Types
- application/json
204 Response
Successful operation with no content.
400 Response
Invalid input for a baseline reason.