Contratos

Atualizar contrato

Changed on

Atualiza informações de um determinado contrato.

Tipos de contratos suportados:

  • Horas

  • Crédito

Regras e validações:

  • Os atributos aceitos no corpo da requisição, bem como os retornados na resposta, variam de acordo com o tipo de contrato informado. Consulte os exemplos e os schemas, para entender as diferenças entre cada tipo

  • Não é permitido atualizar contratos cancelados ou inativos

put/contracts/{id}

Request

  • Base URL
    https://api.tiflux.com/api/v2
  • Auth
    HTTP bearer

Request body

OR

Response

Contrato atualizado com sucesso

OR
OR
OR
OR
OR

Changes

    • breaking

      removed subschema #1 subschema #2 from the request body anyOf list

    • info

      added subschema #1 subschema #2 to the request body anyOf list

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 to the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 from the response body anyOf list for the response status

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 to the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 from the response body anyOf list for the response status