Dear Team,
We are not able to set the following options while creating a new user by using IPOffice Management API 11.0
1) UserRights
2) UserRightsTimeProfile
We are getting 200(OK) as response, but usually it should return GUID of newly created user. Without these option, users are creating successfully.
We are creating UserRightsTimeProfile manually from IPOffice manager, and trying to apply it while creating new user. For UserRights we are simply keeping it to 'Agent' (predefined) rights.
FYR, here is some sample request body
<?xml version="1.0" encoding="UTF-8"?>
<data>
<ws_object>
<User>
<AssignedPackage>4</AssignedPackage>
<Extension>7778</Extension>
<FlareEnabled>true</FlareEnabled>
<FullName>Biswara</FullName>
<LoginCode>123456</LoginCode>
<MobilityFeatures>false</MobilityFeatures>
<Name>BRNayaks</Name>
<Password>avaya@123</Password>
<Receptionist>false</Receptionist>
<RemoteWorker>false</RemoteWorker>
<TwinningType>0</TwinningType>
<UMSWebServices>true</UMSWebServices>
<VoicemailCode>1956</VoicemailCode>
<VoicemailOn>true</VoicemailOn>
<WebCollaboration>false</WebCollaboration>
<XDirectory>false</XDirectory>
<UserRights>Agent</UserRights>
<UserRightsTimeProfile>ShiftA</UserRightsTimeProfile>
</User>
</ws_object>
</data>
|