REST API Issue

REST API Issue

I'm trying to use the CreateUser REST API in ADManager Plus via a URL-based request.
This works fine:
https://adad.mydomain.net:8080/RestAPI/CreateUser?domainName=ad.mydomain.com&AuthToken=MYTOKEN&PRODUCT_NAME=MODULE_NAME&inputFormat=[ {    "givenName": "John",    "initials": "mat",       "password": "Martin@12",    "templateName": "User Creation with basic Attributes"  },]
But when I add the sn (surname) attribute like this:
https://adad.mydomain.net:8080/RestAPI/CreateUser?domainName=ad.mydomain.com&AuthToken=MYTOKEN&PRODUCT_NAME=MODULE_NAME&inputFormat=[ {    "givenName": "John",    "initials": "mat",       "password": "Martin@12", "sn": "Martin",   "templateName": "User Creation with basic Attributes"  },]
I get the following error:
{
  "SEVERITY": "SEVERE",
  "STATUS_MESSAGE": "Unable to process the request. Please make sure the inputs are valid JSON.",
  "ERROR_CODE": "00001113"
}
What's strange is that attributes like givenName, displayName, and initials work fine, but adding sn attribute causes this error.
Its not Only about sn some other attributes have this problem too .
SOS
      • Sticky Posts

      • New Release: ADManager Plus 7050 (January 2020)

        We are happy to let you know that the latest version of ADManager Plus, build 7050, has been unveiled. Mentioned below are the details. Update to the latest build right away! New Features: Option to modify the computer objects using templates. Integration with HR applications Ultipro and BambooHR to automatically: Create user accounts in AD, Office 365, Exchange, Skype for Business, and G Suite whenever a new employee record is added in the HR application. Modify users' AD accounts whenever their

                        New to ADSelfService Plus?