jobs/{id}/properties (post)

To update properties of a Standard or Codyt job.

All parameters except id are optional so you can update only what you want or everything.

URL

(POST) jobs/{id}/properties

PARAMETERS

URL parameters are:


id

The job ID. Also see jobs/{id}/summary

string, Mandatory


REQUEST BODY

The other parameters are included as a JSON object in the request body:

deadline

Optional deadline date. A string that includes time zone information and conforms to ISO 8601

Date time

Optional

status

Status of the task. See Job Status for status values.

Int

Optional

reference

The new reference (only for standard jobs)

String

Optional

cfs

Custom field object.

Object

Optional


cfs object

cfid

Custom field Id, ex: CustomStr1 id is 1

Int

Mandatory

value

Custom field new value

String

Mandatory

Example:

JavaScript
{
	"deadline": "2019-09-05T10:40:11Z",
	"status": 1,
	"reference": "",	
    "cfs":[        {
               "cfid":1,
               "value":"Custom"
               },
              {
               "cfid": 2,
               "value":"true"
              }
         ]
}


SUCCESS RESULT

None