Update a job/phase stage
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | workflow.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Action | Yes | The action to perform | action=update | |
Input | Yes | JSON string | see below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
stageUuid | Yes | Client code | "ABA4D4E835F3424488796A028AA7F943" |
stageDescription | No | Stage name | "Notes from meeting 22/4/2024" |
Example request:
http://<SERVER>/jsonapi/workflow.json?user=user&password=user&version=4&action=update&input={
"data": [
{
"stageUuid": "ABA4D4E835F3424488796A028AA7F943",
"stageDescription": "Notes from meeting 22/4/2024"
}
]
}
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"synversion": "13.010.0078",
"synapiversion": 4.01,
"data": [
{
"stageUuid": "ABA4D4E835F3424488796A028AA7F943",
"stageCode": "43/W0000010756",
"stageTimeStampModified": 1731952209,
"stageRecordVersionNumber": 3
}
]
}