GET common/countries/search?text={text}&all={all}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
text | string |
None. |
|
all | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of CountryName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
CurrencyID | integer |
None. |
|
Currency | Currency |
None. |
|
ISO31661 | integer |
None. |
|
Alpha2 | string |
None. |
|
Alpha3 | string |
None. |
|
Audit | Audit |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "CurrencyID": 1, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ISO31661": 1, "Alpha2": "sample string 3", "Alpha3": "sample string 4", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T07:06:18.2303265+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:06:18.2303265+00:00" } }, { "ID": 1, "Name": "sample string 2", "CurrencyID": 1, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ISO31661": 1, "Alpha2": "sample string 3", "Alpha3": "sample string 4", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T07:06:18.2303265+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:06:18.2303265+00:00" } } ]
text/xml
Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <Country> <Alpha2>sample string 3</Alpha2> <Alpha3>sample string 4</Alpha3> <Audit xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:AddTime>2025-04-03T07:06:18.2303265+00:00</d3p1:AddTime> <d3p1:AddUser>1</d3p1:AddUser> <d3p1:EditTime>2025-04-03T07:06:18.2303265+00:00</d3p1:EditTime> <d3p1:EditUser>1</d3p1:EditUser> </Audit> <Currency> <Code>sample string 2</Code> <ID>1</ID> <Lookup>sample string 5</Lookup> <Name>sample string 3</Name> <Sign>sample string 4</Sign> </Currency> <CurrencyID>1</CurrencyID> <ID>1</ID> <ISO31661>1</ISO31661> <Name>sample string 2</Name> </Country> <Country> <Alpha2>sample string 3</Alpha2> <Alpha3>sample string 4</Alpha3> <Audit xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:AddTime>2025-04-03T07:06:18.2303265+00:00</d3p1:AddTime> <d3p1:AddUser>1</d3p1:AddUser> <d3p1:EditTime>2025-04-03T07:06:18.2303265+00:00</d3p1:EditTime> <d3p1:EditUser>1</d3p1:EditUser> </Audit> <Currency> <Code>sample string 2</Code> <ID>1</ID> <Lookup>sample string 5</Lookup> <Name>sample string 3</Name> <Sign>sample string 4</Sign> </Currency> <CurrencyID>1</CurrencyID> <ID>1</ID> <ISO31661>1</ISO31661> <Name>sample string 2</Name> </Country> </ArrayOfCountry>