GET api/coursetypes?providerPurpose={providerPurpose}

Get Course Types

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerPurpose

boolean

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CourseType
NameDescriptionTypeAdditional information
Description

string

None.

Id

globally unique identifier

None.

Name

string

None.

IsOnline

boolean

None.

IsAvailableForCP

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Description": "sample string 1",
    "Id": "5788bc06-afdf-4a4c-966d-d0f7a542f590",
    "Name": "sample string 3",
    "IsOnline": true,
    "IsAvailableForCP": true
  },
  {
    "Description": "sample string 1",
    "Id": "5788bc06-afdf-4a4c-966d-d0f7a542f590",
    "Name": "sample string 3",
    "IsOnline": true,
    "IsAvailableForCP": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCourseType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <CourseType>
    <Description>sample string 1</Description>
    <Id>5788bc06-afdf-4a4c-966d-d0f7a542f590</Id>
    <IsAvailableForCP>true</IsAvailableForCP>
    <IsOnline>true</IsOnline>
    <Name>sample string 3</Name>
  </CourseType>
  <CourseType>
    <Description>sample string 1</Description>
    <Id>5788bc06-afdf-4a4c-966d-d0f7a542f590</Id>
    <IsAvailableForCP>true</IsAvailableForCP>
    <IsOnline>true</IsOnline>
    <Name>sample string 3</Name>
  </CourseType>
</ArrayOfCourseType>