GET api/Package

Obtener los paquetes disponibles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Lista de paquetes

ResponseModelApiOfListOfPackageModelApi
NameDescriptionTypeAdditional information
success

Indica si la solicitud se procesó de manera satisfactoria

boolean

None.

message

Mensaje de la solicitud

string

None.

messageDetail

Lista de mensajes

Collection of string

None.

failureCode

Código de error en caso de existir

string

None.

data

Layout de respuesta de la solicitud

Collection of PackageModelApi

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "messageDetail": [
    "sample string 1",
    "sample string 2"
  ],
  "failureCode": "sample string 3",
  "data": [
    {
      "PackageCode": "sample string 1",
      "PackageName": "sample string 2",
      "MonthlyPrice": 3.0,
      "PackageDescription": "sample string 4"
    },
    {
      "PackageCode": "sample string 1",
      "PackageName": "sample string 2",
      "MonthlyPrice": 3.0,
      "PackageDescription": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseModelApiOfListOfPackageModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
  <message>sample string 2</message>
  <messageDetail>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </messageDetail>
  <failureCode>sample string 3</failureCode>
  <data>
    <PackageModelApi>
      <PackageCode>sample string 1</PackageCode>
      <PackageName>sample string 2</PackageName>
      <MonthlyPrice>3</MonthlyPrice>
      <PackageDescription>sample string 4</PackageDescription>
    </PackageModelApi>
    <PackageModelApi>
      <PackageCode>sample string 1</PackageCode>
      <PackageName>sample string 2</PackageName>
      <MonthlyPrice>3</MonthlyPrice>
      <PackageDescription>sample string 4</PackageDescription>
    </PackageModelApi>
  </data>
</ResponseModelApiOfListOfPackageModelApi>