curl --request GET \
--url https://api.invopop.com/sequence/v1/series \
--header 'Authorization: Bearer <token>'{
"list": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2023-01-25T08:04:14.245Z",
"updated_at": "2023-01-25T08:04:14.245Z",
"name": "string",
"description": "string",
"code": "string",
"prefix": "string",
"padding": 0,
"suffix": "string",
"last_index": 0,
"last_entry_id": "string",
"sigs": ["string"]
}
]
}
Fetch all the series in the current company.
curl --request GET \
--url https://api.invopop.com/sequence/v1/series \
--header 'Authorization: Bearer <token>'{
"list": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2023-01-25T08:04:14.245Z",
"updated_at": "2023-01-25T08:04:14.245Z",
"name": "string",
"description": "string",
"code": "string",
"prefix": "string",
"padding": 0,
"suffix": "string",
"last_index": 0,
"last_entry_id": "string",
"sigs": ["string"]
}
]
}
{
"list": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2023-01-25T08:04:14.245Z",
"updated_at": "2023-01-25T08:04:14.245Z",
"name": "string",
"description": "string",
"code": "string",
"prefix": "string",
"padding": 0,
"suffix": "string",
"last_index": 0,
"last_entry_id": "string",
"sigs": ["string"]
}
]
}
Use the Bearer scheme with a valid JWT token to authenticate requests. Example: Authorization: Bearer <token>
OK
A list of series.
Show child attributes
A code that can be used to identify the series.
"SALES-2020"
The date and time the series was created.
"2020-10-01T00:00:00Z"
A description of the series.
"This series is used for sales."
The UUID (any version) of the series.
"a8904315-3d16-4a95-91c1-30d6cdde553e"
The ID of the last entry in the series.
"a8904315-3d16-4a95-91c1-30d6cdde553e"
The last index used in the series.
100
The name of the series.
"My Series"
The number of 0s to pad the generated codes with.
5
A prefix that will be prepended to all entries.
"INV-"
A suffix that will be appended to all entries.
"-F1"
The date and time the series was last updated.
"2020-10-01T00:00:00Z"
Was this page helpful?