Skip to main content

String Resources

In Aprimo Productivty Management, picklist and multiselect values are represented as key/resourceId pairs, with the resourceId enabling string lookup.

Types of Strings​

  1. Static Strings: Built into the product (e.g., time zones, currency codes).
    • Identified by mo-replacement-strings-X, where X is an integer.
  2. Dynamic Strings: Created for your tenant through configuration (e.g., extended attribute picklist options, system type values).
    • Identified by mo-encoded-titles-X, where X is an integer.

Looking up String Picklists & Multiselects​

Example: Timezone​

When retrieving a record with a timezone in the API, you'll receive an integer ID (e.g., "timeZoneId": 43). Use lookup endpoints to find the corresponding string value.

Methods for String Lookup​

1. Look Up All Static Strings​

  • Use GET /api/resources/static to retrieve all static strings (mo-replacement-strings-X).
  • Recommendation: Cache the response and refresh periodically, as static strings rarely change.

2. Look Up a Single String​

  • Use GET /api/resources/{resourceId} to retrieve the value of a specific string.
  • Example:
  {
"id": "mo-replacement-strings-848894",
"value": "(GMT-05:00) Eastern Time (US & Canada)",
"_links": {
"self": {
"href": "resources/mo-replacement-strings-848894",
"type": "application/vnd.td-apps.operations.resources"
}
}
}

Use these endpoints to query and understand string values associated with picklist or multiselect options in API responses

Querying for Strings​

To look up multiple strings at once, use the POST /api/resources/query endpoint. Include a JSON body with a query property containing a comma-separated list of resourceId values. This endpoint supports both static and dynamic strings.

Request Example​

POST Body:

{
"query": "mo-replacement-strings-848894,mo-encoded-titles-911832"
}

Headers: Content-Type: application/json

Response Examples

{
"resources": [
{
"id": "mo-replacement-strings-848894",
"value": "(GMT-05:00) Eastern Time (US & Canada)"
},
{
"id": "mo-encoded-titles-911832",
"value": "Integrated Activity"
}
]
}

This method allows efficient lookup for multiple strings in a single call. Dynamic string IDs are environment-specific and may vary in your instance.


Timezones​

Timezones are one of the most common uses of static string resources — every timeZoneId returned by the API resolves to a human-readable name through the same mo-replacement-strings-X lookup described above. Use the table below to map a value directly, without making a lookup call.

