cancel
Showing results for 
Search instead for 
Did you mean: 
amoghak
Occasional Member - Level 1

PATCH request to update name givenName is NOT working as expected.

Hi Team,

This Patch request was working in past for the SAP concur to change the given name.

{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "replace",
"path": "name.givenName",
"value": {
"givenName": "TestSAP16"
}
}
]
}
 
Now, the request is not working anymore and is giving error: 

{"code":"BAD_INPUT","type":"error","schemaPath":"/name/givenName","message":"Expected a string but found persistentarraymap"}]},

 

The working JSON is 

{

 

  "schemas": [

 

    "urn:ietf:params:scim:api:messages:2.0:PatchOp"

 

  ],

 

  "Operations": {

 

    "op": "replace",

 

    "path": "name.givenName",

 

    "value": "TestSAP161"

 

  }

 

}

 

Is there something changed at SAP concur end? The old JSON just stopped working.

 
1 REPLY 1
KevinD
Community Manager
Community Manager

@amoghak I see you posted this in two different forums. Please see my reply to your other post. 🙂


Thank you,
Kevin Dorsey
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.