createUser
POST {{baseUrl}}/user/
Creates a user
Parameters
Name | Description |
---|
body *object(body) | Created user object |
Response
Code | Description |
---|
default | successful operation |
Example
{
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
}
Request Body
{"id"=>9, "username"=>"Ruth", "firstName"=>"Ruth", "lastName"=>"Charles", "email"=>"ruthcharles2@gmail.com", "password"=>"RuthyforGood", "phone"=>"654738903", "userStatus"=>2}