POST api/packages/AddOverview

Request Information

URI Parameters

None.

Body Parameters

PackageOverview
NameDescriptionTypeAdditional information
Rating

byte

None.

Comment

string

None.

JCreateDate

string

None.

Time

string

None.

FullName

string

None.

UserImageUrl

string

None.

Id

integer

None.

UserId

integer

None.

PackageId

integer

None.

CourseName

string

None.

CreateDate

date

None.

LikeComment

integer

None.

DisLikeComment

integer

None.

Approved

boolean

None.

ApprovedBy

integer

None.

ApprovedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "PackageId": 3,
  "CourseName": "sample string 4",
  "CreateDate": "2020-07-05T17:45:16.0216694+04:30",
  "LikeComment": 6,
  "DisLikeComment": 7,
  "Approved": true,
  "ApprovedBy": 9,
  "ApprovedDate": "2020-07-05T17:45:16.0216694+04:30",
  "Rating": 64,
  "Comment": "sample string 1",
  "JCreateDate": "1399/04/15",
  "Time": "17:45",
  "FullName": "sample string 2",
  "UserImageUrl": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PackageOverview'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.