POST api/Ratings/Post

Request Information

URI Parameters

None.

Body Parameters

LiteUserRating
NameDescriptionTypeAdditional information
ConcernClosedAdmin

boolean

None.

ConcernComment

string

None.

ConcernCommentAdmin

string

None.

CreatedBy

string

None.

CreatedByFullName

string

None.

CreatedOn

date

None.

Id

integer

None.

JobId

integer

None.

Rating

byte

None.

ReviewedUserFullName

string

None.

ReviewedUserId

string

None.

JobTypeId

integer

None.

ParentName

string

None.

StudentName

string

None.

StudentYear

integer

None.

DateFromActual

date

None.

DateToActual

date

None.

ParentAddress

string

None.

StudentAddress

string

None.

ParentEmail

string

None.

StudentEmail

string

None.

ParentPhone

string

None.

StudentPhone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ConcernClosedAdmin": true,
  "ConcernComment": "sample string 2",
  "ConcernCommentAdmin": "sample string 3",
  "CreatedBy": "sample string 4",
  "CreatedByFullName": "sample string 5",
  "CreatedOn": "2019-12-09T16:06:24.3564249+00:00",
  "Id": 7,
  "JobId": 8,
  "Rating": 64,
  "ReviewedUserFullName": "sample string 10",
  "ReviewedUserId": "sample string 11",
  "JobTypeId": 12,
  "ParentName": "sample string 13",
  "StudentName": "sample string 14",
  "StudentYear": 15,
  "DateFromActual": "2019-12-09T16:06:24.3564249+00:00",
  "DateToActual": "2019-12-09T16:06:24.3564249+00:00",
  "ParentAddress": "sample string 18",
  "StudentAddress": "sample string 19",
  "ParentEmail": "sample string 20",
  "StudentEmail": "sample string 21",
  "ParentPhone": "sample string 22",
  "StudentPhone": "sample string 23"
}

application/xml, text/xml

Sample:
<LiteUserRating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HubApi.Models.Hub.Api">
  <ConcernClosedAdmin>true</ConcernClosedAdmin>
  <ConcernComment>sample string 2</ConcernComment>
  <ConcernCommentAdmin>sample string 3</ConcernCommentAdmin>
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedByFullName>sample string 5</CreatedByFullName>
  <CreatedOn>2019-12-09T16:06:24.3564249+00:00</CreatedOn>
  <DateFromActual>2019-12-09T16:06:24.3564249+00:00</DateFromActual>
  <DateToActual>2019-12-09T16:06:24.3564249+00:00</DateToActual>
  <Id>7</Id>
  <JobId>8</JobId>
  <JobTypeId>12</JobTypeId>
  <ParentAddress>sample string 18</ParentAddress>
  <ParentEmail>sample string 20</ParentEmail>
  <ParentName>sample string 13</ParentName>
  <ParentPhone>sample string 22</ParentPhone>
  <Rating>64</Rating>
  <ReviewedUserFullName>sample string 10</ReviewedUserFullName>
  <ReviewedUserId>sample string 11</ReviewedUserId>
  <StudentAddress>sample string 19</StudentAddress>
  <StudentEmail>sample string 21</StudentEmail>
  <StudentName>sample string 14</StudentName>
  <StudentPhone>sample string 23</StudentPhone>
  <StudentYear>15</StudentYear>
</LiteUserRating>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.