+ Start a Discussion
Dr. Thomas MillerDr. Thomas Miller 

SCIM: Cannot create a new user with both Phone and MobilePhone.

When you try to create a user and send
 
    "phoneNumbers":[
        {
            "type": "work",
            "value": "02111234567"
        },
        {
            "type": "mobile",
            "value": "01721234567"
        }
    ]
 
you get an error
 
{
    "schemas": "[\"urn:ietf:params:scim:api:messages:2.0:Error\"]",
    "detail": "INVALID:only_a_single_phone_is_allowed",
    "status": 409
}
 
This happens although you can send either a work number (stored in Phone) or a mobile number (stored in MobilePhone) - and a GET call returns both numbers when the are set.
So the create (POST) or full update (PUT) request should be able to accept two numbers as well.