PUT /sequence/v1/series/{series_id}/entries/{id}

Create a new entry in a given series idempotently with the given UUID (any version).

Request

  • Base URL
    https://api.invopop.com
  • Auth
    none required

Path parameters

series_idstring required

UUID of the series to create the entry in

idstring required

The UUID (any version) of the entry to create.

Example:a8904315-3d16-4a95-91c1-30d6cdde553e

Request body

metaobject

A set of key/value pairs that can be used to store additional information about the entry.

sigstring

JSON Web Signature of the key properties used to create the entry.

Example request

{
  "meta": {
    "name": "John Doe"
  }
}

Response

OK

codestring

The complete code for the entry, including prefix and suffix.

created_atstring

The date and time the entry was created.

idstring

The UUID (any version) of the entry.

metaobject

A set of key/value pairs that can be used to store additional information about the entry.

previous_idstring

The UUID of the previous entry in the series.

series_idstring

The UUID of the series the entry belongs to.

sigsstring[]

Set of JSON Web Signatures validating the information contained in the entry.

updated_atstring

The date and time the entry was last updated.

Example response

{
  "code": "INV-00001-F1",
  "created_at": "2020-10-01T00:00:00Z",
  "id": "a8904315-3d16-4a95-91c1-30d6cdde553e",
  "meta": {
    "name": "John Doe"
  },
  "previous_id": "a8904315-3d16-4a95-91c1-30d6cdde553e",
  "series_id": "a8904315-3d16-4a95-91c1-30d6cdde553e",
  "updated_at": "2020-10-01T00:00:00Z"
}

Changes

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