| HTTP Method | Route | Action Name | Parameters | Return Type |
|---|---|---|---|---|
| GET |
api/complaints/{complaintId}/images
|
GetImages |
complaintId
(Query)
|
Task<ActionResult<IEnumerable<ComplaintImageDto>>>
|
| POST |
api/complaints/{complaintId}/images
|
AddImage |
complaintId
(Query)
dto
(Body)
|
Task<ActionResult<ComplaintImageDto>>
|
| DELETE |
api/complaints/{id}
|
Delete |
id
(Query)
|
Task<ActionResult>
|
| GET |
api/complaints/{id}
|
GetById |
id
(Query)
|
Task<ActionResult<ComplaintDto>>
|
| PUT |
api/complaints/{id}
|
Update |
id
(Query)
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/complaints/{id}/with-images
|
GetByIdWithImages |
id
(Query)
|
Task<ActionResult<ComplaintDto>>
|
| GET |
api/complaints/box/{boxNumber}
|
GetByBoxNumber |
boxNumber
(Query)
|
Task<ActionResult<IEnumerable<ComplaintDto>>>
|
| POST |
api/complaints/Create
|
Create |
dto
(Body)
|
Task<ActionResult<ComplaintDto>>
|
| GET |
api/complaints/GetAll
|
GetAll | None |
Task<ActionResult<IEnumerable<ComplaintDto>>>
|
| DELETE |
api/complaints/images/{id}
|
DeleteImage |
id
(Query)
|
Task<ActionResult>
|
| GET |
api/complaints/images/{id}
|
GetImageById |
id
(Query)
|
Task<ActionResult<ComplaintImageDto>>
|
| PUT |
api/complaints/images/{id}
|
UpdateImage |
id
(Query)
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/complaints/test
|
Test | None |
ActionResult<Object>
|
| GET |
api/complaints/type/{complainTypeId}
|
GetByComplainTypeId |
complainTypeId
(Query)
|
Task<ActionResult<IEnumerable<ComplaintDto>>>
|
| GET |
api/complaints/with-images
|
GetAllWithImages | None |
Task<ActionResult<IEnumerable<ComplaintDto>>>
|
| POST |
api/complaints/with-images
|
CreateComplaintWithImages |
jsonData
(Form)
images
(Query)
|
Task<ActionResult<ComplaintDto>>
|
JS_Loading