List all orders by logged-in sprayer
curl --request GET \
--url https://localhost:8080/api/sprayer/order{
"content": [
{
"id": 123,
"farmer": {
"id": 123,
"email": "<string>",
"fullName": "<string>",
"phoneNumber": "<string>",
"street": "<string>",
"city": "<string>",
"province": "<string>",
"postalCode": "<string>",
"active": true
},
"receptionist": {
"id": 123,
"email": "<string>",
"fullName": "<string>",
"phoneNumber": "<string>",
"street": "<string>",
"city": "<string>",
"province": "<string>",
"postalCode": "<string>",
"active": true
},
"date": "2023-12-25",
"session": {
"id": 123,
"startTime": {
"hour": 123,
"minute": 123,
"second": 123,
"nano": 123
},
"endTime": {
"hour": 123,
"minute": 123,
"second": 123,
"nano": 123
}
},
"location": "<string>",
"latitude": 123,
"longitude": 123,
"cropType": {
"id": 123,
"name": "<string>"
},
"area": 123,
"cost": 123,
"completionDate": "2023-12-25",
"confirmed": true,
"creationDate": "2023-12-25"
}
],
"page": {
"size": 123,
"number": 123,
"totalElements": 123,
"totalPages": 123
}
}Order
List all orders by logged-in sprayer
GET
/
api
/
sprayer
/
order
List all orders by logged-in sprayer
curl --request GET \
--url https://localhost:8080/api/sprayer/order{
"content": [
{
"id": 123,
"farmer": {
"id": 123,
"email": "<string>",
"fullName": "<string>",
"phoneNumber": "<string>",
"street": "<string>",
"city": "<string>",
"province": "<string>",
"postalCode": "<string>",
"active": true
},
"receptionist": {
"id": 123,
"email": "<string>",
"fullName": "<string>",
"phoneNumber": "<string>",
"street": "<string>",
"city": "<string>",
"province": "<string>",
"postalCode": "<string>",
"active": true
},
"date": "2023-12-25",
"session": {
"id": 123,
"startTime": {
"hour": 123,
"minute": 123,
"second": 123,
"nano": 123
},
"endTime": {
"hour": 123,
"minute": 123,
"second": 123,
"nano": 123
}
},
"location": "<string>",
"latitude": 123,
"longitude": 123,
"cropType": {
"id": 123,
"name": "<string>"
},
"area": 123,
"cost": 123,
"completionDate": "2023-12-25",
"confirmed": true,
"creationDate": "2023-12-25"
}
],
"page": {
"size": 123,
"number": 123,
"totalElements": 123,
"totalPages": 123
}
}Documentation Index
Fetch the complete documentation index at: https://hoversprite.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
⌘I