Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCIIDDS-149: SAP extension schema cannot be recognized in path during the PATCH request #202

Merged
merged 3 commits into from
Nov 18, 2022

Conversation

IvayloT9
Copy link
Contributor

@IvayloT9 IvayloT9 commented Nov 17, 2022

When we put a schema in path, the API is not recognized the it:

{
    "Operations": [
        {
            "op": "replace",
            "path": "urn:ietf:params:scim:schemas:extension:sap:2.0:User:emails[value eq \"mark.johnson9@sap-test.de\"]",
            "value": [
                {
                    "value": "mark.johnson9@sap-test.de",
                    "primary": true
                }
            ]
        }
    ],
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:PatchOp"
    ]
}

The returned error is "Attribute with name 'urn:ietf:params:scim:schemas:core:2.0:User:urn:ietf:params:scim:schemas:extension:sap:2.0:User:emails' does not exist" which is not correct.

Copy link
Member

@karaulyanovsap karaulyanovsap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Describe in the PR request what was the payload and any errors that were returned.

@karaulyanovsap karaulyanovsap merged commit 2310cf2 into SAP:master Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants