Skip to content

getSequence

READ

Get sequence.

POST /api/v1/settings/getSequence
curl -X POST '<your-host>/api/v1/settings/getSequence' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "table": "string"
  }'
Response
{
  "companyId": "string",
  "id": "string",
  "name": "string",
  "next": 0,
  "prefix": "string",
  "size": 0,
  "step": 0,
  "suffix": "string",
  "table": "string",
  "updatedAt": "string",
  "updatedBy": "string"
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "table": {
      "type": "string"
    }
  },
  "required": [
    "table"
  ]
}