Skip to main content
POST
/
v1
/
process
/
updateProcessField
curl --location 'https://api.sarasfinance.com/v1/process/updateProcessField' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
    "processId": "ef341826-1cab-4680-aa52-efd001f9da00",
    "updates": {
        "productName": "CORE - Custom LLM"
    },
    "subProjectId": "93d599a6-a396-4ef6-b30e-aff95c56c523"
}'
{
  "status": "success",
  "message": "Process field updated successfully"
}

Body Parameters

processId
string
required
The unique ID of the process to update.
subProjectId
string
required
The unique identifier for the sub-project.
updates
object
required
A key-value map of the fields to update. Example: {"productName": "CORE - Custom LLM"}

Response

status
string
Success or failure status message.
curl --location 'https://api.sarasfinance.com/v1/process/updateProcessField' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
    "processId": "ef341826-1cab-4680-aa52-efd001f9da00",
    "updates": {
        "productName": "CORE - Custom LLM"
    },
    "subProjectId": "93d599a6-a396-4ef6-b30e-aff95c56c523"
}'
{
  "status": "success",
  "message": "Process field updated successfully"
}

Error Codes

CodeIDDescription
ERROR_PROCESS_ID_NOT_FOUND1221Specified process ID does not exist
ERROR_NOT_ALLOWED_TO_UPDATE1207User unauthorized to update data
ERROR_UPDATING_PROCESS_FIELDS1224Internal error during field update
ERROR_PROCESS_UNKNOWN_FIELD_IN_REQUEST1231Invalid field name in request
ERROR_PROCESS_INVALID_FIELD_VALUE1232Invalid value provided for field
ERROR_RBAC_SETTINGS_MISSING1203RBAC configuration missing