Skip to main content
PUT
Substituir faixas de distância da dinâmica

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

api-key
string
header
required

Obrigatório. Sua chave API.

Path Parameters

id
integer
required

Identificador da área da dinâmica.

Example:

10

Body

application/json
tipo_calculo
enum<string>
required

Forma de cálculo de todas as faixas: M — Fator multiplicador; F — Valor adicional em R$.

Available options:
F,
M
Example:

"M"

faixas
object[]
required

Faixas em ordem crescente de distância. Lista vazia volta a área para valor único.

Maximum array length: 10
versao
integer

Versão lida no GET. Opcional; se não for mais a vigente, a resposta é 409.

Example:

59602987

Response

Sucesso

The response is of type object.