GET api/Admin/Country/{country}/MiscField
Returns the all available misc field values for a given Country
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| country |
Primary identifier for the Country |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
CountryMiscViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Country | ICountry |
None. |
|
| MiscFields | Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/xml, text/xml
Sample:
<CountryMiscViewModel>
<Country />
<MiscFields>
<KeyValuePairOfStringObject>
<Key>sample string 1</Key>
<Value />
</KeyValuePairOfStringObject>
<KeyValuePairOfStringObject>
<Key>sample string 3</Key>
<Value />
</KeyValuePairOfStringObject>
</MiscFields>
</CountryMiscViewModel>
application/json, text/json
Sample:
{
"MiscFields": {
"sample string 1": {},
"sample string 3": {}
}
}