POST api/Values/CountryGetData
Request Information
URI Parameters
None.
Body Parameters
Country_Master_Property| Name | Description | Type | Additional information |
|---|---|---|---|
| country_id | integer |
None. |
|
| country_shortname | string |
None. |
|
| country_name | string |
None. |
|
| active | boolean |
None. |
|
| sequence_no | integer |
None. |
|
| remarks | string |
None. |
|
| add_user_id | string |
None. |
|
| entry_date | string |
None. |
|
| entry_time | string |
None. |
|
| update_user_id | string |
None. |
|
| update_date | string |
None. |
|
| update_time | string |
None. |
|
| ip_address | decimal number |
None. |
|
| country_code | string |
None. |
|
| code_length | integer |
None. |
|
| country_flag | string |
None. |
|
| country_currency | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"country_id": 1,
"country_shortname": "sample string 2",
"country_name": "sample string 3",
"active": true,
"sequence_no": 5,
"remarks": "sample string 6",
"add_user_id": "sample string 7",
"entry_date": "sample string 8",
"entry_time": "sample string 9",
"update_user_id": "sample string 10",
"update_date": "sample string 11",
"update_time": "sample string 12",
"ip_address": 13.0,
"country_code": "sample string 14",
"code_length": 15,
"country_flag": "sample string 16",
"country_currency": "sample string 17"
}
application/xml, text/xml
Sample:
<Country_Master_Property xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PropertyClasses.Master"> <active>true</active> <add_user_id>sample string 7</add_user_id> <code_length>15</code_length> <country_code>sample string 14</country_code> <country_currency>sample string 17</country_currency> <country_flag>sample string 16</country_flag> <country_id>1</country_id> <country_name>sample string 3</country_name> <country_shortname>sample string 2</country_shortname> <entry_date>sample string 8</entry_date> <entry_time>sample string 9</entry_time> <ip_address>13</ip_address> <remarks>sample string 6</remarks> <sequence_no>5</sequence_no> <update_date>sample string 11</update_date> <update_time>sample string 12</update_time> <update_user_id>sample string 10</update_user_id> </Country_Master_Property>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Country_Master_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| msg | string |
None. |
|
| data | Collection of Country_Master_Property |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"msg": "sample string 2",
"data": [
{
"country_id": 1,
"country_shortname": "sample string 2",
"country_name": "sample string 3",
"active": true,
"sequence_no": 5,
"remarks": "sample string 6",
"add_user_id": "sample string 7",
"entry_date": "sample string 8",
"entry_time": "sample string 9",
"update_user_id": "sample string 10",
"update_date": "sample string 11",
"update_time": "sample string 12",
"ip_address": 13.0,
"country_code": "sample string 14",
"code_length": 15,
"country_flag": "sample string 16",
"country_currency": "sample string 17"
},
{
"country_id": 1,
"country_shortname": "sample string 2",
"country_name": "sample string 3",
"active": true,
"sequence_no": 5,
"remarks": "sample string 6",
"add_user_id": "sample string 7",
"entry_date": "sample string 8",
"entry_time": "sample string 9",
"update_user_id": "sample string 10",
"update_date": "sample string 11",
"update_time": "sample string 12",
"ip_address": 13.0,
"country_code": "sample string 14",
"code_length": 15,
"country_flag": "sample string 16",
"country_currency": "sample string 17"
}
]
}
application/xml, text/xml
Sample:
<Country_Master_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.FunctionClasses.Response">
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BLL.PropertyClasses.Master">
<d2p1:Country_Master_Property>
<d2p1:active>true</d2p1:active>
<d2p1:add_user_id>sample string 7</d2p1:add_user_id>
<d2p1:code_length>15</d2p1:code_length>
<d2p1:country_code>sample string 14</d2p1:country_code>
<d2p1:country_currency>sample string 17</d2p1:country_currency>
<d2p1:country_flag>sample string 16</d2p1:country_flag>
<d2p1:country_id>1</d2p1:country_id>
<d2p1:country_name>sample string 3</d2p1:country_name>
<d2p1:country_shortname>sample string 2</d2p1:country_shortname>
<d2p1:entry_date>sample string 8</d2p1:entry_date>
<d2p1:entry_time>sample string 9</d2p1:entry_time>
<d2p1:ip_address>13</d2p1:ip_address>
<d2p1:remarks>sample string 6</d2p1:remarks>
<d2p1:sequence_no>5</d2p1:sequence_no>
<d2p1:update_date>sample string 11</d2p1:update_date>
<d2p1:update_time>sample string 12</d2p1:update_time>
<d2p1:update_user_id>sample string 10</d2p1:update_user_id>
</d2p1:Country_Master_Property>
<d2p1:Country_Master_Property>
<d2p1:active>true</d2p1:active>
<d2p1:add_user_id>sample string 7</d2p1:add_user_id>
<d2p1:code_length>15</d2p1:code_length>
<d2p1:country_code>sample string 14</d2p1:country_code>
<d2p1:country_currency>sample string 17</d2p1:country_currency>
<d2p1:country_flag>sample string 16</d2p1:country_flag>
<d2p1:country_id>1</d2p1:country_id>
<d2p1:country_name>sample string 3</d2p1:country_name>
<d2p1:country_shortname>sample string 2</d2p1:country_shortname>
<d2p1:entry_date>sample string 8</d2p1:entry_date>
<d2p1:entry_time>sample string 9</d2p1:entry_time>
<d2p1:ip_address>13</d2p1:ip_address>
<d2p1:remarks>sample string 6</d2p1:remarks>
<d2p1:sequence_no>5</d2p1:sequence_no>
<d2p1:update_date>sample string 11</d2p1:update_date>
<d2p1:update_time>sample string 12</d2p1:update_time>
<d2p1:update_user_id>sample string 10</d2p1:update_user_id>
</d2p1:Country_Master_Property>
</data>
<msg>sample string 2</msg>
<success>true</success>
</Country_Master_Response>