GET api/LMS/Courses/GetBy?IsActive={IsActive}&Title={Title}&CourseCode={CourseCode}&Creator={Creator}&ExpiryDate={ExpiryDate} LMS All Services
This service returns an active and inactive users that is based on group of parameters (listed below) being passed in. (Note: This is a “contains” match on the Login Name value.It does not include deleted users)
Request Information
Headers
| Fields | Type | M/O/C | Definition |
| AccountLoginName | String(50) | Mandatory | Login name of an account used for logging into Galaxy application to perform the service call |
| AccountPassword | String(50) | Mandatory | Password of an account used for logging into Galaxy application to perform the service call |
| SourceSystemID | String(50) | Mandatory | Name or ID of application or system that initiated the call. |
| DomainID | String(50) | Mandatory | Name or ID of the domain that the call is being made to. (Value will be 1, if the site only has one domain) |
| Accept | String | Optional | Format in which client expects the response: [application/json] (default), [application/xml] |
| ContentType | String | Optional | Format in which client is sending the request: [application/json] (default), [application/xml] |
Parameters
| Name | Description | Additional information | Type |
|---|---|---|---|
| IsActive | Boolean |
Define this parameter in the request URI. |
Nullable<Boolean> |
| Title | max 100 characters |
Define this parameter in the request URI. |
String |
| CourseCode | max 50 characters |
Define this parameter in the request URI. |
String |
| Creator | max 50 characters |
Define this parameter in the request URI. |
String |
| ExpiryDate | DateTime (YYYY-MM-dd HH:mm) |
Define this parameter in the request URI. |
Nullable<DateTime> |
Return Type
| Return type | CourseDTO[] | ||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"CourseCode": "sample string 1",
"CourseTitle": "sample string 2",
"EffectiveDate": "2025-10-26T11:08:34.4644291+00:00",
"ExpiryDate": "2025-10-26T11:08:34.4644291+00:00",
"IsPublished": true,
"Creator": "sample string 5",
"EstimatedHours": 6.1,
"ForceCompletion": true,
"TotalLessons": 8,
"TotalBlocks": 9
},
{
"CourseCode": "sample string 1",
"CourseTitle": "sample string 2",
"EffectiveDate": "2025-10-26T11:08:34.4644291+00:00",
"ExpiryDate": "2025-10-26T11:08:34.4644291+00:00",
"IsPublished": true,
"Creator": "sample string 5",
"EstimatedHours": 6.1,
"ForceCompletion": true,
"TotalLessons": 8,
"TotalBlocks": 9
},
{
"CourseCode": "sample string 1",
"CourseTitle": "sample string 2",
"EffectiveDate": "2025-10-26T11:08:34.4644291+00:00",
"ExpiryDate": "2025-10-26T11:08:34.4644291+00:00",
"IsPublished": true,
"Creator": "sample string 5",
"EstimatedHours": 6.1,
"ForceCompletion": true,
"TotalLessons": 8,
"TotalBlocks": 9
}
]
application/xml, text/xml
Sample:
<ArrayOfCourseDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CourseDTO>
<CourseCode>sample string 1</CourseCode>
<CourseTitle>sample string 2</CourseTitle>
<EffectiveDate>2025-10-26T11:08:34.4644291+00:00</EffectiveDate>
<ExpiryDate>2025-10-26T11:08:34.4644291+00:00</ExpiryDate>
<IsPublished>true</IsPublished>
<Creator>sample string 5</Creator>
<EstimatedHours>6.1</EstimatedHours>
<ForceCompletion>true</ForceCompletion>
<TotalLessons>8</TotalLessons>
<TotalBlocks>9</TotalBlocks>
</CourseDTO>
<CourseDTO>
<CourseCode>sample string 1</CourseCode>
<CourseTitle>sample string 2</CourseTitle>
<EffectiveDate>2025-10-26T11:08:34.4644291+00:00</EffectiveDate>
<ExpiryDate>2025-10-26T11:08:34.4644291+00:00</ExpiryDate>
<IsPublished>true</IsPublished>
<Creator>sample string 5</Creator>
<EstimatedHours>6.1</EstimatedHours>
<ForceCompletion>true</ForceCompletion>
<TotalLessons>8</TotalLessons>
<TotalBlocks>9</TotalBlocks>
</CourseDTO>
<CourseDTO>
<CourseCode>sample string 1</CourseCode>
<CourseTitle>sample string 2</CourseTitle>
<EffectiveDate>2025-10-26T11:08:34.4644291+00:00</EffectiveDate>
<ExpiryDate>2025-10-26T11:08:34.4644291+00:00</ExpiryDate>
<IsPublished>true</IsPublished>
<Creator>sample string 5</Creator>
<EstimatedHours>6.1</EstimatedHours>
<ForceCompletion>true</ForceCompletion>
<TotalLessons>8</TotalLessons>
<TotalBlocks>9</TotalBlocks>
</CourseDTO>
</ArrayOfCourseDTO>