Entries
Create a series entry
Create a new entry in a given series idempotently with the given UUID (any version).
PUT
/
sequence
/
v1
/
series
/
{series_id}
/
entries
/
{id}
Authorization
Path
Body
curl --request PUT \
--url https://api.invopop.com/sequence/v1/series/{series_id}/entries/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2023-01-25T08:04:14.245Z",
"updated_at": "2023-01-25T08:04:14.245Z",
"series_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"code": "string",
"meta": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"previous_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sigs": ["string"]
}
Path Parameters
series_idrequired
string
The UUID of the series to create the entry in.
idrequired
string
The UUID (any version) of the entry to create.
Body
application/json
id
string
The UUID (any version) of the entry to create.
meta
object
A set of key/value pairs that can be used to store additional information about the entry.
sig
string
JSON Web Signature of the key properties used to create the entry.
Response
200 - application/json
code
string
The complete code for the entry, including prefix and suffix.
created_at
string
The date and time the entry was created.
id
string
The UUID (any version) of the entry.
meta
object
A set of key/value pairs that can be used to store additional information about the entry.
previous_id
string
The UUID of the previous entry in the series.
series_id
string
The UUID of the series the entry belongs to.
sigs
string[]
Set of JSON Web Signatures validating the information contained in the entry.
updated_at
string
The date and time the entry was last updated.
curl --request PUT \
--url https://api.invopop.com/sequence/v1/series/{series_id}/entries/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2023-01-25T08:04:14.245Z",
"updated_at": "2023-01-25T08:04:14.245Z",
"series_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"code": "string",
"meta": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"previous_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sigs": ["string"]
}