user

Create user.

This can only be done by the logged in user.

post/user

Request body

idinteger
usernamestring
firstNamestring
lastNamestring
emailstring
passwordstring
phonestring
userStatusinteger

User Status

Example request

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

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 6 of the 53 revisions of this API.9816

  • 1315ee0b6b7e21See the full diff
    • ▲

      removed the media type application/json for the response with the status

      response-media-type-removed

    • ▲

      removed the media type application/xml for the response with the status

      response-media-type-removed

    • ○

      added the success response with the status

      response-success-status-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • d5fd36e3763a12See the full diff
    • ▲

      removed the success response with the status

      response-success-status-removed

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    • ○

      added the media type application/xml for the response with the status

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 78de4368a03c21See the full diff
    • ▲

      removed the media type application/json for the response with the status

      response-media-type-removed

    • ▲

      removed the media type application/xml for the response with the status

      response-media-type-removed

    • ○

      added the success response with the status

      response-success-status-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 887ffd0911f239See the full diff
    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ▲

      removed the success response with the status

      response-success-status-removed

    • ○

      added the media type application/xml for the response with the status

      response-media-type-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 253de9e0f0ae182See the full diff
    • ▲

      removed the media type application/xml for the response with the status

      response-media-type-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the success response with the status

      response-success-status-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog