cURL
curl --request POST \
--url https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '
{
"data": "Nationality"
}
'HttpResponse<String> response = Unirest.post("https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json-patch+json")
.body("{\n \"data\": \"Nationality\"\n}")
.asString();import requests
url = "https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues"
payload = { "data": "Nationality" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json-patch+json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json-patch+json'},
body: JSON.stringify({data: 'Nationality'})
};
fetch('https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));using RestSharp;
var options = new RestClientOptions("https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("x-api-key", "<api-key>");
request.AddJsonBody("{\n \"data\": \"Nationality\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{
"error": null,
"data": [
{
"lookUp": "BG",
"translation": "Bulgarian"
},
{
"lookUp": "HU",
"translation": "Hungarian"
}
],
"status": "success"
}{
"error": {
"guid": "95bd740b-755b-4f95-8549-fa9acfc31a41",
"code": 400,
"type": "ValidationError",
"message": "Invalid request body format. Please check your request format from AccessRC API specifications.",
"title": "Invalid Request Body"
},
"data": null,
"status": "failed"
}{
"error": {
"guid": "2c77f4b6-6ff8-4017-8bb8-1d7a5c8e01f3",
"code": 401,
"type": "Unauthorized",
"message": null,
"title": "API Key is missing"
},
"data": null,
"status": "failed"
}{
"error": {
"guid": "2c77f4b6-6ff8-4017-8bb8-1d7a5c8e01f3",
"code": 500,
"type": "Exception",
"message": null,
"title": "Internal Server Error"
},
"data": null,
"status": "failed"
}Delivery Channel
Get Lookup Values
POST
/
api
/
ClientSetting
/
GetLookUpValues
cURL
curl --request POST \
--url https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '
{
"data": "Nationality"
}
'HttpResponse<String> response = Unirest.post("https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json-patch+json")
.body("{\n \"data\": \"Nationality\"\n}")
.asString();import requests
url = "https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues"
payload = { "data": "Nationality" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json-patch+json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json-patch+json'},
body: JSON.stringify({data: 'Nationality'})
};
fetch('https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));using RestSharp;
var options = new RestClientOptions("https://api.uat.accessrc.org/api/ClientSetting/GetLookUpValues");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("x-api-key", "<api-key>");
request.AddJsonBody("{\n \"data\": \"Nationality\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{
"error": null,
"data": [
{
"lookUp": "BG",
"translation": "Bulgarian"
},
{
"lookUp": "HU",
"translation": "Hungarian"
}
],
"status": "success"
}{
"error": {
"guid": "95bd740b-755b-4f95-8549-fa9acfc31a41",
"code": 400,
"type": "ValidationError",
"message": "Invalid request body format. Please check your request format from AccessRC API specifications.",
"title": "Invalid Request Body"
},
"data": null,
"status": "failed"
}{
"error": {
"guid": "2c77f4b6-6ff8-4017-8bb8-1d7a5c8e01f3",
"code": 401,
"type": "Unauthorized",
"message": null,
"title": "API Key is missing"
},
"data": null,
"status": "failed"
}{
"error": {
"guid": "2c77f4b6-6ff8-4017-8bb8-1d7a5c8e01f3",
"code": 500,
"type": "Exception",
"message": null,
"title": "Internal Server Error"
},
"data": null,
"status": "failed"
}Lookup Keys
- DeliveryChannelStatus
- DeliveryChannelCategory
- Kyc
- Currency
- Nationality
- Language
- Country
- EventType
- Commodity
⌘I
