GET api/AdvanceGB/GetGovernmentIDCardTypes?country={country}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
country

string

Required

Body Parameters

None.

Response Information

Resource Description

MdlGovtIDResponse
NameDescriptionTypeAdditional information
success

string

None.

error_message

string

None.

data

Collection of MdlGovtCard

None.

Response Formats

application/json, text/json

Sample:
{
  "success": "sample string 1",
  "error_message": "sample string 2",
  "data": [
    {
      "GovtCard_Id": "sample string 1",
      "GovtCard_Name": "sample string 2",
      "is_mandatory": "sample string 3"
    },
    {
      "GovtCard_Id": "sample string 1",
      "GovtCard_Name": "sample string 2",
      "is_mandatory": "sample string 3"
    }
  ]
}

text/html

Sample:
{"success":"sample string 1","error_message":"sample string 2","data":[{"GovtCard_Id":"sample string 1","GovtCard_Name":"sample string 2","is_mandatory":"sample string 3"},{"GovtCard_Id":"sample string 1","GovtCard_Name":"sample string 2","is_mandatory":"sample string 3"}]}

application/xml, text/xml

Sample:
<MdlGovtIDResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advance.Models">
  <data>
    <MdlGovtCard>
      <GovtCard_Id>sample string 1</GovtCard_Id>
      <GovtCard_Name>sample string 2</GovtCard_Name>
      <is_mandatory>sample string 3</is_mandatory>
    </MdlGovtCard>
    <MdlGovtCard>
      <GovtCard_Id>sample string 1</GovtCard_Id>
      <GovtCard_Name>sample string 2</GovtCard_Name>
      <is_mandatory>sample string 3</is_mandatory>
    </MdlGovtCard>
  </data>
  <error_message>sample string 2</error_message>
  <success>sample string 1</success>
</MdlGovtIDResponse>