POST api/RecetaMedica/BuscarPlanCobertura

Request Information

URI Parameters

None.

Body Parameters

ParamObtenerPlan
NameDescriptionTypeAdditional information
CoberturaId

integer

None.

PersonaId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CoberturaId": 1,
  "PersonaId": 2
}

application/xml, text/xml

Sample:
<ParamObtenerPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.CredencialesApp.Entities.Domain">
  <CoberturaId>1</CoberturaId>
  <PersonaId>2</PersonaId>
</ParamObtenerPlan>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ParamObtenerPlan'.

Response Information

Resource Description

PlanResult
NameDescriptionTypeAdditional information
Planes

Collection of PlanResultModel

None.

MensError

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Planes": [
    {
      "PlanId": 1,
      "CoberturaId": 2,
      "PlanMedico": "sample string 3"
    },
    {
      "PlanId": 1,
      "CoberturaId": 2,
      "PlanMedico": "sample string 3"
    }
  ],
  "MensError": "sample string 1"
}

application/xml, text/xml

Sample:
<PlanResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.CredencialesApp.Entities.Domain">
  <MensError>sample string 1</MensError>
  <Planes>
    <PlanResultModel>
      <CoberturaId>2</CoberturaId>
      <PlanId>1</PlanId>
      <PlanMedico>sample string 3</PlanMedico>
    </PlanResultModel>
    <PlanResultModel>
      <CoberturaId>2</CoberturaId>
      <PlanId>1</PlanId>
      <PlanMedico>sample string 3</PlanMedico>
    </PlanResultModel>
  </Planes>
</PlanResult>