Update

Update a project

Update

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaprojects.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
ActionYesThe action to performaction=update
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
projectuuidYesUUID"projectuuid": "F3B87E75F9194643AEBCE99015ADF80C",
projectHandlerUserIDNoProject handler"projectHandlerUserID": 5
projectNameNoProject name"projectName": "My new project name"

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
https://<SERVER>/jsonapi/projects.json?version=6&&action=update&input={
  "data": [
    {
      "projectuuid": "F3B87E75F9194643AEBCE99015ADF80C",
      "projectName": "My new project name",
      "projectHandlerUserID": 5
    }
  ]
}

Example request (legacy username/password):

https://<SERVER>/jsonapi/projects.json?version=6&&action=update&input={
  "data": [
    {
      "projectuuid": "F3B87E75F9194643AEBCE99015ADF80C",
      "projectName": "My new project name",
      "projectHandlerUserID": 5
    }
  ]
}&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "synversion": "15.000.0017",
  "synapiversion": 6,
  "data": [
    {
      "projectHandlerUserID": 5,
      "projectuuid": "F3B87E75F9194643AEBCE99015ADF80C",
      "projectNo": 621,
      "projectTimeStampModified": 1753710905,
      "projectRecordVersionNumber": 3
    }
  ]
}