POST Programme/CreateAppraisal

Request Information

URI Parameters

None.

Body Parameters

Appraisal
NameDescriptionTypeAdditional information
AppraisalId

globally unique identifier

None.

Name

string

None.

ContactID

globally unique identifier

None.

ContactName

string

None.

CenterID

globally unique identifier

None.

CenterName

string

None.

Year

globally unique identifier

None.

YearDesc

string

None.

TutorID

globally unique identifier

None.

TutorName

string

None.

AssessedBy

integer

None.

Score

integer

None.

RecommendedTutorAward

integer

None.

Comments

string

None.

HTContactID

globally unique identifier

None.

HTContactName

string

None.

lst_Tutors

Collection of Tutors

None.

lst_year

Collection of TTFSYearlst

None.

Request Formats

application/json, text/json

Sample:
{
  "AppraisalId": "9ff7cf51-2f61-451f-b797-7bf6a224e090",
  "Name": "sample string 2",
  "ContactID": "ed9815f3-9b21-4639-afd6-7302819effd3",
  "ContactName": "sample string 4",
  "CenterID": "d80ea119-36ea-41eb-9a51-d88b5a21d401",
  "CenterName": "sample string 6",
  "Year": "a84f1a59-f08b-4848-a20b-a18ac639e190",
  "YearDesc": "sample string 8",
  "TutorID": "47c8d366-f871-434a-a4ec-b5309a02f0c2",
  "TutorName": "sample string 10",
  "AssessedBy": 11,
  "Score": 12,
  "RecommendedTutorAward": 13,
  "Comments": "sample string 14",
  "HTContactID": "7e4569b4-0dda-45f5-bd48-4a0392b8eef1",
  "HTContactName": "sample string 16",
  "lst_Tutors": [
    {
      "Name": "sample string 1",
      "Id": "9fa1b131-5db1-4c47-a5a4-5b9a8b39d23a"
    },
    {
      "Name": "sample string 1",
      "Id": "9fa1b131-5db1-4c47-a5a4-5b9a8b39d23a"
    }
  ],
  "lst_year": [
    {
      "Name": "sample string 1",
      "Id": "45053c9b-6379-4887-8789-f05b41256670"
    },
    {
      "Name": "sample string 1",
      "Id": "45053c9b-6379-4887-8789-f05b41256670"
    }
  ]
}

application/xml, text/xml

Sample:
<Appraisal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caresenz.Model">
  <AppraisalId>9ff7cf51-2f61-451f-b797-7bf6a224e090</AppraisalId>
  <AssessedBy>11</AssessedBy>
  <CenterID>d80ea119-36ea-41eb-9a51-d88b5a21d401</CenterID>
  <CenterName>sample string 6</CenterName>
  <Comments>sample string 14</Comments>
  <ContactID>ed9815f3-9b21-4639-afd6-7302819effd3</ContactID>
  <ContactName>sample string 4</ContactName>
  <HTContactID>7e4569b4-0dda-45f5-bd48-4a0392b8eef1</HTContactID>
  <HTContactName>sample string 16</HTContactName>
  <Name>sample string 2</Name>
  <RecommendedTutorAward>13</RecommendedTutorAward>
  <Score>12</Score>
  <TutorID>47c8d366-f871-434a-a4ec-b5309a02f0c2</TutorID>
  <TutorName>sample string 10</TutorName>
  <Year>a84f1a59-f08b-4848-a20b-a18ac639e190</Year>
  <YearDesc>sample string 8</YearDesc>
  <lst_Tutors xmlns:d2p1="http://schemas.datacontract.org/2004/07/Caresenz.Model.Programme">
    <d2p1:Tutors>
      <d2p1:Id>9fa1b131-5db1-4c47-a5a4-5b9a8b39d23a</d2p1:Id>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:Tutors>
    <d2p1:Tutors>
      <d2p1:Id>9fa1b131-5db1-4c47-a5a4-5b9a8b39d23a</d2p1:Id>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:Tutors>
  </lst_Tutors>
  <lst_year xmlns:d2p1="http://schemas.datacontract.org/2004/07/Caresenz.Model.Assistance">
    <d2p1:TTFSYearlst>
      <d2p1:Id>45053c9b-6379-4887-8789-f05b41256670</d2p1:Id>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:TTFSYearlst>
    <d2p1:TTFSYearlst>
      <d2p1:Id>45053c9b-6379-4887-8789-f05b41256670</d2p1:Id>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:TTFSYearlst>
  </lst_year>
</Appraisal>

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

Sample:

Sample not available.