Create a series
/sequence/v1/series/{id}
curl --request PUT \
--url https://api.invopop.com/sequence/v1/series/{id} \
--header 'Authorization: Bearer <token>'
{
"last_index": 1000
"padding": 5
"prefix": "TEST1"
"name": "Testing"
"created_at": "2022-03-03T22:18:50Z"
"suffix": "-2022"
"updated_at": "2022-03-03T22:18:50Z"
"id": "835bb1ca-e7c4-41e6-9e88-464de54cc08e"
}
Path Parameters
The UUID (any version) of the series to create.
Body
A code that can be used to identify the series.
A description of the series.
The UUID (any version) of the series to create.
The name of the series.
The number of 0s to pad the generated codes with.
A prefix that will be prepended to all entries.
JSON Web Signature of the key properties used to create the series.
The starting index for the series.
A suffix that will be appended to all entries.
Response
The complete code for the entry, including prefix and suffix.
The date and time the entry was created.
The UUID (any version) of the entry.
A set of key/value pairs that can be used to store additional information about the entry.
The UUID of the previous entry in the series.
The UUID of the series the entry belongs to.
Set of JSON Web Signatures validating the information contained in the entry.
The date and time the entry was last updated.
curl --request PUT \
--url https://api.invopop.com/sequence/v1/series/{id} \
--header 'Authorization: Bearer <token>'
{
"last_index": 1000
"padding": 5
"prefix": "TEST1"
"name": "Testing"
"created_at": "2022-03-03T22:18:50Z"
"suffix": "-2022"
"updated_at": "2022-03-03T22:18:50Z"
"id": "835bb1ca-e7c4-41e6-9e88-464de54cc08e"
}