Query Parameters
Body
application/json
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
}
}Currently, only phoneNumber is mapped
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
}
}Show child attributes