Registers a user and insert a client, returns client number and user
Security
BasicAuthCredentials
- Sandbox serverhttp://sandbox.sunlync.net:9000/slapi/users/register
curl -i -X POST \
-u '<username>:<password>' \
http://sandbox.sunlync.net:9000/slapi/users/register \
-H 'Content-Type: application/json' \
-d '{
"firstName": "John",
"lastName": "Doe",
"middleInit": "D",
"address1": "1 Main St",
"address2": "Suite 10",
"city": "Buffalo",
"state": "NY",
"zip": "14220",
"homePhone": "7165551245",
"workPhone": "7165555678",
"cellPhone": "7165550987",
"email": "test@test.com",
"dob": "1980-12-25",
"storecode": "0000000001",
"empNo": "0000000001",
"gender": "male",
"doNotSolicit": 0,
"emailCommPref": 1,
"cellVoiceCommPref": 1,
"cellTextCommPref": 1,
"homePhoneCommPref": 1,
"mailCommPref": 1,
"workPhoneCommPref": 1,
"password": "Password123"
}'