Compliance

PATCH /ver2/ComplianceService.svc/locations/overrides/{locationIdOrPath}

envianceSdk.compliance.updateOverrides

[
  "960e9887-ca75-4fa8-afd0-fc79aa952ff6",
  {
    "roleOverrides": [
      {
        "role": {
          "name": "Role 1"
        },
        "users": [
          {
            "name": "478e9887-ca75-4fa8-afd0-fc79aa952345"
          }
        ],
        "groups": [
          {
            "name": "Group1"
          },
          {
            "name": "Group2"
          }
        ]
      }
    ],
    "policiesOverride": [
      {
        "workflowDefinition": {
          "name": "workflowType 1"
        },
        "policies": [
          {
            "name": "policy1"
          },
          {
            "name": "policy2"
          }
        ]
      }
    ]
  },
  "onsuccess",
  "onerror"
]

envianceSdk.compliance.updateOverrides

[
  "960e9887-ca75-4fa8-afd0-fc79aa952ff6",
  {
    "roleOverrides": [
      {
        "role": {
          "id": "960e9887-ca75-4fa8-afd0-fc79aa952ff6"
        },
        "users": [
          {
            "id": "123e9887-ca75-4fa8-afd0-fc79aa952346"
          },
          {
            "id": "234e9887-ca75-4fa8-afd0-fc79aa952126"
          }
        ],
        "groups": [
          {
            "id": "678e9887-ca75-4fa8-afd0-fc79aa952456"
          },
          {
            "id": "675e9887-ca75-4fa8-afd0-fc79aa952236"
          }
        ]
      }
    ],
    "policiesOverride": [
      {
        "workflowType": {
          "id": "674e9887-ca75-4fa8-afd0-fc79aa952126"
        },
        "policies": [
          {
            "id": "345e9887-ca75-4fa8-afd0-fc79aa952346"
          },
          {
            "id": "465e9887-ca75-4fa8-afd0-fc79aa952786"
          }
        ]
      }
    ]
  },
  "onsuccess",
  "onerror"
]

Request

Path parameters

locationIdOrPathstring required

Headers

EnvApi-Systemidstring

Specify specific system to run instead of Home

EnvApi-Packageidstring

(optional) Clients application/package ID

EnvApi-Udf-DateTime-Iso-In-CustomFieldsstring

Udfs of DateTime should use Iso

EnvApi-Udf-DateTime-ReadInUserTzstring

(obsolete) Udfs of DateTime type whould be in ReadInUserTz

EnvApi-Udf-Value-Invariantstring

(optional) Udfs - Force Non-Localized (invariant) values

EnvApi-Localization-Allstring

(optional) Extend objects with User-given Localizations

x-client-request-idstring

(optional) Client ID for double submit prevention

Request body

Response

not available

Changes

No recorded changes to this operation across all 1 revision of this API.