PATCH
/
api2
/
v3
/
jobs
Edit jobs (with possible partial updates)
curl --request PATCH \
  --url https://cloud.memsource.com/web/api2/v3/jobs \
  --header 'Content-Type: application/json' \
  --data '{
  "jobs": [
    {
      "uid": "<string>"
    }
  ],
  "status": "NEW",
  "dateDue": "2023-11-07T05:31:56Z",
  "clearDateDue": true,
  "providers": [
    {
      "type": "<string>",
      "id": "<string>"
    }
  ],
  "customFields": {
    "addInstances": [
      {
        "customField": {
          "uid": "<string>"
        },
        "selectedOptions": [
          {
            "uid": "<string>"
          }
        ],
        "value": "<string>"
      }
    ],
    "removeInstances": [
      {
        "uid": "<string>"
      }
    ],
    "updateInstances": [
      {
        "customFieldInstance": {
          "uid": "<string>"
        },
        "customField": {
          "uid": "<string>"
        },
        "selectedOptions": [
          {
            "uid": "<string>"
          }
        ],
        "value": "<string>"
      }
    ]
  }
}'
{
  "updated": 123,
  "errors": [
    {
      "code": "<string>",
      "args": {},
      "message": "<string>"
    }
  ]
}

Body

application/json

Response

200
application/json

successful operation

The response is of type object.