# Register user Registers a user and insert a client, returns client number and user Endpoint: POST /slapi/users/register Version: 0.0.1 Security: BasicAuthCredentials ## Request fields (application/json): - `firstName` (string) Example: "John" - `lastName` (string) Example: "Doe" - `middleInit` (string) Example: "D" - `address1` (string) Example: "1 Main St" - `address2` (string) Example: "Suite 10" - `city` (string) Example: "Buffalo" - `state` (string) Example: "NY" - `zip` (string) Example: "14220" - `homePhone` (string) Example: "7165551245" - `workPhone` (string) Example: "7165555678" - `cellPhone` (string) Example: "7165550987" - `email` (string) Example: "test@test.com" - `dob` (string) Example: "1980-12-25" - `storecode` (string) Example: "0000000001" - `empNo` (string) Example: "0000000001" - `gender` (string) Example: "male" - `doNotSolicit` (integer) - `emailCommPref` (integer) Example: 1 - `cellVoiceCommPref` (integer) Example: 1 - `cellTextCommPref` (integer) Example: 1 - `homePhoneCommPref` (integer) Example: 1 - `mailCommPref` (integer) Example: 1 - `workPhoneCommPref` (integer) Example: 1 - `password` (string) Example: "Password123" ## Response 201 fields (applicaiton/json): - `clientNumber` (string) Example: "0000000001" - `message` (string) - `userId` (integer) Example: 1 ## Response 400 fields (applicatoin/json): - `error` (string) - `message` (string)