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
- Static Strings: Built into the product (e.g., time zones, currency codes).
- Identified by
mo-replacement-strings-X, where X is an integer.
- Identified by
- 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.
- Identified by
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/staticto 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 Name | String Resource ID |
|---|---|
| (GMT+12:00) Auckland, Wellington | mo-replacement-strings-24020 |
| (GMT+12:00) Fiji, Kamchatka, Marshall Is. | mo-replacement-strings-24021 |
| (GMT+11:00) Magadan, Solomon Is., New Caledonia | mo-replacement-strings-24022 |
| (GMT+10:00) Canberra, Melbourne, Sydney | mo-replacement-strings-24023 |
| (GMT+10:00) Hobart | mo-replacement-strings-24024 |
| (GMT+10:00) Guam, Port Moresby | mo-replacement-strings-24025 |
| (GMT+09:30) Darwin | mo-replacement-strings-848858 |
| (GMT+09:30) Adelaide | mo-replacement-strings-848859 |
| (GMT+09:00) Osaka, Sapporo, Tokyo | mo-replacement-strings-24028 |
| (GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi | mo-replacement-strings-24029 |
| (GMT+08:00) Kuala Lumpur, Singapore | mo-replacement-strings-24030 |
| (GMT+07:00) Bangkok, Hanoi, Jakarta | mo-replacement-strings-24031 |
| (GMT+06:00) Almaty, Novosibirsk | mo-replacement-strings-24032 |
| (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi | mo-replacement-strings-24033 |
| (GMT+05:00) Islamabad, Karachi | mo-replacement-strings-848866 |
| (GMT+04:30) Kabul | mo-replacement-strings-24035 |
| (GMT+04:00) Abu Dhabi, Muscat | mo-replacement-strings-24036 |
| (GMT+03:30) Tehran | mo-replacement-strings-24037 |
| (GMT+03:00) Moscow, St. Petersburg, Volgograd | mo-replacement-strings-24038 |
| (GMT+03:00) Baghdad | mo-replacement-strings-24039 |
| (GMT+02:00) Jerusalem | mo-replacement-strings-24040 |
| (GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius | mo-replacement-strings-848873 |
| (GMT+02:00) Cairo | mo-replacement-strings-24042 |
| (GMT+02:00) Athens, Bucharest, Istanbul | mo-replacement-strings-24043 |
| (GMT+02:00) Harare, Pretoria | mo-replacement-strings-24044 |
| (GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague | mo-replacement-strings-24045 |
| (GMT+01:00) Brussels, Copenhagen, Madrid, Paris | mo-replacement-strings-24046 |
| (GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb | mo-replacement-strings-24047 |
| (GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna | mo-replacement-strings-24048 |
| (GMT) Monrovia, Reykjavik | mo-replacement-strings-848881 |
| (GMT) Casablanca | mo-replacement-strings-848882 |
| (GMT-01:00) Cape Verde Is. | mo-replacement-strings-24051 |
| (GMT-02:00) Mid-Atlantic | mo-replacement-strings-24052 |
| (GMT-03:00) Brasilia | mo-replacement-strings-24053 |
| (GMT-03:00) Buenos Aires | mo-replacement-strings-848886 |
| (GMT-03:30) Newfoundland | mo-replacement-strings-24055 |
| (GMT-04:30) Caracas | mo-replacement-strings-848888 |
| (GMT-05:00) Bogota, Lima, Quito, Rio Branco | mo-replacement-strings-24057 |
| (GMT-06:00) Saskatchewan | mo-replacement-strings-24058 |
| (GMT-06:00) Guadalajara, Mexico City, Monterrey - New | mo-replacement-strings-848891 |
| (GMT-12:00) International Date Line West | mo-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) Arizona | mo-replacement-strings-24066 |
| (GMT-08:00) Pacific Time (US & Canada) | mo-replacement-strings-848898 |
| (GMT-09:00) Alaska | mo-replacement-strings-24068 |
| (GMT-10:00) Hawaii | mo-replacement-strings-24069 |
| (GMT-11:00) Midway Island, Samoa | mo-replacement-strings-24070 |
| (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London | mo-replacement-strings-848902 |
| (GMT+10:00) Brisbane | mo-replacement-strings-24091 |
| (GMT+08:00) Perth | mo-replacement-strings-804000 |
| (GMT+01:00) West Central Africa | mo-replacement-strings-848905 |
| (GMT+02:00) Amman | mo-replacement-strings-848906 |
| (GMT+02:00) Beirut | mo-replacement-strings-848907 |
| (GMT+02:00) Minsk | mo-replacement-strings-848908 |
| (GMT+02:00) Windhoek | mo-replacement-strings-848909 |
| (GMT+03:00) Kuwait, Riyadh | mo-replacement-strings-848910 |
| (GMT+03:00) Nairobi | mo-replacement-strings-848911 |
| (GMT+03:00) Tbilisi | mo-replacement-strings-848912 |
| (GMT+04:00) Baku | mo-replacement-strings-848913 |
| (GMT+04:00) Caucasus Standard Time | mo-replacement-strings-848914 |
| (GMT+04:00) Port Louis | mo-replacement-strings-848915 |
| (GMT+04:00) Yerevan | mo-replacement-strings-848916 |
| (GMT+05:00) Ekaterinburg | mo-replacement-strings-848917 |
| (GMT+05:00) Tashkent | mo-replacement-strings-848918 |
| (GMT+05:30) Sri Jayawardenepura | mo-replacement-strings-848919 |
| (GMT+05:45) Kathmandu | mo-replacement-strings-848920 |
| (GMT+06:00) Astana, Dhaka | mo-replacement-strings-848921 |
| (GMT+06:30) Yangon (Rangoon) | mo-replacement-strings-848922 |
| (GMT+07:00) Krasnoyarsk | mo-replacement-strings-848923 |
| (GMT+08:00) Irkutsk, Ulaan Bataar | mo-replacement-strings-848924 |
| (GMT+08:00) Taipei | mo-replacement-strings-848925 |
| (GMT+09:00) Seoul | mo-replacement-strings-848926 |
| (GMT+09:00) Yakutsk | mo-replacement-strings-848927 |
| (GMT+10:00) Vladivostok | mo-replacement-strings-848928 |
| (GMT+13:00) Nuku'alofa | mo-replacement-strings-848929 |
| (GMT-01:00) Azores | mo-replacement-strings-848930 |
| (GMT-03:00) Georgetown | mo-replacement-strings-848931 |
| (GMT-03:00) Greenland | mo-replacement-strings-848932 |
| (GMT-03:00) Montevideo | mo-replacement-strings-848933 |
| (GMT-04:00) La Paz | mo-replacement-strings-848934 |
| (GMT-04:00) Manaus | mo-replacement-strings-848935 |
| (GMT-04:00) Santiago | mo-replacement-strings-848936 |
| (GMT-05:00) Indiana (East) | mo-replacement-strings-848937 |
| (GMT-06:00) Central America | mo-replacement-strings-848938 |
| (GMT-07:00) Chihuahua, La Paz, Mazatlan - New | mo-replacement-strings-848940 |
| (GMT-08:00) Tijuana, Baja California | mo-replacement-strings-848942 |