question

nibu-eapen avatar image
nibu-eapen asked ·

php sample code for SCIM edit extensions

is anyone can help me with php sample code to edit extension. I'm using PHP SDK.


$response = $platform->put(' https://platform.devtest.ringcentral.com/scim/v2/Users/244580004', array(
           
            "schemas" => "urn:ietf:params:scim:schemas:core:2.0:User",
            "userName" => " first.last@mysite.com",
            "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 https://platform.devtest.ringcentral.com/scim/v2/Users/244580004  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

Thanks

topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.