projects
Projetos

Editar um projeto

Atualiza os dados de um projeto existente. Todos os campos são opcionais — envie apenas o que deve mudar. Vínculos (funis, etiquetas, grupos, filhos) são alterados pelas listas to_add e to_rem; o que não é citado permanece como está.

put/api/management/projects/{id}

Request body

namestring

Nome do projeto. Até 191 caracteres.

descriptionstring

Descrição do projeto.

impactinteger

Grau de impacto, de 1 a 10.

contact_idstring uuid nullable

ID do contato a vincular. null remove o vínculo.

customer_idstring uuid nullable

ID do cliente a vincular. null remove o vínculo.

status1 | 2 | 3 | 4

Situação: 1 em andamento, 2 concluído, 3 arquivado, 4 parado.

budgetnumber nullable

Orçamento do projeto.

is_templateboolean

true transforma o projeto em modelo.

parent_idstring uuid nullable

ID do projeto pai. null deixa o projeto na raiz.

Response

Editado com sucesso

responseboolean required

Sempre true quando a operação é concluída.

Changes

Changed in 4 of the 79 revisions of this API.10534

  • 3c590152d5b59531See the full diff
    • the request's body type/format changed from / to object/

      request-body-type-changed

    • the response property project/budget became nullable for the status 200

      response-property-became-nullable

    • the response property project/contact_id became nullable for the status 200

      response-property-became-nullable

    • the response property project/created_by became nullable for the status 200

      response-property-became-nullable

    • the response property project/customer_id became nullable for the status 200

      response-property-became-nullable

    • the response property project/description became nullable for the status 200

      response-property-became-nullable

    • the response property project/impact became nullable for the status 200

      response-property-became-nullable

    • the project/budget response's property type/format changed from integer/ to number/ for status 200

      response-property-type-changed

    • the project/contact_id response's property type/format changed from integer/ to string/uuid for status 200

      response-property-type-changed

    • removed subschema #1: Projeto from the request body allOf list

      request-body-all-of-removed

    • removed the optional property project/form_answers from the response with the 200 status

      response-optional-property-removed

    • removed the optional property project/frame from the response with the 200 status

      response-optional-property-removed

    • removed the optional property validation/description from the response with the 422 status

      response-optional-property-removed

    • removed the optional property validation/impact from the response with the 422 status

      response-optional-property-removed

    • added the new optional request property budget

      new-optional-request-property

    • added the new optional request property childrens

      new-optional-request-property

    • added the new optional request property contact_id

      new-optional-request-property

    • added the new optional request property customer_id

      new-optional-request-property

    • added the new optional request property description

      new-optional-request-property

    • added the new optional request property forecast_dates

      new-optional-request-property

    • added the new optional request property form_answers

      new-optional-request-property

    • added the new optional request property funnel_status

      new-optional-request-property

    • added the new optional request property funnels

      new-optional-request-property

    • added the new optional request property groups

      new-optional-request-property

    • added the new optional request property impact

      new-optional-request-property

    • added the new optional request property is_template

      new-optional-request-property

    • added the new optional request property name

      new-optional-request-property

    • added the new optional request property parent_id

      new-optional-request-property

    • added the new optional request property status

      new-optional-request-property

    • added the new optional request property tags

      new-optional-request-property

    • added the new optional request property users

      new-optional-request-property

    • added the optional property project/deleted_at to the response with the 200 status

      response-optional-property-added

    • added the optional property project/parent_id to the response with the 200 status

      response-optional-property-added

    • the response property error became required for the status 401

      response-property-became-required

    • the response property error became required for the status 404

      response-property-became-required

    • the response property error became required for the status 422

      response-property-became-required

    • the response property message became required for the status 401

      response-property-became-required

    • the response property message became required for the status 404

      response-property-became-required

    • the response property message became required for the status 422

      response-property-became-required

    • the response property project became required for the status 200

      response-property-became-required

    • the response property response became required for the status 200

      response-property-became-required

    • the response property response became required for the status 401

      response-property-became-required

    • the response property response became required for the status 404

      response-property-became-required

    • the response property response became required for the status 422

      response-property-became-required

    • the response property validation became required for the status 422

      response-property-became-required

    • api tag Projetos added

      api-tag-added

    • api tag {id} removed

      api-tag-removed

    • the request property allOf[subschema #1: Projeto]/parent_id became not nullable

      request-property-became-not-nullable

    • added the new optional request property allOf[subschema #1: Projeto]/parent_id

      new-optional-request-property