GET api/Catalog/Country

Cátalogo de paises

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResponseModelApiOfListOfCountryApiModel
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 CountryApiModel

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": [
    {
      "CountryId": 1,
      "CountryName": "sample string 2",
      "Code": "sample string 3"
    },
    {
      "CountryId": 1,
      "CountryName": "sample string 2",
      "Code": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseModelApiOfListOfCountryApiModel 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>
    <CountryApiModel>
      <CountryId>1</CountryId>
      <CountryName>sample string 2</CountryName>
      <Code>sample string 3</Code>
    </CountryApiModel>
    <CountryApiModel>
      <CountryId>1</CountryId>
      <CountryName>sample string 2</CountryName>
      <Code>sample string 3</Code>
    </CountryApiModel>
  </data>
</ResponseModelApiOfListOfCountryApiModel>