TicketTemplateRelation

PUT /ticket/{ticketId}/templates/{ticketTemplateId}

Request

  • Base URL
    https://api.c1st.com/api
  • URL
    https://api.c1st.com/api/ticket/{ticketId}/templates/{ticketTemplateId}
  • Auth
    HTTP bearer

Request body

positionAfterIdnumber nullable

If this is set, the position of this TicketTemplateRelation will be between positionaftermaterialid and the TicketTemplateRelation below if (if it exists)

positionBeforeIdnumber nullable

If this is set, the position of this TicketTemplateRelation will be between positionbeforematerialid and the TicketTemplateRelation above if (if it exists)

Example request

{
  "content": {
    "id": 1,
    "ticketid": 1,
    "template": {
      "id": 1,
      "label": "Bestillingsvarer",
      "expected_minutes": 15
    },
    "note": "Task template relation note",
    "duedate": "2024-08-03 17:15:00",
    "updated_at": "2023-08-03 17:15:00",
    "created_at": "2023-08-03 17:15:00",
    "notified_at": "2023-08-03 17:15:00",
    "status_changed_by_userid": 3,
    "expected_minutes": 15
  }
}

Response

Ok

Example response

{
  "content": {
    "id": 1,
    "ticketid": 1,
    "template": {
      "id": 1,
      "label": "Bestillingsvarer",
      "expected_minutes": 15
    },
    "note": "Task template relation note",
    "duedate": "2024-08-03 17:15:00",
    "updated_at": "2023-08-03 17:15:00",
    "created_at": "2023-08-03 17:15:00",
    "notified_at": "2023-08-03 17:15:00",
    "status_changed_by_userid": 3,
    "expected_minutes": 15
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.