PUT api/staffs/{staffId}/comments/{commentId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
staffId | integer |
Required |
|
commentId | integer |
Required |
Body Parameters
StaffCommentViewModelName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
StaffId | integer |
None. |
|
Comment | string |
None. |
|
Date | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "StaffId": 2, "Comment": "sample string 3", "Date": "2021-01-16T21:58:53.3472919-05:00" }
application/xml, text/xml
Sample:
<StaffCommentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolERP.API.ViewModels.StaffDetails"> <Comment>sample string 3</Comment> <Date>2021-01-16T21:58:53.3472919-05:00</Date> <StaffId>2</StaffId> <id>1</id> </StaffCommentViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.