user

Get user by user name.

Get user detail based on username.

get/user/{username}

Path parameters

usernamestring required

The name that needs to be fetched. Use user1 for testing

Response

successful operation

idinteger
usernamestring
firstNamestring
lastNamestring
emailstring
passwordstring
phonestring
userStatusinteger

User Status

Example response

{
  "id": 10,
  "username": "theUser",
  "firstName": "John",
  "lastName": "James",
  "email": "john@email.com",
  "password": "12345",
  "phone": "12345",
  "userStatus": 1
}

Changes

Changed in 1 of the 53 revisions of this API.182

  • 253de9e0f0ae182See the full diff
    • removed the media type application/xml for the response with the status default

      response-media-type-removed

    • removed the optional property email from the response with the default status

      response-optional-property-removed

    • removed the optional property firstName from the response with the default status

      response-optional-property-removed

    • removed the optional property id from the response with the default status

      response-optional-property-removed

    • removed the optional property lastName from the response with the default status

      response-optional-property-removed

    • removed the optional property password from the response with the default status

      response-optional-property-removed

    • removed the optional property phone from the response with the default status

      response-optional-property-removed

    • removed the optional property userStatus from the response with the default status

      response-optional-property-removed

    • removed the optional property username from the response with the default status

      response-optional-property-removed

    • added the required property code to the response with the default status

      response-required-property-added

    • added the required property message to the response with the default status

      response-required-property-added