API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola

Update sequence configuration

PATCH/v1/settings/sequences/{sequenceKey}

CodeMeta OS API endpoint.

Cuerpo de la solicitud

NombreTipoDescripción
prefixstring
suffixstring
patternstring
stepinteger
currentValueinteger
customerCodeFallbackstring
typeOverridesobject

Parámetros de ruta

NombreTipoDescripción
sequenceKeyobligatoriostring

Ejemplo

curl -X PATCH https://api.codemeta-os.de/v1/settings/sequences/{sequenceKey} \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "prefix": "string",
  "suffix": "string",
  "pattern": "string",
  "step": 0,
  "currentValue": 0,
  "customerCodeFallback": "string",
  "typeOverrides": null
}'
const result = await cm.settings.patch({
  "prefix": "string",
  "suffix": "string",
  "pattern": "string",
  "step": 0,
  "currentValue": 0,
  "customerCodeFallback": "string",
  "typeOverrides": null
});

Códigos de respuesta

HTTP Significado
200 Default Response

Búsqueda