API for Update Source Schema Full

I am uding Update source schema full API fom postman and i get the error : “text”: “The request was syntactically correct but its content is semantically invalid.”

Here is the body i am sending :


{
  "id": "26bfe3f58b8b4197bc90b9d1c87b2b94",
  "name": "account",
  "nativeObjectType": "User",
  "identityAttribute": "sAMAccountName",
  "displayAttribute": "distinguishedName",
  "hierarchyAttribute": "memberOf",
  "includePermissions": false,
  "features": [
    "PROVISIONING",
    "NO_PERMISSIONS_PROVISIONING",
    "GROUPS_HAVE_MEMBERS"
  ],
  "configuration": {
    "groupMemberAttribute": "member"
  },
  "attributes": [
    {
      "name": "sAMAccountName",
      "type": "STRING",
      "isMultiValued": false,
      "isEntitlement": false,
      "isGroup": false
    },
    {
      "name": "memberOf",
      "type": "STRING",
      "schema": {
        "type": "CONNECTOR_SCHEMA",
        "id": "26bfe3f58b8b4197bc90b9d1c87b2b94",
        "name": "group"
      },
      "description": "Group membership",
      "isMultiValued": true,
      "isEntitlement": true,
      "isGroup": true
    }
  ],
  "created": "2019-12-24T22:32:58.104Z",
  "modified": "2019-12-31T20:22:28.104Z"
}

Please do help.THanks

Some fields are immutable and cannot be changed, such as:

  • id
  • type
  • authoritative
  • connector
  • connectorClass
  • passwordPolicies

Also as you’re doing a full update i couldn’t see the type being sent such as Active Directory

Would suggest just doing a partial update if its a specific entry you want to update, which will be easier to debug.

@aditya_pathak - Can you send me a working curl for this API? And my application is a delimited file.

Also, the partial update API is working fine.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.