The Country List Sync (CountryListSync) Data Block is part of Assette’s initial set up and is not normally edited by end users— see Source Country List Data Block instead.
The Country List Sync (CountryListSync) Data Block is used to synchronize the list of available countries and insert into Assette’s database. The Country List Sync (CountryListSync) Data Block is not normally edited by end users. To update the available countries, see Source_CountryList Data Block instead.
General Info #
Field | Value |
---|---|
Name | CountryListSync |
Block Category | Transform |
Block Type | Python |
Data Category | None |
Output Type | Data Table |
Dependencies #
Data Block Name | Description |
---|---|
Source_CountryList | Returns the a list of countries from the data source. By default, this is a static list |
Example Request #
{}
Example Response #
{
"data": [
{
"Code": "gb",
"Name": "United Kingdom"
},
{
"Code": "us",
"Name": "United States"
},
{
"Code": "nz",
"Name": "New Zealand"
}
],
"errors": [],
"success": true,
"logs": []
}