GET api/user/{uid}/review?offset={offset}&count={count}

Get list of reviews to the user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uid

User Uid

integer

Required

offset

offset

date

None.

count

count

integer

Default value is 20

Body Parameters

None.

Response Information

Resource Description

List of reviews in a response DTO

GCSListByDateTimeResponseDTOOfReviewDTO
NameDescriptionTypeAdditional information
total

integer

None.

offset

date

None.

count

integer

None.

next

date

None.

result

Collection of ReviewDTO

None.

no_more_result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "offset": "2018-01-23T01:59:33.6959504+08:00",
  "count": 2,
  "next": "2018-01-23T01:59:33.6959504+08:00",
  "result": [
    {
      "review_uid": 1,
      "product_name": "sample string 2",
      "product_image": "sample string 3",
      "product_price": 4.1,
      "rating": 5.1,
      "comment": "sample string 6",
      "review_create_date": "2018-01-23T01:59:33.7115785+08:00",
      "buyer": {
        "user_uid": 1,
        "display_name": "sample string 2",
        "fb_picture": "sample string 3"
      },
      "seller": {
        "user_uid": 1,
        "display_name": "sample string 2",
        "fb_picture": "sample string 3"
      }
    },
    {
      "review_uid": 1,
      "product_name": "sample string 2",
      "product_image": "sample string 3",
      "product_price": 4.1,
      "rating": 5.1,
      "comment": "sample string 6",
      "review_create_date": "2018-01-23T01:59:33.7115785+08:00",
      "buyer": {
        "user_uid": 1,
        "display_name": "sample string 2",
        "fb_picture": "sample string 3"
      },
      "seller": {
        "user_uid": 1,
        "display_name": "sample string 2",
        "fb_picture": "sample string 3"
      }
    }
  ],
  "no_more_result": true
}