C# Class inBloomApiLibrary.CohortDataService

Cohorts Service
Inheritance: ServiceBase
显示文件 Open project: upeo/inbloom-dotnet

Public Methods

Method Description
DeleteCohorts ( string accessToken, string cohortsId ) : string

Deletes cohorts details.

GetCohortById ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray

Gets cohorts by id.

GetCohortCustom ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray

Gets cohorts custom details.

GetCohortStaffCohortAssociationStaff ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray

Gets staff details within the staff cohort associations.

GetCohortStaffCohortAssociations ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray

Gets staff cohort associations.

GetCohortStudentCohortAssociationStudents ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray

Gets student details within the student cohort associations.

GetCohortStudentCohortAssociations ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray

Gets student cohort associations.

GetCohorts ( string accessToken ) : Newtonsoft.Json.Linq.JArray

Gets cohorts details.

PostCohorts ( string accessToken, string data ) : string

Creates cohorts details.

PutCohorts ( string accessToken, string data, string cohortsId ) : string

Updates cohorts details.

Method Details

DeleteCohorts() public method

Deletes cohorts details.
public DeleteCohorts ( string accessToken, string cohortsId ) : string
accessToken string
cohortsId string
return string

GetCohortById() public method

Gets cohorts by id.
public GetCohortById ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray
accessToken string
cohortsId string
return Newtonsoft.Json.Linq.JArray

GetCohortCustom() public method

Gets cohorts custom details.
public GetCohortCustom ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray
accessToken string
cohortsId string
return Newtonsoft.Json.Linq.JArray

GetCohortStaffCohortAssociationStaff() public method

Gets staff details within the staff cohort associations.
public GetCohortStaffCohortAssociationStaff ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray
accessToken string
cohortsId string
return Newtonsoft.Json.Linq.JArray

GetCohortStaffCohortAssociations() public method

Gets staff cohort associations.
public GetCohortStaffCohortAssociations ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray
accessToken string
cohortsId string
return Newtonsoft.Json.Linq.JArray

GetCohortStudentCohortAssociationStudents() public method

Gets student details within the student cohort associations.
public GetCohortStudentCohortAssociationStudents ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray
accessToken string
cohortsId string
return Newtonsoft.Json.Linq.JArray

GetCohortStudentCohortAssociations() public method

Gets student cohort associations.
public GetCohortStudentCohortAssociations ( string accessToken, string cohortsId ) : Newtonsoft.Json.Linq.JArray
accessToken string
cohortsId string
return Newtonsoft.Json.Linq.JArray

GetCohorts() public method

Gets cohorts details.
public GetCohorts ( string accessToken ) : Newtonsoft.Json.Linq.JArray
accessToken string
return Newtonsoft.Json.Linq.JArray

PostCohorts() public method

Creates cohorts details.
public PostCohorts ( string accessToken, string data ) : string
accessToken string
data string
return string

PutCohorts() public method

Updates cohorts details.
public PutCohorts ( string accessToken, string data, string cohortsId ) : string
accessToken string
data string
cohortsId string
return string