POST classroomAPI/Portal/setAward?UserID={UserID}&AwarderID={AwarderID}&AccreditationID={AccreditationID}&Reason={Reason}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserID | globally unique identifier |
Required |
|
AwarderID | globally unique identifier |
Required |
|
AccreditationID | globally unique identifier |
Required |
|
Reason | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AccreditationsAwardedName | Description | Type | Additional information |
---|---|---|---|
AAIdPK | globally unique identifier |
None. |
|
AIDFK | globally unique identifier |
None. |
|
UserIdFK | globally unique identifier |
None. |
|
AwardedByFK | globally unique identifier |
None. |
|
VerifiedByFk | globally unique identifier |
None. |
|
Achieved | date |
None. |
|
LastAchieved | date |
None. |
|
ConfirmedOn | date |
None. |
|
Reference | string |
None. |
|
Reason | string |
None. |
|
Accreditation | Accreditation |
None. |
|
Awarder | UserSummary |
None. |
|
Awardee | UserSummary |
None. |
Response Formats
application/json, text/json
Sample:
{ "AAIdPK": "937f9a74-fe7c-46b8-9522-a02324dd9a22", "AIDFK": "728bc63a-a8eb-47aa-a5a6-1b619eb890a5", "UserIdFK": "c208f1b1-10ac-437e-9bd9-fd697324b958", "AwardedByFK": "66614b62-ad25-4b44-a70e-f86b592273c3", "VerifiedByFk": "6fc56405-9024-4e85-85ef-94432bd57632", "Achieved": "2025-04-03T19:52:56.7619372-04:00", "LastAchieved": "2025-04-03T19:52:56.7619372-04:00", "ConfirmedOn": "2025-04-03T19:52:56.7619372-04:00", "Reference": "sample string 3", "Reason": "sample string 4", "Accreditation": { "AccreditationIDPK": "9ec277bc-1440-4021-9a7d-6ddd2667054e", "AccreditationTypeFk": "20e482cf-6e0e-48a9-b332-375b8c240921", "AccreditationGroupFK": "821bc3a8-20ef-403c-acca-e55bc104af1d", "ReplacementAccreditationFK": "fa17302c-aa45-4edb-8e0a-61a2af5eb9ab", "CreatedBy": "4a5f937e-a46a-4724-a5ac-6ad8e3dd73b0", "HomeGroup": "85790281-ded0-4333-bc12-fec8aa677fa8", "Name": "sample string 1", "Description": "sample string 2", "Category": 1, "IncentiveIconFK": "92743ba2-7412-4be5-9521-1023e8c90f29", "IncentiveIcon": "sample string 3", "IncentiveText": "sample string 4", "NoOfCourses": 1, "CertificateImage": "sample string 5", "CertificateImageFK": "23518b72-d790-439b-b41b-3c3777502dfb", "Expires": "2025-04-03T19:52:56.7619372-04:00", "AwardHomePage": 1, "Enabled": true, "Created": "2025-04-03T19:52:56.7619372-04:00", "URL": "sample string 6", "Keywords": "sample string 7", "ExternalRef": "sample string 8", "Reference_ID": 1 }, "Awarder": { "JobTitle": "sample string 1", "Email": "sample string 2", "Telephone": "sample string 3", "USR_PROFILE": "sample string 4", "AvatarImage": "sample string 5", "FirstName": "sample string 6", "LastName": "sample string 7", "UserID": 8, "UserGUID": "008079ef-70d5-45c8-aa66-3cc6da503cfc", "UserName": "sample string 10" }, "Awardee": { "JobTitle": "sample string 1", "Email": "sample string 2", "Telephone": "sample string 3", "USR_PROFILE": "sample string 4", "AvatarImage": "sample string 5", "FirstName": "sample string 6", "LastName": "sample string 7", "UserID": 8, "UserGUID": "008079ef-70d5-45c8-aa66-3cc6da503cfc", "UserName": "sample string 10" } }
application/xml, text/xml
Sample:
<AccreditationsAwarded xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classroom.ClassroomBLL"> <AAIdPK>937f9a74-fe7c-46b8-9522-a02324dd9a22</AAIdPK> <AIDFK>728bc63a-a8eb-47aa-a5a6-1b619eb890a5</AIDFK> <Accreditation> <AccreditationGroupFK>821bc3a8-20ef-403c-acca-e55bc104af1d</AccreditationGroupFK> <AccreditationIDPK>9ec277bc-1440-4021-9a7d-6ddd2667054e</AccreditationIDPK> <AccreditationTypeFk>20e482cf-6e0e-48a9-b332-375b8c240921</AccreditationTypeFk> <AwardHomePage>1</AwardHomePage> <Category>1</Category> <CertificateImage>sample string 5</CertificateImage> <CertificateImageFK>23518b72-d790-439b-b41b-3c3777502dfb</CertificateImageFK> <Created>2025-04-03T19:52:56.7619372-04:00</Created> <CreatedBy>4a5f937e-a46a-4724-a5ac-6ad8e3dd73b0</CreatedBy> <Description>sample string 2</Description> <Enabled>true</Enabled> <Expires>2025-04-03T19:52:56.7619372-04:00</Expires> <ExternalRef>sample string 8</ExternalRef> <HomeGroup>85790281-ded0-4333-bc12-fec8aa677fa8</HomeGroup> <IncentiveIcon>sample string 3</IncentiveIcon> <IncentiveIconFK>92743ba2-7412-4be5-9521-1023e8c90f29</IncentiveIconFK> <IncentiveText>sample string 4</IncentiveText> <Keywords>sample string 7</Keywords> <Name>sample string 1</Name> <NoOfCourses>1</NoOfCourses> <Reference_ID>1</Reference_ID> <ReplacementAccreditationFK>fa17302c-aa45-4edb-8e0a-61a2af5eb9ab</ReplacementAccreditationFK> <URL>sample string 6</URL> </Accreditation> <Achieved>2025-04-03T19:52:56.7619372-04:00</Achieved> <AwardedByFK>66614b62-ad25-4b44-a70e-f86b592273c3</AwardedByFK> <Awardee xmlns:d2p1="http://schemas.datacontract.org/2004/07/Classroom.ClassroomBLL.ClassroomCommon"> <d2p1:UserGUID>008079ef-70d5-45c8-aa66-3cc6da503cfc</d2p1:UserGUID> <d2p1:UserID>8</d2p1:UserID> <d2p1:UserName>sample string 10</d2p1:UserName> <d2p1:FirstName>sample string 6</d2p1:FirstName> <d2p1:LastName>sample string 7</d2p1:LastName> <d2p1:AvatarImage>sample string 5</d2p1:AvatarImage> <d2p1:Email>sample string 2</d2p1:Email> <d2p1:JobTitle>sample string 1</d2p1:JobTitle> <d2p1:Telephone>sample string 3</d2p1:Telephone> <d2p1:USR_PROFILE>sample string 4</d2p1:USR_PROFILE> </Awardee> <Awarder xmlns:d2p1="http://schemas.datacontract.org/2004/07/Classroom.ClassroomBLL.ClassroomCommon"> <d2p1:UserGUID>008079ef-70d5-45c8-aa66-3cc6da503cfc</d2p1:UserGUID> <d2p1:UserID>8</d2p1:UserID> <d2p1:UserName>sample string 10</d2p1:UserName> <d2p1:FirstName>sample string 6</d2p1:FirstName> <d2p1:LastName>sample string 7</d2p1:LastName> <d2p1:AvatarImage>sample string 5</d2p1:AvatarImage> <d2p1:Email>sample string 2</d2p1:Email> <d2p1:JobTitle>sample string 1</d2p1:JobTitle> <d2p1:Telephone>sample string 3</d2p1:Telephone> <d2p1:USR_PROFILE>sample string 4</d2p1:USR_PROFILE> </Awarder> <ConfirmedOn>2025-04-03T19:52:56.7619372-04:00</ConfirmedOn> <LastAchieved>2025-04-03T19:52:56.7619372-04:00</LastAchieved> <Reason>sample string 4</Reason> <Reference>sample string 3</Reference> <UserIdFK>c208f1b1-10ac-437e-9bd9-fd697324b958</UserIdFK> <VerifiedByFk>6fc56405-9024-4e85-85ef-94432bd57632</VerifiedByFk> </AccreditationsAwarded>