I am using the SoftLayer REST API to add a user profile using URL https://api.softlayer.com/rest/v3/SoftLayer_User_Customer.json and a post method.
The parameters passed are:
{
"parameters" :
[
{ "address1" : "2544 Nice Road",
"city" : "Atlantic City",
"companyName" : "Cognitive Research",
"state" : "NJ",
"country" : "US",
"postalCode" : "00000",
"firstName" : "Fexxx",
"lastName" : "Hexxx",
"email" : "[email protected]",
"permissionSystemVersion" : "1",
"timezoneId" : "117",
"username" : "[email protected]",
"secondaryPasswordTimeoutDays" : 90,
"userStatusId" : 1001
},
"xx0nn1mm!",
"xx0nn1mm!"
]
}
The error is RC 500 msg is "Internal Server Error" content is "error":"The property \'firstName\' must be set to create an instance of \'SoftLayer_User_Customer\'.","code":"SoftLayer_Exception_MissingCreationProperty"
This has worked in the past, but today it is failing.