GET api/Company/GetRegionsBySourceInt/{baseregion}
returns regions based upon bitwise operation America = 1, Asia = 2, Europe = 4 Passing in 3 will return America,Asia, 6 returns Asia,Europe, etc.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
baseregion |
uint that is parsed as described |
unsigned integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Dictionary of integer [key] and string [value]Response Formats
application/json, text/json, text/html
Sample:
{ "1": "sample string 2", "3": "sample string 4" }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfintstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfintstring> <Key>1</Key> <Value>sample string 2</Value> </KeyValueOfintstring> <KeyValueOfintstring> <Key>3</Key> <Value>sample string 4</Value> </KeyValueOfintstring> </ArrayOfKeyValueOfintstring>