php sample code for SCIM edit extensions

  • 1
  • Question
  • Updated 8 months ago
is anyone can help me with php sample code to edit extension. I'm using PHP SDK.

$response = $platform->put('', array(
            "schemas" => "urn:ietf:params:scim:schemas:core:2.0:User",
            "userName" => "",
            "active" => true

But it throws following error

Exception: 400 Bad Request (and additional error happened during JSON parse: Response is not JSON)
SDK HTTP Error at
Response text: Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token
 at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@5871346f; line: 1, column: 12] (through reference chain: com.ringcentral.cim.model.User["schemas"])
Previous: Response has unsuccessful status


Photo of Nibu Eapen

Nibu Eapen

  • 340 Points 250 badge 2x thumb

Posted 8 months ago

  • 1

There are no replies.