POST api/AgregaMensaje

Request Information

URI Parameters

None.

Body Parameters

ParamInsertaMensaje
NameDescriptionTypeAdditional information
IdMensaje

string

None.

IdChat

string

None.

IdCotizacion

string

None.

IdCliente

string

None.

IdRemitente

string

None.

Mensaje

string

None.

AdjuntoNombre

string

None.

AdjuntoTipo

string

None.

AdjuntoBase64

string

None.

App

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdMensaje": "sample string 1",
  "IdChat": "sample string 2",
  "IdCotizacion": "sample string 3",
  "IdCliente": "sample string 4",
  "IdRemitente": "sample string 5",
  "Mensaje": "sample string 6",
  "AdjuntoNombre": "sample string 7",
  "AdjuntoTipo": "sample string 8",
  "AdjuntoBase64": "sample string 9",
  "App": "sample string 10"
}

application/xml, text/xml

Sample:
<ParamInsertaMensaje xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub_API.Models.Request">
  <AdjuntoBase64>sample string 9</AdjuntoBase64>
  <AdjuntoNombre>sample string 7</AdjuntoNombre>
  <AdjuntoTipo>sample string 8</AdjuntoTipo>
  <App>sample string 10</App>
  <IdChat>sample string 2</IdChat>
  <IdCliente>sample string 4</IdCliente>
  <IdCotizacion>sample string 3</IdCotizacion>
  <IdMensaje>sample string 1</IdMensaje>
  <IdRemitente>sample string 5</IdRemitente>
  <Mensaje>sample string 6</Mensaje>
</ParamInsertaMensaje>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
Data

Object

None.

IsSuccess

boolean

None.

UserMessage

string

None.

TechMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "IsSuccess": true,
  "UserMessage": "sample string 3",
  "TechMessage": "sample string 4"
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub_API.Models.Response">
  <Data />
  <IsSuccess>true</IsSuccess>
  <TechMessage>sample string 4</TechMessage>
  <UserMessage>sample string 3</UserMessage>
</BaseResponse>