Atendimento

Salva as informações de um atendimento (JSON no corpo da requisição)

Changed on

Mesma função de App_SalvarAtendimento, porém os dados do atendimento são enviados no <strong>corpo (body)</strong> da requisição com <strong>Content-Type: application/json</strong>, e não na query string. Use este endpoint sempre que o JSON contiver caracteres como <strong>+</strong>, <strong>&</strong> ou <strong>%</strong> (ex.: campo <strong>utm</strong>) ou quando o JSON for grande. Apenas codigoUsuario e codigoAtendimento continuam na query string.

post/Atendimento/App_SalvarAtendimentoBody

Request

Query parameters

codigoUsuariointeger required

Código do usuário validado

codigoAtendimentointeger required

Código do atendimento

Request body

Example request

{
  "lead": {
    "nome": "OBRIGATÓRIO - Enviar o nome do lead",
    "emailtipocodigo": "OPCIONAL - Enviar o tipo de e-mail do lead",
    "email": "OPCIONAL - Enviar o e-mail do lead"
  }
}

Response

Retornado com sucesso

mensagemstring string
fasecodigointeger
fasenomestring string

Example response

{
  "mensagem": "string",
  "fasenome": "string"
}

Changes

    • breaking

      for the query request parameter codigoAtendimento, the format changed from Int64 to int64

    • breaking

      for the query request parameter codigoUsuario, the format changed from Int64 to int64

    • breaking

      the /// request property format changed from Int64 to int64

    • breaking

      the /// request property format changed from Int64 to int64

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      endpoint added