POST Programme/CreateAppraisal
Request Information
URI Parameters
None.
Body Parameters
AppraisalName | Description | Type | Additional 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": "3173a9cd-4a7e-4f53-bf67-fe980f22b017", "Name": "sample string 2", "ContactID": "59da05c4-3775-4c39-8da7-01ed97d31a9d", "ContactName": "sample string 4", "CenterID": "40608662-4633-4457-a3f5-3069591d179f", "CenterName": "sample string 6", "Year": "00c01038-6bc2-4dcb-b0da-297ac6bbbb7a", "YearDesc": "sample string 8", "TutorID": "264f7168-b500-45fa-97b8-53a075c92d92", "TutorName": "sample string 10", "AssessedBy": 11, "Score": 12, "RecommendedTutorAward": 13, "Comments": "sample string 14", "HTContactID": "fd12dd81-b8a5-4bcd-9870-46d9b8bb22f1", "HTContactName": "sample string 16", "lst_Tutors": [ { "Name": "sample string 1", "Id": "d687fe8d-5eec-4d31-b88b-2f42149e9372" }, { "Name": "sample string 1", "Id": "d687fe8d-5eec-4d31-b88b-2f42149e9372" } ], "lst_year": [ { "Name": "sample string 1", "Id": "ab7e5294-d8ee-469f-99f4-df3a261d9650" }, { "Name": "sample string 1", "Id": "ab7e5294-d8ee-469f-99f4-df3a261d9650" } ] }
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>3173a9cd-4a7e-4f53-bf67-fe980f22b017</AppraisalId> <AssessedBy>11</AssessedBy> <CenterID>40608662-4633-4457-a3f5-3069591d179f</CenterID> <CenterName>sample string 6</CenterName> <Comments>sample string 14</Comments> <ContactID>59da05c4-3775-4c39-8da7-01ed97d31a9d</ContactID> <ContactName>sample string 4</ContactName> <HTContactID>fd12dd81-b8a5-4bcd-9870-46d9b8bb22f1</HTContactID> <HTContactName>sample string 16</HTContactName> <Name>sample string 2</Name> <RecommendedTutorAward>13</RecommendedTutorAward> <Score>12</Score> <TutorID>264f7168-b500-45fa-97b8-53a075c92d92</TutorID> <TutorName>sample string 10</TutorName> <Year>00c01038-6bc2-4dcb-b0da-297ac6bbbb7a</Year> <YearDesc>sample string 8</YearDesc> <lst_Tutors xmlns:d2p1="http://schemas.datacontract.org/2004/07/Caresenz.Model.Programme"> <d2p1:Tutors> <d2p1:Id>d687fe8d-5eec-4d31-b88b-2f42149e9372</d2p1:Id> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:Tutors> <d2p1:Tutors> <d2p1:Id>d687fe8d-5eec-4d31-b88b-2f42149e9372</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>ab7e5294-d8ee-469f-99f4-df3a261d9650</d2p1:Id> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:TTFSYearlst> <d2p1:TTFSYearlst> <d2p1:Id>ab7e5294-d8ee-469f-99f4-df3a261d9650</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.