Assignments

Update Assignment

Updates an assignment

patch/v3/gfw/assignments/{assignmentId}

Request

  • Base URL
    http://localhost:3000
  • URL
    http://localhost:3000/v3/gfw/assignments/{assignmentId}
  • Auth
    HTTP bearer

Request body multipart/form-data

namestring
priorityinteger
monitorsstring[]
notesstring
status'open' | 'completed' | 'on hold'
templateIdsstring[]
imagestring binary

Image file

Response

Single assignment

Example response

{
  "data": {
    "attributes": {
      "name": "string",
      "location": "string",
      "priority": 0,
      "monitors": [
        "string"
      ],
      "notes": "string",
      "status": "string",
      "alert": "string",
      "areaId": "string",
      "templateIds": [
        "string"
      ],
      "teamIds": [
        "string"
      ],
      "createdAt": 0,
      "createdBy": "string",
      "areaName": "string"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.