Skip to content

Creates list of users with given input array

Request

Creates list of users with given input array

Bodyapplication/json
Array [
idinteger, (int64)
Example:10
usernamestring
Example:"theUser"
firstNamestring
Example:"John"
lastNamestring
Example:"James"
emailstring
Example:"john@email.com"
passwordstring
Example:12345
phonestring
Example:12345
userStatusinteger, (int32)

User Status

Example:1
]
curl -i -X POST \
  https://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/pet-store/openapi/user/createWithList \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "id": 10,
      "username": "theUser",
      "firstName": "John",
      "lastName": "James",
      "email": "john@email.com",
      "password": 12345,
      "phone": 12345,
      "userStatus": 1
    }
  ]'

Responses

Successful operation

Body
idinteger, (int64)
Example:10
usernamestring
Example:"theUser"
firstNamestring
Example:"John"
lastNamestring
Example:"James"
emailstring
Example:"john@email.com"
passwordstring
Example:12345
phonestring
Example:12345
userStatusinteger, (int32)

User Status

Example:1
Response
<user>
  <id>10</id>
  <username>theUser</username>
  <firstName>John</firstName>
  <lastName>James</lastName>
  <email>john@email.com</email>
  <password>12345</password>
  <phone>12345</phone>
  <userStatus>1</userStatus>
</user>