POST api/PoctLogin/TeacherPostCommentImageAdd

Request Information

URI Parameters

None.

Body Parameters

PostCommentImageModel
NameDescriptionTypeAdditional information
Title

string

None.

UserCode

string

None.

PostImageUrl

string

None.

PostID

integer

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "Title": "sample string 1",
  "UserCode": "sample string 2",
  "PostImageUrl": "sample string 3",
  "PostID": 4
}

application/xml, text/xml

Sample:
<Login.PostCommentImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoctAPI.Models">
  <PostID>4</PostID>
  <PostImageUrl>sample string 3</PostImageUrl>
  <Title>sample string 1</Title>
  <UserCode>sample string 2</UserCode>
</Login.PostCommentImageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.