Exemptions Certificates API - how to get zones info for zoneIds in certificateZones?

Hello everyone. 
I am starting with TR OneSource APIs.

We are using TR ONESOURCE Exemptions Certificates API to display exemption certs information,.
We have a problem when exemption certificate is set to multiple regions/zones (US States).
For our users we would like to display descriptions/labels (like state name) of states/regions that the exemption apply and I guess is referenced by zoneId .

API returns json with   "stateCountry": "CUSTOM", and under "certificateZones" just identificator field : zoneId

I searched TR developer portal and can't find corresponding API to get zones identified by this zoneId field..

example request:
GET api-uat.onesourcetax.com/.../certificates
response:

{
    "itemsPerPage": 1,
    "totalItems": 1,
    "currentPageIndex": 0,
    "customItemExist": false,
    "items": [
        {
            "inherited": false,
            "stateCountry": "CUSTOM",
            "basicCertificate": {
                "stateCountry": null,
                "certificateId": 620671,
                "optionalCertificate": {
                    "criteriaElements": [],
                    "certificateZones": [
                        {
                            "certificateZoneId": 4220157,
                            "zoneExempt": true,
                            "delete": false,
                            "certificateAuthorityTypes": [],
                            "zoneId": 43601
                        },
                        {
                            "certificateZoneId": 4220158,
                            "zoneExempt": true,
                            "delete": false,
                            "certificateAuthorityTypes": [],
                            "zoneId": 43570
                        }
                    ],
                    "certificateExemptionRate": {
                        "basisPercentage": null,
                        "fullyExempt": true,
                        "exemptAmount": null,
                        "currencyId": null
                    },
                    "hasDelete": null,
                    "productCodes": [],
                    "commodityCodes": []
                },
....
Can anyone recognize which API should be used to get these zones by zoneId? 
Parents
  • 0
    Thomson Reuters Thomson Reuters staff member

    Hi Pawel, let me see how i can help you out with this. I will get back to you. Thanks

Reply
  • 0
    Thomson Reuters Thomson Reuters staff member

    Hi Pawel, let me see how i can help you out with this. I will get back to you. Thanks

Children
No Data