GET api/Servicio?strToken={strToken}&intAseguradoraId={intAseguradoraId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| strToken | string |
Required |
|
| intAseguradoraId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServicioResult| Name | Description | Type | Additional information |
|---|---|---|---|
| booOk | boolean |
None. |
|
| strMensaje | string |
None. |
|
| miListServicio | Collection of Servicio |
None. |
Response Formats
application/json, text/json
Sample:
{
"booOk": true,
"strMensaje": "sample string 2",
"miListServicio": [
{
"strCodigo": "sample string 1",
"strDescripcion": "sample string 2",
"decPrecio": 3.0,
"strCierre": "sample string 4",
"intIdAseguradora": 5,
"strSoloApp": "sample string 6",
"decIncremento": 7.0
},
{
"strCodigo": "sample string 1",
"strDescripcion": "sample string 2",
"decPrecio": 3.0,
"strCierre": "sample string 4",
"intIdAseguradora": 5,
"strSoloApp": "sample string 6",
"decIncremento": 7.0
}
]
}
text/xml
Sample:
<ServicioResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestHaierSatWA.Models">
<booOk>true</booOk>
<miListServicio>
<Servicio>
<decIncremento>7</decIncremento>
<decPrecio>3</decPrecio>
<intIdAseguradora>5</intIdAseguradora>
<strCierre>sample string 4</strCierre>
<strCodigo>sample string 1</strCodigo>
<strDescripcion>sample string 2</strDescripcion>
<strSoloApp>sample string 6</strSoloApp>
</Servicio>
<Servicio>
<decIncremento>7</decIncremento>
<decPrecio>3</decPrecio>
<intIdAseguradora>5</intIdAseguradora>
<strCierre>sample string 4</strCierre>
<strCodigo>sample string 1</strCodigo>
<strDescripcion>sample string 2</strDescripcion>
<strSoloApp>sample string 6</strSoloApp>
</Servicio>
</miListServicio>
<strMensaje>sample string 2</strMensaje>
</ServicioResult>