POST api/Ura/IniciaAtendimento
Request Information
URI Parameters
None.
Body Parameters
NewConversationDtoName | Description | Type | Additional information |
---|---|---|---|
conversationId | string |
None. |
|
origemMidia | OrigemMidiaEnum |
None. |
|
statusAtendimento | StatusAtendimentoEnum |
None. |
|
startDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "conversationId": "sample string 1", "origemMidia": 0, "statusAtendimento": 0, "startDate": "2025-01-10T01:28:34.3944353-03:00" }
application/xml, text/xml
Sample:
<NewConversationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SageBR.Model.DTO"> <conversationId>sample string 1</conversationId> <origemMidia>None</origemMidia> <startDate>2025-01-10T01:28:34.3944353-03:00</startDate> <statusAtendimento>None</statusAtendimento> </NewConversationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfNewConversationDtoName | Description | Type | Additional information |
---|---|---|---|
Sucesso | boolean |
None. |
|
DataResposta | date |
None. |
|
Dados | NewConversationDto |
None. |
|
Erros | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Sucesso": true, "DataResposta": "2025-01-10T01:28:34.4100753-03:00", "Dados": { "conversationId": "sample string 1", "origemMidia": 0, "statusAtendimento": 0, "startDate": "2025-01-10T01:28:34.4100753-03:00" }, "Erros": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ResponseModelOfNewConversationDtoZtOmU2dN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SageBR.Model.Response"> <Dados xmlns:d2p1="http://schemas.datacontract.org/2004/07/SageBR.Model.DTO"> <d2p1:conversationId>sample string 1</d2p1:conversationId> <d2p1:origemMidia>None</d2p1:origemMidia> <d2p1:startDate>2025-01-10T01:28:34.4100753-03:00</d2p1:startDate> <d2p1:statusAtendimento>None</d2p1:statusAtendimento> </Dados> <DataResposta>2025-01-10T01:28:34.4100753-03:00</DataResposta> <Erros xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Erros> <Sucesso>true</Sucesso> </ResponseModelOfNewConversationDtoZtOmU2dN>