business-areas
reorder

Reordenar áreas de negócio

Changed on

Define a ordem em que as áreas de negócio aparecem na listagem. A posição de cada identificador dentro do array vira a posição da área na lista, começando em zero. Envie sempre a lista completa: áreas não citadas mantêm a posição anterior e podem acabar empatadas com as reposicionadas.

post/api/management/business-areas/reorder

Request

  • Base URL: https://api.olie.ai
  • URL: https://api.olie.ai/api/management/business-areas/reorder
  • Auth: HTTP bearer

Request body

business_area_idsinteger[] required

Identificadores das áreas de negócio na ordem desejada; a posição no array vira o valor de order, começando em zero. Não pode ser vazio.

Response

Sucesso

responseboolean

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

Changes

    • breaking

      the request property became required

    • breaking

      the request property's minItems was increased to 1

    • breaking

      the / request property type changed from no type to integer

    • warning

      removed the optional property / from the response with the status

    • warning

      the optional response header Access-Control-Allow-Origin removed for the status 200

    • warning

      the optional response header Access-Control-Expose-Headers removed for the status 200

    • warning

      the optional response header Cache-Control removed for the status 200

    • warning

      the optional response header Date removed for the status 200

    • warning

      the optional response header Transfer-Encoding removed for the status 200

    • warning

      the optional response header X-Ratelimit-Limit removed for the status 200

    • warning

      the optional response header X-Ratelimit-Remaining removed for the status 200

    • info

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

    • info

      added the non-success response with the status