我想通過SCIM端點將複雜屬性添加爲另一個wso2Extension複雜屬性的子屬性。我通過SCIM休息端點成功地將一個複雜屬性作爲wso2Extension的子屬性添加到了用戶配置文件中。通過SCIM端點添加複雜屬性作爲wso2Extension的另一個複雜屬性的子屬性
在工作curl命令的下面給出一個名爲的患者的複雜屬性作爲wso2Extension的子屬性添加到用戶配置文件。
curl -v -k --user admin:admin --data "{"schemas":[],"userName":"SureshAtt","password":"[email protected]","wso2Extension":{"employeeNumber":"000111","costCenter":"111111","organization":"WSO2Org","division":"Engineering","department":"Intigration","patient":{"firstName":"Test Patient","displayName":"Test Patient"}}}" --header "Content-Type:application/json" https://localhost:9443/wso2/scim/Users
現在,我想補充專業命名一個複雜的屬性作爲wso2Extension的另一個複雜屬性的子屬性,我試着用以下的curl命令。
curl -v -k --user admin:admin --data "{"schemas":[],"userName":"SureshAtt","password":"[email protected]","wso2Extension":{"employeeNumber":"000111","fax":"1233","costCenter":"111111","organization":"WSO2Org","division":"Engineering","department":"Intigration","patient":{"professional":{"firstName":"Test Patient","displayName":"Test Patient"}}}}" --header "Content-Type:application/json" https://localhost:9443/wso2/scim/Users
用戶創建成功,但沒有自定義屬性在配置文件中。
請幫