Salva as informações de um atendimento (JSON no corpo da requisição)
Changed onMesma 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.
Request
- Base URLhttps://api.imoview.com.br
- Auth
- API key in header chave
- or API key in header codigoacesso
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Código do usuário validado
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
Example response
{
"mensagem": "string",
"fasenome": "string"
}Changes
- breaking
for the
queryrequest parametercodigoAtendimento, the format changed fromInt64toint64 - breaking
for the
queryrequest parametercodigoUsuario, the format changed fromInt64toint64 - breaking
the
///request property format changed fromInt64toint64 - breaking
the
///request property format changed fromInt64toint64 - 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
- breaking
- info
endpoint added
- info