Update an Action Item

post/update/AI

Updates an existing Action Item.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
required
object

data should contain the typedId of the Action Item you want to update and the updated field.

assignedTo
number
typedId
required
string non-empty
required
object
version
required
number
typedId
required
string non-empty
createdByName
string non-empty
assignedTo
number
assignedToName
string non-empty
description
string non-empty
dueDate
string non-empty
status
string non-empty
summary
string non-empty
lastUpdateByName
string non-empty
parentTypedId
string non-empty
createDate
string non-empty
createdBy
number
lastUpdateDate
string non-empty
lastUpdateBy
number
operationType
string non-empty
textMatchStyle
string non-empty
Responses
200

OK

Response Schema: application/json
object
node
string
Array of objects (ActionItem)
Array
lastUpdateByName
string or null <= 255 characters
Array of objects
createdByName
string or null <= 255 characters
typedId
string
assignedToName
string <= 255 characters
lastUpdateDate
string <date-time>
dueDate
string <date-time>
actionItemType
required
string
description
string or null
parentTabName
string or null <= 255 characters
assignedTo
required
integer
assignedToGroup
string or null <= 255 characters
sourceContext
string or null <= 255 characters
targetContext
string or null <= 255 characters
parentTypedId
string or null <= 255 characters
completedByName
string or null <= 255 characters
createDate
string <date-time>
summary
required
string <= 255 characters
originatorTypedId
string or null <= 255 characters
version
integer
completedDate
string or null <date-time>
uniqueName
string <= 255 characters
createdBy
integer
completedBy
integer or null
status
string <= 255 characters
Possible values: "OPEN" "DONE" "REJECTED" "BLOCKED" "POSTPONED"
lastUpdateBy
integer
status
integer
Request samples
application/json
{
  • "data": {
    • "typedId": "70.AI",
    • "assignedTo": 2147490806
    },
  • "oldValues": {
    • "version": 2,
    • "typedId": "70.AI",
    • "createdByName": "admin",
    • "assignedTo": 2147490696,
    • "assignedToName": "admin",
    • "description": "This action is really important!",
    • "dueDate": "2023-06-30T00:00:00",
    • "lastUpdateByName": "admin",
    • "summary": "Important Action2",
    • "outputs": [ ],
    • "status": "OPEN",
    • "uniqueName": "AI-70",
    • "createDate": "2023-06-27T12:59:15",
    • "createdBy": 2147490696,
    • "lastUpdateDate": "2023-06-27T12:59:15",
    • "lastUpdateBy": 2147490696,
    • "actionItemType": "__DEFAULT__",
    • "_key": "70.AI",
    • "_level": 0
    },
  • "operationType": "update",
  • "textMatchStyle": "exact"
}
Response samples
application/json
{
  • "response": {
    • "node": "pricefx-cluster-app-frontend",
    • "data": [
      • {
        • "version": 3,
        • "typedId": "70.AI",
        • "createdByName": "admin",
        • "assignedTo": 2147490806,
        • "assignedToName": "userloser",
        • "assignedToGroup": null,
        • "description": "This action is really important!",
        • "dueDate": "2023-06-30T00:00:00",
        • "completedDate": null,
        • "lastUpdateByName": "admin",
        • "summary": "Important Action2",
        • "completedBy": null,
        • "completedByName": null,
        • "parentTypedId": null,
        • "parentTabName": null,
        • "originatorTypedId": null,
        • "sourceContext": null,
        • "targetContext": null,
        • "outputs": [ ],
        • "status": "OPEN",
        • "uniqueName": "AI-70",
        • "createDate": "2023-06-27T12:59:15",
        • "createdBy": 2147490696,
        • "lastUpdateDate": "2023-06-27T13:02:46",
        • "lastUpdateBy": 2147490696,
        • "actionItemType": "__DEFAULT__"
        }
      ],
    • "status": 0
    }
}