XMLGateway provides an element named “Exemption” (An exemption from the disqualification order) under “OfficerDisq”. REST API provides “permissions_to_act” (Permissions to act that have been granted for the disqualified officer) in the disqualifications.
-
Are “Exemption” and “permissions_to_act” the same ?
-
If they are not the same, what element does “Exemption” map to in the REST API ? Is it being delivered ?
-
Please provide any sample officer id which has data for “permissions_to_act”.
@harshad_ranganathan
Answers to the questions: -
Are "Exemption" and "permissions_to_act" the same ?
Yes they are the same.
Please provide any sample officer id which has data for "permissions_to_act".
An example with permission_to_act data
/disqualified-officers/natural/tq5G-0scM1IHDJqnHZqE0psI29w
Thanks
@mfairhurst
In XMLGateway, Exemptions are returned within the disqualifications. But in REST API, they are offered outside.
Does the first “permissions_to_act” (index 0) correspond to the first disqualification (index 0) in the array ?
@harshad_ranganathan
Although initiated against a specific disqualification order or insolvency agreement, permissions_to_act are global. We have therefore chosen to represent this data as a separate, consolidated list on the API.
Do you have a specific requirement to link them?
Thanks,
@mfairhurst
Yes. We are looking at linking the exemptions to particular disqualification as we are delivering the same to consuming applications and wouldn’t want to break the functionality.
That being said, is it possible to link them ?
Thanks,
Harshad