business-areas

Atualizar uma área de negócio

Renomeia uma área de negócio. O identificador efetivamente usado é o id enviado no corpo — repita nele o mesmo valor colocado na URL. O novo nome precisa ser único na empresa, considerando também as áreas arquivadas.

put/api/management/business-areas/{business_area}

Request body

idinteger required

Identificador da área de negócio a ser atualizada; é este valor, e não o da URL, que determina o registro alterado. Obrigatório.

namestring required

Novo nome da área. Precisa ser único na empresa, inclusive entre as áreas arquivadas. Obrigatório.

Response

Sucesso

responseboolean

Indica que a requisição foi concluída com sucesso. Sempre true.

Changes

Changed in 3 of the 98 revisions of this API.325

  • d71b18b1685d31See the full diff
    • ▲

      added the new required request property

      new-required-request-property

    • ▲

      the request property became required

      request-property-became-required

    • ▲

      the request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ●

      removed the request property

      request-property-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ○

      added optional request body

      request-body-added-optional

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added