POST api/Staff/Comments?staffId={staffId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
staffId | 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-04-15T21:08:22.5877523-04: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-04-15T21:08:22.5877523-04: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.