Renew an expiration item

PUT https://api.expirationreminder.net/v1/expirationitems/{id}/renew

Path Parameters

id string Required

Request Body

Property Type Required Description
expiration_date string Yes -
details string No -

Sample Request

{
  "expiration_date": "string",
  "details": "string"
}
PUT /v1/expirationitems/{id}/renew
$ curl https://api.expirationreminder.net/v1/expirationitems/{id}/renew \
  -H "Authorization: Bearer <token>"

Responses

Property Type Description
id string (uuid) -
name string -
expiration_date string -
status string -
time_of_day string -
category object -
details string -
assigned_to object -
status_id integer (int32) -
modified string -
category_name string -
is_active boolean -
team_id string (uuid) -
contacts object[] -
attachments object[] -
custom_fields object[] -
locations object[] -
tags object[] -
contact_id string (uuid) -

Example Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "name": "string",
  "expiration_date": "string",
  "status": "string",
  "time_of_day": "string",
  "category": {
    "name": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "modified": "string",
    "is_active": false,
    "team_id": "00000000-0000-0000-0000-000000000000",
    "custom_fields": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "internal_name": "string"
  }
  ]
  },
  "details": "string",
  "assigned_to": {
    "name": "string",
    "email": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "team_id": "00000000-0000-0000-0000-000000000000"
  },
  "status_id": 0,
  "modified": "string",
  "category_name": "string",
  "is_active": false,
  "team_id": "00000000-0000-0000-0000-000000000000",
  "contacts": [
    {
    "name": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "email": "string",
    "timezone": "string",
    "mobile": "string",
    "phone": "string",
    "assigned_to": {
    "name": "string",
    "email": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "team_id": "00000000-0000-0000-0000-000000000000"
  },
    "type_id": "00000000-0000-0000-0000-000000000000",
    "contact_id": "string",
    "location_id": "00000000-0000-0000-0000-000000000000",
    "team_id": "00000000-0000-0000-0000-000000000000",
    "is_active": false,
    "modified": "string",
    "custom_fields": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "value": "string"
  }
  ]
  }
  ],
  "attachments": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "content": "string",
    "name": "string",
    "content_type": "string",
    "created": "string",
    "content_legth": 0
  }
  ],
  "custom_fields": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "value": "string"
  }
  ],
  "locations": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "parent_location_id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "team_id": "00000000-0000-0000-0000-000000000000",
    "modified": "string",
    "custom_fields": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "value": "string"
  }
  ]
  }
  ],
  "tags": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "team_id": "00000000-0000-0000-0000-000000000000",
    "modified": "string",
    "organization_id": "00000000-0000-0000-0000-000000000000"
  }
  ],
  "contact_id": "00000000-0000-0000-0000-000000000000"
}

Bad Request

Property Type Description
message string -
ok boolean -

Example Response

{
  "message": "string",
  "ok": false
}

Not Found

Property Type Description
message string -
ok boolean -

Example Response

{
  "message": "string",
  "ok": false
}
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.