GET api/feedback/lastweek?restStopId={restStopId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
restStopId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FeedbackName | Description | Type | Additional information |
---|---|---|---|
feedbackId | integer |
None. |
|
restroomId | integer |
None. |
|
badge | string |
None. |
|
needAttention | boolean |
None. |
|
needRepair | boolean |
None. |
|
needSupply | boolean |
None. |
|
needCleaning | boolean |
None. |
|
closed | boolean |
None. |
|
feedbackText | string |
None. |
|
rating | decimal number |
None. |
|
issue | string |
None. |
|
issueStatus | string |
None. |
|
workRequestDescription | string |
None. |
|
workRequestId | string |
None. |
|
inspectionPassed | boolean |
None. |
|
addDateTime | date |
None. |
|
updDateTime | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "feedbackId": 1, "restroomId": 2, "badge": "sample string 3", "needAttention": true, "needRepair": true, "needSupply": true, "needCleaning": true, "closed": true, "feedbackText": "sample string 9", "rating": 1.0, "issue": "sample string 10", "issueStatus": "sample string 11", "workRequestDescription": "sample string 12", "workRequestId": "sample string 13", "inspectionPassed": true, "addDateTime": "2025-04-04T14:12:08.8619099+00:00", "updDateTime": "2025-04-04T14:12:08.8619099+00:00" }
application/xml, text/xml
Sample:
<feedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.RestroomFinder.API.Models"> <addDateTime>2025-04-04T14:12:08.8619099+00:00</addDateTime> <badge>sample string 3</badge> <closed>true</closed> <feedbackId>1</feedbackId> <feedbackText>sample string 9</feedbackText> <inspectionPassed>true</inspectionPassed> <issue>sample string 10</issue> <issueStatus>sample string 11</issueStatus> <needAttention>true</needAttention> <needCleaning>true</needCleaning> <needRepair>true</needRepair> <needSupply>true</needSupply> <rating>1</rating> <restroomId>2</restroomId> <updDateTime>2025-04-04T14:12:08.8619099+00:00</updDateTime> <workRequestDescription>sample string 12</workRequestDescription> <workRequestId>sample string 13</workRequestId> </feedback>