Use of Global list endpoints
How to use global list endpoints in API
Updating a global list
[
{
"Uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"SortOrder": 0,
"Value": "string"
}
]GlobalList existingGlobalList = _apiClient.GlobalLists.GetGlobalList("Suppliers");
Dictionary<string, GlobalListValue<SuppliersGlobalListModel>> globalListValues = _apiClient.GlobalLists.GetGlobalListValues<SuppliersGlobalListModel>(existingGlobalList.Uid).GlobalListValues.ToDictionary(x => x.Value.SupplierId);List<SuppliersGlobalListModel> newData = new List<SuppliersGlobalListModel>
{
new SuppliersGlobalListModel { SupplierId = "100", Name = "Supplier D (Updated)", Phone = "555-0101", Email = "[email protected]" },
new SuppliersGlobalListModel { SupplierId = "83", Name = "Supplier B (Updated)", Phone = "555-0303", Email = "[email protected]" },
};Last updated