# SOD policies: mass import

**URL:** <https://developer.sailpoint.com/discuss/t/sod-policies-mass-import/10284>\
**Category:** SHF Discussion and Questions\
**Created:** [April 17, 2023, 6:37pm UTC](https://developer.sailpoint.com/discuss/t/sod-policies-mass-import/10284 "2023-04-17T18:37:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zxb323](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zxb323](https://developer.sailpoint.com/discuss/u/zxb323)\
**Post date:** [April 17, 2023, 6:37pm UTC](https://developer.sailpoint.com/discuss/t/sod-policies-mass-import/10284/1 "2023-04-17T18:37:22Z")

</div>

Hi,  
Currently, we can set up up to 500 policies (general and SOD) in IDN. I am wondering if there is any way to mass upload policies into IDN or do they need to be set up manually through the UI? We do have an access profile importer script and I am wondering if there is an API to configure several SOD policies.

> **[Managing Policies - SailPoint Identity Services](https://documentation.sailpoint.com/saas/help/sod/manage-policies.html)**
>
> SailPoint Identity Services Documentation

Thank you.

---

<div class="post-metadata">

**Author:** ![clstromgren](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/clstromgren/32/2284_2.png) [@clstromgren](https://developer.sailpoint.com/discuss/u/clstromgren)\
**Post date:** [April 18, 2023, 6:57pm UTC](https://developer.sailpoint.com/discuss/t/sod-policies-mass-import/10284/2 "2023-04-18T18:57:11Z")

</div>

Here is a link to the API for SOD policies, looks like its only on the beta route and not V3 at the moment. I typically don’t have issues with the APIs in the beta route.

> **[SOD Policy | SailPoint Developer Community](https://developer.sailpoint.com/idn/api/beta/sod-policy)**
>
> SOD Policy

---

<div class="post-metadata">

**Author:** ![zxb323](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zxb323](https://developer.sailpoint.com/discuss/u/zxb323)\
**Post date:** [April 19, 2023, 1:38pm UTC](https://developer.sailpoint.com/discuss/t/sod-policies-mass-import/10284/3 "2023-04-19T13:38:51Z")

</div>

Thank you, Caleb. I am wondering if there is a way to import all entitlements to be configured for a policy via a script as opposed to doing it manually in the UI. I do not see an API for that.

---

<div class="post-metadata">

**Author:** ![clstromgren](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/clstromgren/32/2284_2.png) [@clstromgren](https://developer.sailpoint.com/discuss/u/clstromgren)\
**Post date:** [April 19, 2023, 2:48pm UTC](https://developer.sailpoint.com/discuss/t/sod-policies-mass-import/10284/4 "2023-04-19T14:48:52Z")

</div>

In the update and create calls there is a conflictingAccessCriteria object that would contain the entitlements

```auto
"conflictingAccessCriteria": {
    "leftCriteria": {
      "name": "money-in",
      "criteriaList": [
        {
          "type": "ENTITLEMENT",
          "id": "2c9180866166b5b0016167c32ef31a66",
          "name": "Administrator"
        },
        {
          "type": "ENTITLEMENT",
          "id": "2c9180866166b5b0016167c32ef31a67",
          "name": "Administrator"
        }
      ]
    },
    "rightCriteria": {
      "name": "money-in",
      "criteriaList": [
        {
          "type": "ENTITLEMENT",
          "id": "2c9180866166b5b0016167c32ef31a66",
          "name": "Administrator"
        },
        {
          "type": "ENTITLEMENT",
          "id": "2c9180866166b5b0016167c32ef31a67",
          "name": "Administrator"
        }
      ]
    }

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:24pm UTC](https://developer.sailpoint.com/discuss/t/sod-policies-mass-import/10284/5 "2023-07-19T14:24:50Z")

</div>