Human-Readable NameString Resource ID
(GMT+12:00) Auckland, Wellingtonmo-replacement-strings-24020
(GMT+12:00) Fiji, Kamchatka, Marshall Is.mo-replacement-strings-24021
(GMT+11:00) Magadan, Solomon Is., New Caledoniamo-replacement-strings-24022
(GMT+10:00) Canberra, Melbourne, Sydneymo-replacement-strings-24023
(GMT+10:00) Hobartmo-replacement-strings-24024
(GMT+10:00) Guam, Port Moresbymo-replacement-strings-24025
(GMT+09:30) Darwinmo-replacement-strings-848858
(GMT+09:30) Adelaidemo-replacement-strings-848859
(GMT+09:00) Osaka, Sapporo, Tokyomo-replacement-strings-24028
(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqimo-replacement-strings-24029
(GMT+08:00) Kuala Lumpur, Singaporemo-replacement-strings-24030
(GMT+07:00) Bangkok, Hanoi, Jakartamo-replacement-strings-24031
(GMT+06:00) Almaty, Novosibirskmo-replacement-strings-24032
(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhimo-replacement-strings-24033
(GMT+05:00) Islamabad, Karachimo-replacement-strings-848866
(GMT+04:30) Kabulmo-replacement-strings-24035
(GMT+04:00) Abu Dhabi, Muscatmo-replacement-strings-24036
(GMT+03:30) Tehranmo-replacement-strings-24037
(GMT+03:00) Moscow, St. Petersburg, Volgogradmo-replacement-strings-24038
(GMT+03:00) Baghdadmo-replacement-strings-24039
(GMT+02:00) Jerusalemmo-replacement-strings-24040
(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilniusmo-replacement-strings-848873
(GMT+02:00) Cairomo-replacement-strings-24042
(GMT+02:00) Athens, Bucharest, Istanbulmo-replacement-strings-24043
(GMT+02:00) Harare, Pretoriamo-replacement-strings-24044
(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Praguemo-replacement-strings-24045
(GMT+01:00) Brussels, Copenhagen, Madrid, Parismo-replacement-strings-24046
(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagrebmo-replacement-strings-24047
(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Viennamo-replacement-strings-24048
(GMT) Monrovia, Reykjavikmo-replacement-strings-848881
(GMT) Casablancamo-replacement-strings-848882
(GMT-01:00) Cape Verde Is.mo-replacement-strings-24051
(GMT-02:00) Mid-Atlanticmo-replacement-strings-24052
(GMT-03:00) Brasiliamo-replacement-strings-24053
(GMT-03:00) Buenos Airesmo-replacement-strings-848886
(GMT-03:30) Newfoundlandmo-replacement-strings-24055
(GMT-04:30) Caracasmo-replacement-strings-848888
(GMT-05:00) Bogota, Lima, Quito, Rio Brancomo-replacement-strings-24057
(GMT-06:00) Saskatchewanmo-replacement-strings-24058
(GMT-06:00) Guadalajara, Mexico City, Monterrey - Newmo-replacement-strings-848891
(GMT-12:00) International Date Line Westmo-replacement-strings-24060
(GMT-04:00) Atlantic Time (Canada)mo-replacement-strings-24061
(GMT-05:00) Eastern Time (US & Canada)mo-replacement-strings-848894
(GMT-06:00) Central Time (US & Canada)mo-replacement-strings-848895
(GMT-07:00) Mountain Time (US & Canada)mo-replacement-strings-848896
(GMT-07:00) Arizonamo-replacement-strings-24066
(GMT-08:00) Pacific Time (US & Canada)mo-replacement-strings-848898
(GMT-09:00) Alaskamo-replacement-strings-24068
(GMT-10:00) Hawaiimo-replacement-strings-24069
(GMT-11:00) Midway Island, Samoamo-replacement-strings-24070
(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, Londonmo-replacement-strings-848902
(GMT+10:00) Brisbanemo-replacement-strings-24091
(GMT+08:00) Perthmo-replacement-strings-804000
(GMT+01:00) West Central Africamo-replacement-strings-848905
(GMT+02:00) Ammanmo-replacement-strings-848906
(GMT+02:00) Beirutmo-replacement-strings-848907
(GMT+02:00) Minskmo-replacement-strings-848908
(GMT+02:00) Windhoekmo-replacement-strings-848909
(GMT+03:00) Kuwait, Riyadhmo-replacement-strings-848910
(GMT+03:00) Nairobimo-replacement-strings-848911
(GMT+03:00) Tbilisimo-replacement-strings-848912
(GMT+04:00) Bakumo-replacement-strings-848913
(GMT+04:00) Caucasus Standard Timemo-replacement-strings-848914
(GMT+04:00) Port Louismo-replacement-strings-848915
(GMT+04:00) Yerevanmo-replacement-strings-848916
(GMT+05:00) Ekaterinburgmo-replacement-strings-848917
(GMT+05:00) Tashkentmo-replacement-strings-848918
(GMT+05:30) Sri Jayawardenepuramo-replacement-strings-848919
(GMT+05:45) Kathmandumo-replacement-strings-848920
(GMT+06:00) Astana, Dhakamo-replacement-strings-848921
(GMT+06:30) Yangon (Rangoon)mo-replacement-strings-848922
(GMT+07:00) Krasnoyarskmo-replacement-strings-848923
(GMT+08:00) Irkutsk, Ulaan Bataarmo-replacement-strings-848924
(GMT+08:00) Taipeimo-replacement-strings-848925
(GMT+09:00) Seoulmo-replacement-strings-848926
(GMT+09:00) Yakutskmo-replacement-strings-848927
(GMT+10:00) Vladivostokmo-replacement-strings-848928
(GMT+13:00) Nuku'alofamo-replacement-strings-848929
(GMT-01:00) Azoresmo-replacement-strings-848930
(GMT-03:00) Georgetownmo-replacement-strings-848931
(GMT-03:00) Greenlandmo-replacement-strings-848932
(GMT-03:00) Montevideomo-replacement-strings-848933
(GMT-04:00) La Pazmo-replacement-strings-848934
(GMT-04:00) Manausmo-replacement-strings-848935
(GMT-04:00) Santiagomo-replacement-strings-848936
(GMT-05:00) Indiana (East)mo-replacement-strings-848937
(GMT-06:00) Central Americamo-replacement-strings-848938
(GMT-07:00) Chihuahua, La Paz, Mazatlan - Newmo-replacement-strings-848940
(GMT-08:00) Tijuana, Baja Californiamo-replacement-strings-848942