GET api/course/list?courseType={courseType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseType | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ServiceResponseOfIListOfCourseInformationName | Description | Type | Additional information |
---|---|---|---|
Code | ResponseTypeCode |
None. |
|
ResponseType | string |
None. |
|
ContentType | string |
None. |
|
Content | Collection of CourseInformation |
None. |
|
ServiceMessages | Collection of ServiceMessage |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 0, "ResponseType": "Success", "ContentType": "System.Collections.Generic.IList`1[HRCI.Services.LearningCenter.BL.Services.Model.CourseInformation]", "Content": [ { "Id": "691aed81-d401-47b3-a462-b0e95f6a83f7", "Asset": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "CertificateCreditInfo": "sample string 5", "Price": 6.0, "Kind": "sample string 7", "RelativeUrl": "sample string 8", "CourseStartDate": "2024-11-21T09:08:57.739298+00:00", "CourseEndDate": "2024-11-21T09:08:57.739298+00:00", "EnrollmentStartDate": "2024-11-21T09:08:57.739298+00:00", "EnrollmentEndDate": "2024-11-21T09:08:57.739298+00:00", "MarketInPortalRecert": true, "MarketInPortalGeneral": true }, { "Id": "691aed81-d401-47b3-a462-b0e95f6a83f7", "Asset": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "CertificateCreditInfo": "sample string 5", "Price": 6.0, "Kind": "sample string 7", "RelativeUrl": "sample string 8", "CourseStartDate": "2024-11-21T09:08:57.739298+00:00", "CourseEndDate": "2024-11-21T09:08:57.739298+00:00", "EnrollmentStartDate": "2024-11-21T09:08:57.739298+00:00", "EnrollmentEndDate": "2024-11-21T09:08:57.739298+00:00", "MarketInPortalRecert": true, "MarketInPortalGeneral": true } ], "ServiceMessages": [ { "Code": 0, "MessageType": "Info", "MessageDescription": "sample string 1" }, { "Code": 0, "MessageType": "Info", "MessageDescription": "sample string 1" } ] }
application/xml, text/xml
Sample:
<ServiceResponseOfArrayOfCourseInformationlQzFhaj8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.LearningCenter.BL.Services.Model"> <Code>Success</Code> <Content> <CourseInformation> <Asset>sample string 2</Asset> <CertificateCreditInfo>sample string 5</CertificateCreditInfo> <CourseEndDate>2024-11-21T09:08:57.739298+00:00</CourseEndDate> <CourseStartDate>2024-11-21T09:08:57.739298+00:00</CourseStartDate> <Description>sample string 4</Description> <EnrollmentEndDate>2024-11-21T09:08:57.739298+00:00</EnrollmentEndDate> <EnrollmentStartDate>2024-11-21T09:08:57.739298+00:00</EnrollmentStartDate> <Id>691aed81-d401-47b3-a462-b0e95f6a83f7</Id> <Kind>sample string 7</Kind> <MarketInPortalGeneral>true</MarketInPortalGeneral> <MarketInPortalRecert>true</MarketInPortalRecert> <Price>6</Price> <RelativeUrl>sample string 8</RelativeUrl> <Title>sample string 3</Title> </CourseInformation> <CourseInformation> <Asset>sample string 2</Asset> <CertificateCreditInfo>sample string 5</CertificateCreditInfo> <CourseEndDate>2024-11-21T09:08:57.739298+00:00</CourseEndDate> <CourseStartDate>2024-11-21T09:08:57.739298+00:00</CourseStartDate> <Description>sample string 4</Description> <EnrollmentEndDate>2024-11-21T09:08:57.739298+00:00</EnrollmentEndDate> <EnrollmentStartDate>2024-11-21T09:08:57.739298+00:00</EnrollmentStartDate> <Id>691aed81-d401-47b3-a462-b0e95f6a83f7</Id> <Kind>sample string 7</Kind> <MarketInPortalGeneral>true</MarketInPortalGeneral> <MarketInPortalRecert>true</MarketInPortalRecert> <Price>6</Price> <RelativeUrl>sample string 8</RelativeUrl> <Title>sample string 3</Title> </CourseInformation> </Content> <ServiceMessages> <ServiceMessage> <Code>Info</Code> <MessageDescription>sample string 1</MessageDescription> </ServiceMessage> <ServiceMessage> <Code>Info</Code> <MessageDescription>sample string 1</MessageDescription> </ServiceMessage> </ServiceMessages> </ServiceResponseOfArrayOfCourseInformationlQzFhaj8>