forms

Salvar formulário

Changed on

Cria um formulário ou, quando id é enviado, atualiza o título e os campos de um existente. A lista edges é sempre a definição completa: campo existente que não vier no payload é removido definitivamente. Tipos de campo e lógica condicional estão em Criar um formulário.

post/api/management/save-form

Request

  • Base URL: https://api.olie.ai
  • URL: https://api.olie.ai/api/management/save-form
  • Auth: HTTP bearer

Request body

idinteger

ID do formulário a atualizar. Omita ou envie nulo para criar um novo.

titlestring required

Título do formulário (3 a 255 caracteres).

Response

Sucesso

responseboolean

Indicador de sucesso da requisição. Sempre true nas respostas bem-sucedidas.

Changes

    • breaking

      the request property // became not nullable

    • breaking

      the request property //// became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property became not nullable

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the optional property /// from the response with the status

    • breaking

      request property // was restricted to a list of enum values

    • breaking

      the request property became required

    • breaking

      the request property // became required

    • breaking

      the request property // became required

    • breaking

      the request property became required

    • breaking

      the request property's minItems was increased to 1

    • breaking

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

    • breaking

      the // request property type changed from no type to string

    • breaking

      the // request property type changed from no type to string

    • breaking

      the request property type changed from no type to integer

    • breaking

      the response property /// became nullable for the status

    • breaking

      response property form/edges/items/options list-of-types was widened by adding types object to media type application/json of response 200

    • breaking

      the /// response's property type changed from no type to string for status

    • breaking

      the //// response's property type changed from no type to object for status

    • breaking

      the /// response's property type changed from no type to string for status

    • breaking

      the /// response's property type changed from no type to string, and format from no format to date-time for status

    • breaking

      the /// response's property type changed from no type to string for status

    • breaking

      the //// response's property type changed from no type to string for status

    • warning

      the // request property's maxLength was set to 255

    • warning

      the // request property's maxLength was set to 255

    • warning

      the // request property's maxLength was set to 255

    • warning

      the request property's maxLength was set to 255

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      added the new and enum value to the /// response property for the response status

    • warning

      added the new attachment enum value to the /// response property for the response status

    • warning

      added the new checkbox enum value to the /// response property for the response status

    • warning

      added the new contact enum value to the /// response property for the response status

    • warning

      added the new counter enum value to the /// response property for the response status

    • warning

      added the new currency enum value to the /// response property for the response status

    • warning

      added the new customer enum value to the /// response property for the response status

    • warning

      added the new date enum value to the /// response property for the response status

    • warning

      added the new date_and_time enum value to the /// response property for the response status

    • warning

      added the new email enum value to the /// response property for the response status

    • warning

      added the new hide enum value to the /// response property for the response status

    • warning

      added the new link enum value to the /// response property for the response status

    • warning

      added the new long_text enum value to the /// response property for the response status

    • warning

      added the new matrix enum value to the /// response property for the response status

    • warning

      added the new number enum value to the /// response property for the response status

    • warning

      added the new or enum value to the /// response property for the response status

    • warning

      added the new phone enum value to the /// response property for the response status

    • warning

      added the new project enum value to the /// response property for the response status

    • warning

      added the new radio enum value to the /// response property for the response status

    • warning

      added the new rich_text enum value to the /// response property for the response status

    • warning

      added the new select enum value to the /// response property for the response status

    • warning

      added the new short_text enum value to the /// response property for the response status

    • warning

      added the new show enum value to the /// response property for the response status

    • warning

      added the new time enum value to the /// response property for the response status

    • warning

      added the new undefined enum value to the /// response property for the response status

    • warning

      added the new user enum value to the /// response property for the response status

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      the request property // became nullable

    • info

      the request property // became nullable

    • info

      added the new attachment enum value to the request property //

    • info

      added the new checkbox enum value to the request property //

    • info

      added the new contact enum value to the request property //

    • info

      added the new counter enum value to the request property //

    • info

      added the new currency enum value to the request property //

    • info

      added the new customer enum value to the request property //

    • info

      added the new date enum value to the request property //

    • info

      added the new date_and_time enum value to the request property //

    • info

      added the new email enum value to the request property //

    • info

      added the new link enum value to the request property //

    • info

      added the new long_text enum value to the request property //

    • info

      added the new matrix enum value to the request property //

    • info

      added the new number enum value to the request property //

    • info

      added the new phone enum value to the request property //

    • info

      added the new project enum value to the request property //

    • info

      added the new radio enum value to the request property //

    • info

      added the new rich_text enum value to the request property //

    • info

      added the new select enum value to the request property //

    • info

      added the new short_text enum value to the request property //

    • info

      added the new time enum value to the request property //

    • info

      added the new user enum value to the request property //

    • info

      request property // list-of-types was widened by adding types integer to media type application/json

    • info

      added the optional property / to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 to the /// response property anyOf list for the response status