POST api/LMSService/GetRelatedCoursesofLMS
Request Information
URI Parameters
None.
Body Parameters
RelatedCoursesOfLMSName | Description | Type | Additional information |
---|---|---|---|
SuggestedCoursesInput | SuggestedCoursesInput |
None. |
|
AssignedCoursesForUsers | Collection of AssignedCoursesForUser |
None. |
|
SuggestedCourses | Collection of SuggestedCourses |
None. |
Request Formats
application/json, text/json
Sample:
{ "SuggestedCoursesInput": { "PageNum": 1, "PersonId": 2, "ISCTPreviewer": true, "UserId": 3, "ISCTPreviewerhasNoCourses": true, "AccountType": "sample string 4", "ISHarssmentPreviewer": true, "CategoryId": 1 }, "AssignedCoursesForUsers": [ { "KPProductSKU": "sample string 1", "Assign": 2, "UserCourseStatusId": 3, "Active": 4, "CourseId": 5 }, { "KPProductSKU": "sample string 1", "Assign": 2, "UserCourseStatusId": 3, "Active": 4, "CourseId": 5 } ], "SuggestedCourses": [ { "RowNum": 1, "Weight": 2.1, "ProductId": 3, "FlashFile1": "sample string 4", "ImageFileName2": "sample string 5", "ProductTitle": "sample string 6", "SKU1": "sample string 7", "ProductListingShortDescription": "sample string 8", "Speaker1": "sample string 9", "Speaker2": "sample string 10", "RunningTime": "sample string 11", "StreamingFormatId": 12, "Format1": "sample string 13", "Price": 14.0, "PerSeatPrice": 15.0, "CourseId": 16 }, { "RowNum": 1, "Weight": 2.1, "ProductId": 3, "FlashFile1": "sample string 4", "ImageFileName2": "sample string 5", "ProductTitle": "sample string 6", "SKU1": "sample string 7", "ProductListingShortDescription": "sample string 8", "Speaker1": "sample string 9", "Speaker2": "sample string 10", "RunningTime": "sample string 11", "StreamingFormatId": 12, "Format1": "sample string 13", "Price": 14.0, "PerSeatPrice": 15.0, "CourseId": 16 } ] }
application/xml, text/xml
Sample:
<RelatedCoursesOfLMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantola.WebSite.BusinessEntities"> <AssignedCoursesForUsers> <AssignedCoursesForUser> <Active>4</Active> <Assign>2</Assign> <CourseId>5</CourseId> <KPProductSKU>sample string 1</KPProductSKU> <UserCourseStatusId>3</UserCourseStatusId> </AssignedCoursesForUser> <AssignedCoursesForUser> <Active>4</Active> <Assign>2</Assign> <CourseId>5</CourseId> <KPProductSKU>sample string 1</KPProductSKU> <UserCourseStatusId>3</UserCourseStatusId> </AssignedCoursesForUser> </AssignedCoursesForUsers> <SuggestedCourses> <SuggestedCourses> <CourseId>16</CourseId> <FlashFile1>sample string 4</FlashFile1> <Format1>sample string 13</Format1> <ImageFileName2>sample string 5</ImageFileName2> <PerSeatPrice>15</PerSeatPrice> <Price>14</Price> <ProductId>3</ProductId> <ProductListingShortDescription>sample string 8</ProductListingShortDescription> <ProductTitle>sample string 6</ProductTitle> <RowNum>1</RowNum> <RunningTime>sample string 11</RunningTime> <SKU1>sample string 7</SKU1> <Speaker1>sample string 9</Speaker1> <Speaker2>sample string 10</Speaker2> <StreamingFormatId>12</StreamingFormatId> <Weight>2.1</Weight> </SuggestedCourses> <SuggestedCourses> <CourseId>16</CourseId> <FlashFile1>sample string 4</FlashFile1> <Format1>sample string 13</Format1> <ImageFileName2>sample string 5</ImageFileName2> <PerSeatPrice>15</PerSeatPrice> <Price>14</Price> <ProductId>3</ProductId> <ProductListingShortDescription>sample string 8</ProductListingShortDescription> <ProductTitle>sample string 6</ProductTitle> <RowNum>1</RowNum> <RunningTime>sample string 11</RunningTime> <SKU1>sample string 7</SKU1> <Speaker1>sample string 9</Speaker1> <Speaker2>sample string 10</Speaker2> <StreamingFormatId>12</StreamingFormatId> <Weight>2.1</Weight> </SuggestedCourses> </SuggestedCourses> <SuggestedCoursesInput> <AccountType>sample string 4</AccountType> <CategoryId>1</CategoryId> <ISCTPreviewer>true</ISCTPreviewer> <ISCTPreviewerhasNoCourses>true</ISCTPreviewerhasNoCourses> <ISHarssmentPreviewer>true</ISHarssmentPreviewer> <PageNum>1</PageNum> <PersonId>2</PersonId> <UserId>3</UserId> </SuggestedCoursesInput> </RelatedCoursesOfLMS>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
APIResponseName | Description | Type | Additional information |
---|---|---|---|
Code | HttpStatusCode |
None. |
|
Status | string |
None. |
|
Data | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 100, "Status": "sample string 1", "Data": "sample string 2", "Message": "sample string 3" }
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantola.WebSite.BusinessEntities"> <Code>Continue</Code> <Data>sample string 2</Data> <Message>sample string 3</Message> <Status>sample string 1</Status> </APIResponse>