Polaris library codes are numeric and will need to be entered into the mappings tables.
Example mappings rows for Polaris are:
STLOUIS | Location | 61 | DCB | AGENCY | 6slou |
STLOUIS | Location | 62 | DCB | AGENCY | 6slou |
STLOUIS | Location | 63 | DCB | AGENCY | 6slou |
STLOUIS | Location | 64 | DCB | AGENCY | 6slou |
STLOUIS | Location | 65 | DCB | AGENCY | 6slou |
These can be loaded via the /admin/cfg
endpoint. For example, if the above mappings are in a Google sheet
curl -X POST $TARGET/admin/cfg -H "Accept-Language: en" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{ "profile":"referenceValueMappingImport", "url":"https://docs.google.com/spreadsheets/d/e/2PACX-1vTbJ3CgU6WYT4t5njNZPYHS8xjhjD8mevHVJK2oUWe5Zqwuwm_fbvv58hypPgDjXKlbr9G-8gVJz4zt/pub?gid=480381709&single=true&output=tsv " }'