POST api/Mensajes/EnviarArchivo
Request Information
URI Parameters
None.
Body Parameters
Adjunto| Name | Description | Type | Additional information |
|---|---|---|---|
| NombreArchivo | string |
None. |
|
| Archivo | string |
None. |
|
| Chat | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"NombreArchivo": "sample string 1",
"Archivo": "sample string 2",
"Chat": "sample string 3"
}
application/xml, text/xml
Sample:
<Adjunto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIDETI.TelegramMessage.Controllers"> <Archivo>sample string 2</Archivo> <Chat>sample string 3</Chat> <NombreArchivo>sample string 1</NombreArchivo> </Adjunto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Respuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| Estado | boolean |
None. |
|
| Mensaje | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Estado": true,
"Mensaje": "sample string 2"
}
application/xml, text/xml
Sample:
<Respuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIDETI.TelegramMessage.Controllers"> <Estado>true</Estado> <Mensaje>sample string 2</Mensaje> </Respuesta>