POST api/encuestar/guardarReporteMetas
Request Information
URI Parameters
None.
Body Parameters
GuardarMetasReq| Name | Description | Type | Additional information |
|---|---|---|---|
| idReporte | integer |
None. |
|
| metas | Collection of MetaItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"idReporte": 1,
"metas": [
{
"cruceKey": "sample string 1",
"valorMeta": 2
},
{
"cruceKey": "sample string 1",
"valorMeta": 2
}
]
}
application/xml, text/xml
Sample:
<GuardarMetasReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models.Pivot">
<idReporte>1</idReporte>
<metas>
<MetaItem>
<cruceKey>sample string 1</cruceKey>
<valorMeta>2</valorMeta>
</MetaItem>
<MetaItem>
<cruceKey>sample string 1</cruceKey>
<valorMeta>2</valorMeta>
</MetaItem>
</metas>
</GuardarMetasReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseAPI| Name | Description | Type | Additional information |
|---|---|---|---|
| Exito | boolean |
None. |
|
| Mensaje | string |
None. |
|
| Excepcion | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Exito": true,
"Mensaje": "sample string 2",
"Excepcion": "sample string 3",
"Data": {}
}
application/xml, text/xml
Sample:
<ResponseAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models"> <Data /> <Excepcion>sample string 3</Excepcion> <Exito>true</Exito> <Mensaje>sample string 2</Mensaje> </ResponseAPI>