/Feedback/{userId} GET

Returns the feedback a user is party to as a List Response.

URL
/Feedback/{userId}
Verb
GET

Headers

Header Data Type Valid Values Required Description
Content-Type string application/json YES The format your data will be sent to our site.
X-DevKey string string YES The devkey assigned to the developer.
X-AccessToken string string Optional The token acquired from a POST to Users/AccessToken.

Input

NOTE: Variables to place in the query string of the request.

Parameter Data Type Valid Values Description
ItemID integer integer ItemID to search for. NOTE: If ItemID <= 0, ItemID will be ignored during search
FeedbackSearchBy integer 0 - None = Default

1 - As Buyer

2 - As Seller

Search on feedback left as seller or left as buyer. NOTE: Default = 0
FeedbackSearchType integer 0 - All

1 - ForUser = Default

2 - ByUser

The type of feedback to search for. NOTE: Default = 1
FromUserID integer integer FromUserID to search for. NOTE: If FromUserID <= 0, FromUserID will be ignored during search
Sort integer 1 - Sort by Date Asc

2 - Sort by Date Desc = Default

3 - Sort by ItemID Asc

4 - Sort by ItemID Desc

5 - Sort by Rating Asc

6 - Sort by Rating Desc

7 - Sort by From UserName Asc

8 - Sort by From UserName Desc
The sort direction you want the feedback results to be.
Timeframe integer 1 - View all feedbacks

2 - View Feebacks left in last 24

3 - View Feebacks left in last 48

4 - View Feebacks left in last week

5 - View Feebacks left in last 2 weeks

6 - View Feebacks left in last 30 days

7 - View Feebacks left in last 60

8 - View Feebacks left in last 90
This sets the time frame to search for. Default = 1 - View all feedbacks.

Optional PagingParameters

Output

If the user id is not valid, you will receive a 404 NotFound and a Message Response indicating the reason.

If there are no errors with the input parameters, this call will respond with a 200 OK and the following data as serialized JSON

Parameter Data Type Valid Values Description
FeedbackID integer positive # The feedback ID
ItemID integer positive # The item id
BuyerSellerStatus string B, S Whether the user being rated is the buyer or the seller
CanDeleteFeedback boolean True/False Can the logged in user delete the feedback?
CanDeleteReplyFeedback boolean True/False Can the logged in user delete the reply?
CanDeleteFollowUpFeedback boolean True/False Can the logged in user delete the follow up?
CanEditFeedback boolean True/False Can the logged in user edit the feedback?
CanEditReplyFeedback boolean True/False Can the logged in user edit the reply?
CanEditFollowUpFeedback boolean True/False Can the logged in user edit the follow up?
CanFollowUpFeedback boolean True/False Can the logged in user follow up?
CanReplyFeedback boolean True/False Can the logged in user reply the feedback?
Comment string any string of text The comment posted by the FromUser
Date datetime Valid ISO 8601 DateTime format The date and time of the Comment in UTC
FollowUp string any string of text The followup comment posted by the orignal FromUser
FollowUpDate datetime Valid ISO 8601 DateTime format The date and time of the FollowUp in UTC
FromUser User Summary User Summary The User Summary for the from user.
ToUser User Summary User Summary The User Summary for the To user.
ItemID integer positive number Search feedback for ItemID provided.
RatingLetter string A+, A, B, C, D, and F The letter grade rating for the user
RatingScore double positive decimal The numerical rating for the user
Reply string any string of text The reply comment posted by the user being rated
ReplyDate datetime Valid ISO 8601 DateTime format The date and time of the Reply in UTC
SortBy Integer NOTE:
Sort by Date ascending = 1 = default
Sort by Date descending = 2
Sort by ItemID ascending = 3
Sort by ItemID descending = 4
Sort by Rating ascending = 5
Sort by Rating descending = 6
Sort by Username ascending = 7
Sort by Username descending = 8
Count integer positive # Total count of all records returned
PageIndex integer positive # The current page of items you want to return. Default = 1
PageSize integer positive # The number of items you want to return in each page. Default = 25

Links

Rel Description Condition
item The item for which this feedback was left
fromuserfeedback Feedback details for the user that left this feedback