PUT api/LMS/CourseGroups/DefaultAction   LMS   All Services

This service adds a course to a course group.

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

NameDescriptionAdditional informationType
model
An array list of Course groups with the corresponding course that is joining it.

Define this parameter in the request body.

CourseGroupsDTO[]
CourseGroupsDTO:
PropertyNameTypeRequiredDescription
FullName String Mandatory Maximum length: 500 chars
CourseCode String Optional Maximum length: 50 chars
JoinResult String Optional Maximum length: 500 chars

Request body formats

application/json, text/json

Sample:
[
  {
    "FullName": "sample string 1",
    "CourseCode": "sample string 2",
    "JoinResult": "sample string 3"
  },
  {
    "FullName": "sample string 1",
    "CourseCode": "sample string 2",
    "JoinResult": "sample string 3"
  },
  {
    "FullName": "sample string 1",
    "CourseCode": "sample string 2",
    "JoinResult": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCourseGroupsDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CourseGroupsDTO>
    <FullName>sample string 1</FullName>
    <CourseCode>sample string 2</CourseCode>
    <JoinResult>sample string 3</JoinResult>
  </CourseGroupsDTO>
  <CourseGroupsDTO>
    <FullName>sample string 1</FullName>
    <CourseCode>sample string 2</CourseCode>
    <JoinResult>sample string 3</JoinResult>
  </CourseGroupsDTO>
  <CourseGroupsDTO>
    <FullName>sample string 1</FullName>
    <CourseCode>sample string 2</CourseCode>
    <JoinResult>sample string 3</JoinResult>
  </CourseGroupsDTO>
</ArrayOfCourseGroupsDTO>

Return Type

Return typeCourseGroupsDTO[]
CourseGroupsDTO:
PropertyNameTypeRequiredDescription
FullName String Mandatory Maximum length: 500 chars
CourseCode String Optional Maximum length: 50 chars
JoinResult String Optional Maximum length: 500 chars

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "FullName": "sample string 1",
    "CourseCode": "sample string 2",
    "JoinResult": "sample string 3"
  },
  {
    "FullName": "sample string 1",
    "CourseCode": "sample string 2",
    "JoinResult": "sample string 3"
  },
  {
    "FullName": "sample string 1",
    "CourseCode": "sample string 2",
    "JoinResult": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCourseGroupsDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CourseGroupsDTO>
    <FullName>sample string 1</FullName>
    <CourseCode>sample string 2</CourseCode>
    <JoinResult>sample string 3</JoinResult>
  </CourseGroupsDTO>
  <CourseGroupsDTO>
    <FullName>sample string 1</FullName>
    <CourseCode>sample string 2</CourseCode>
    <JoinResult>sample string 3</JoinResult>
  </CourseGroupsDTO>
  <CourseGroupsDTO>
    <FullName>sample string 1</FullName>
    <CourseCode>sample string 2</CourseCode>
    <JoinResult>sample string 3</JoinResult>
  </CourseGroupsDTO>
</ArrayOfCourseGroupsDTO>