Skip to main content
GET
/
api
/
farmer
/
feedback
Get all feedbacks
curl --request GET \
  --url https://localhost:8080/api/farmer/feedback
{
  "content": [
    {
      "id": 123,
      "order": {
        "id": 123,
        "farmer": {
          "id": 123,
          "email": "<string>",
          "fullName": "<string>",
          "phoneNumber": "<string>",
          "street": "<string>",
          "city": "<string>",
          "province": "<string>",
          "postalCode": "<string>",
          "expertise": "apprentice",
          "role": "farmer",
          "active": true
        },
        "receptionist": {
          "id": 123,
          "email": "<string>",
          "fullName": "<string>",
          "phoneNumber": "<string>",
          "street": "<string>",
          "city": "<string>",
          "province": "<string>",
          "postalCode": "<string>",
          "expertise": "apprentice",
          "role": "farmer",
          "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,
        "orderStatus": "pending",
        "paymentStatus": "pending",
        "paymentMethod": "cash",
        "completionDate": "2023-12-25",
        "confirmed": true,
        "creationDate": "2023-12-25"
      },
      "overallRating": 123,
      "attentiveRating": 123,
      "friendlyRating": 123,
      "professionalRating": 123,
      "text": "<string>"
    }
  ],
  "page": {
    "size": 123,
    "number": 123,
    "totalElements": 123,
    "totalPages": 123
  }
}

Query Parameters

pageable
object
required

Response

200 - */*

OK

content
object[]
page
object
I