POST api/Dospm/agregarImagen
Request Information
URI Parameters
None.
Body Parameters
GuardarImgPeticion| Name | Description | Type | Additional information |
|---|---|---|---|
| oidOT | integer |
None. |
|
| imagen | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"oidOT": 1,
"imagen": "sample string 2"
}
application/xml, text/xml
Sample:
<GuardarImgPeticion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MuniCoreApi.Models"> <imagen>sample string 2</imagen> <oidOT>1</oidOT> </GuardarImgPeticion>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AgregarFotoRespuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| oid | integer |
None. |
|
| msj | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"oid": 1,
"msj": "sample string 2"
}
application/xml, text/xml
Sample:
<AgregarFotoRespuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MuniCoreApi.Models"> <msj>sample string 2</msj> <oid>1</oid> </AgregarFotoRespuesta>