POST api/SupervisoryRatings

Request Information

URI Parameters

None.

Body Parameters

SupervisoryRating
NameDescriptionTypeAdditional information
SupervisorRatingKey

integer

None.

SupervisorLink

integer

None.

EmployeeLink

integer

None.

DayRating

date

None.

Answers

string

None.

Completed

string

None.

Scored

string

None.

RawDriverScore

integer

None.

RawTeamScore

integer

None.

FinalDriverScore

integer

None.

DayScored

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SupervisorRatingKey": 1,
  "SupervisorLink": 2,
  "EmployeeLink": 3,
  "DayRating": "2021-06-18T19:55:51.0100576-07:00",
  "Answers": "sample string 4",
  "Completed": "sample string 5",
  "Scored": "sample string 6",
  "RawDriverScore": 1,
  "RawTeamScore": 1,
  "FinalDriverScore": 1,
  "DayScored": "2021-06-18T19:55:51.0100576-07:00"
}

application/xml, text/xml

Sample:
<SupervisoryRating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models">
  <Answers>sample string 4</Answers>
  <Completed>sample string 5</Completed>
  <DayRating>2021-06-18T19:55:51.0100576-07:00</DayRating>
  <DayScored>2021-06-18T19:55:51.0100576-07:00</DayScored>
  <EmployeeLink>3</EmployeeLink>
  <FinalDriverScore>1</FinalDriverScore>
  <RawDriverScore>1</RawDriverScore>
  <RawTeamScore>1</RawTeamScore>
  <Scored>sample string 6</Scored>
  <SupervisorLink>2</SupervisorLink>
  <SupervisorRatingKey>1</SupervisorRatingKey>
</SupervisoryRating>

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 'SupervisoryRating'.

Response Information

Resource Description

SupervisoryRating
NameDescriptionTypeAdditional information
SupervisorRatingKey

integer

None.

SupervisorLink

integer

None.

EmployeeLink

integer

None.

DayRating

date

None.

Answers

string

None.

Completed

string

None.

Scored

string

None.

RawDriverScore

integer

None.

RawTeamScore

integer

None.

FinalDriverScore

integer

None.

DayScored

date

None.

Response Formats

application/json, text/json

Sample:
{
  "SupervisorRatingKey": 1,
  "SupervisorLink": 2,
  "EmployeeLink": 3,
  "DayRating": "2021-06-18T19:55:51.0100576-07:00",
  "Answers": "sample string 4",
  "Completed": "sample string 5",
  "Scored": "sample string 6",
  "RawDriverScore": 1,
  "RawTeamScore": 1,
  "FinalDriverScore": 1,
  "DayScored": "2021-06-18T19:55:51.0100576-07:00"
}

application/xml, text/xml

Sample:
<SupervisoryRating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models">
  <Answers>sample string 4</Answers>
  <Completed>sample string 5</Completed>
  <DayRating>2021-06-18T19:55:51.0100576-07:00</DayRating>
  <DayScored>2021-06-18T19:55:51.0100576-07:00</DayScored>
  <EmployeeLink>3</EmployeeLink>
  <FinalDriverScore>1</FinalDriverScore>
  <RawDriverScore>1</RawDriverScore>
  <RawTeamScore>1</RawTeamScore>
  <Scored>sample string 6</Scored>
  <SupervisorLink>2</SupervisorLink>
  <SupervisorRatingKey>1</SupervisorRatingKey>
</SupervisoryRating>