Skip to main content
POST
/
api
/
user
Get all user by parameters
curl --request POST \
  --url https://localhost:8080/api/user \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 123,
  "email": "<string>",
  "fullName": "<string>",
  "phoneNumber": "<string>",
  "street": "<string>",
  "city": "<string>",
  "province": "<string>",
  "postalCode": "<string>",
  "expertise": "apprentice",
  "role": "farmer",
  "active": true
}'
{
  "content": [
    {
      "id": 123,
      "email": "<string>",
      "fullName": "<string>",
      "phoneNumber": "<string>",
      "street": "<string>",
      "city": "<string>",
      "province": "<string>",
      "postalCode": "<string>",
      "expertise": "apprentice",
      "role": "farmer",
      "active": true
    }
  ],
  "page": {
    "size": 123,
    "number": 123,
    "totalElements": 123,
    "totalPages": 123
  }
}

Query Parameters

pageable
object
required

Body

application/json
id
integer
email
string
fullName
string
phoneNumber
string
street
string
city
string
province
string
postalCode
string
expertise
enum<string>
Available options:
apprentice,
adept,
expert
role
enum<string>
Available options:
farmer,
receptionist,
sprayer,
admin
active
boolean

Response

200 - */*

OK

content
object[]
page
object
I