C# Class inBloomApiLibrary.SectionDataService

Inheritance: ServiceBase
显示文件 Open project: upeo/inbloom-dotnet Class Usage Examples

Public Methods

Method Description
DeleteSections ( string accessToken, string sectionId ) : string

Deletes sectins details

GetSectionById ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray

Gets section details by id.

GetSectionByIdAsync ( string accessToken, string sectionId, int limit, int offset ) : Task

Gets section details by id.

GetSectionCustom ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray

Gets section custom details.

GetSectionCustomAsync ( string accessToken, string sectionId, int limit, int offset ) : Task

Gets section custom details asyncronously.

GetSectionStudentAssociationStudentList ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray

Gets students details in student section associations within the sections.

GetSectionStudentAssociationStudentList ( string accessToken, string sectionId, int limit, int offset, string views ) : Newtonsoft.Json.Linq.JArray

Gets students details in student section associations within the sections.

GetSectionStudentAssociationStudentListAsync ( string accessToken, string sectionId, int limit, int offset, string views ) : Task

Gets students details in student section associations within the sections asynchronously.

GetSectionStudentAssociations ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray

Gets Student section associations details within the sections.

GetSectionStudentAssociationsAsync ( string accessToken, string sectionId, int limit, int offset ) : Task

Gets Student section associations details within the sections.

GetSectionTeacherAssociationTeacherList ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray

Gets teachers in teacher section associations within the sections.

GetSectionTeacherAssociationTeacherListAsync ( string accessToken, string sectionId, int limit, int offset ) : Task

Gets teachers in teacher section associations within the sections.

GetSectionTeacherAssociations ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray

Gets teacher section associations within the sections.

GetSectionTeacherAssociationsAsync ( string accessToken, string sectionId, int limit, int offset ) : Task

Gets teacher section associations within the sections.

GetSections ( string accessToken, string userId ) : Newtonsoft.Json.Linq.JArray

Gets sections details.

GetSectionsAsync ( string accessToken, string userId, int limit, int offset ) : Task

Gets sections details asyncronously.

PostSections ( string accessToken, string data ) : string

Creates sections details

PutSections ( string accessToken, string data, string sectionId ) : string

Update sections details

Method Details

DeleteSections() public method

Deletes sectins details
public DeleteSections ( string accessToken, string sectionId ) : string
accessToken string
sectionId string
return string

GetSectionById() public method

Gets section details by id.
public GetSectionById ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray
accessToken string Access token has to send
sectionId string User id has to send
return Newtonsoft.Json.Linq.JArray

GetSectionByIdAsync() public method

Gets section details by id.
public GetSectionByIdAsync ( string accessToken, string sectionId, int limit, int offset ) : Task
accessToken string Access token has to send
sectionId string User id has to send
limit int
offset int
return Task

GetSectionCustom() public method

Gets section custom details.
public GetSectionCustom ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray
accessToken string Access token has to send
sectionId string User id has to send
return Newtonsoft.Json.Linq.JArray

GetSectionCustomAsync() public method

Gets section custom details asyncronously.
public GetSectionCustomAsync ( string accessToken, string sectionId, int limit, int offset ) : Task
accessToken string Access token has to send
sectionId string User id has to send
limit int
offset int
return Task

GetSectionStudentAssociationStudentList() public method

Gets students details in student section associations within the sections.
public GetSectionStudentAssociationStudentList ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray
accessToken string
sectionId string
return Newtonsoft.Json.Linq.JArray

GetSectionStudentAssociationStudentList() public method

Gets students details in student section associations within the sections.
public GetSectionStudentAssociationStudentList ( string accessToken, string sectionId, int limit, int offset, string views ) : Newtonsoft.Json.Linq.JArray
accessToken string
sectionId string
limit int Max number of sections to return(optional)
offset int Starting position of result set(optional)
views string View name (optional)
return Newtonsoft.Json.Linq.JArray

GetSectionStudentAssociationStudentListAsync() public method

Gets students details in student section associations within the sections asynchronously.
public GetSectionStudentAssociationStudentListAsync ( string accessToken, string sectionId, int limit, int offset, string views ) : Task
accessToken string
sectionId string
limit int Max number of sections to return(optional)
offset int Starting position of result set(optional)
views string View name (optional)
return Task

GetSectionStudentAssociations() public method

Gets Student section associations details within the sections.
public GetSectionStudentAssociations ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray
accessToken string
sectionId string
return Newtonsoft.Json.Linq.JArray

GetSectionStudentAssociationsAsync() public method

Gets Student section associations details within the sections.
public GetSectionStudentAssociationsAsync ( string accessToken, string sectionId, int limit, int offset ) : Task
accessToken string
sectionId string
limit int
offset int
return Task

GetSectionTeacherAssociationTeacherList() public method

Gets teachers in teacher section associations within the sections.
public GetSectionTeacherAssociationTeacherList ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray
accessToken string
sectionId string
return Newtonsoft.Json.Linq.JArray

GetSectionTeacherAssociationTeacherListAsync() public method

Gets teachers in teacher section associations within the sections.
public GetSectionTeacherAssociationTeacherListAsync ( string accessToken, string sectionId, int limit, int offset ) : Task
accessToken string
sectionId string
limit int Max number of sections to return(optional)
offset int Starting position of result set(optional)
return Task

GetSectionTeacherAssociations() public method

Gets teacher section associations within the sections.
public GetSectionTeacherAssociations ( string accessToken, string sectionId ) : Newtonsoft.Json.Linq.JArray
accessToken string
sectionId string
return Newtonsoft.Json.Linq.JArray

GetSectionTeacherAssociationsAsync() public method

Gets teacher section associations within the sections.
public GetSectionTeacherAssociationsAsync ( string accessToken, string sectionId, int limit, int offset ) : Task
accessToken string
sectionId string
limit int
offset int
return Task

GetSections() public method

Gets sections details.
public GetSections ( string accessToken, string userId ) : Newtonsoft.Json.Linq.JArray
accessToken string Access token has to send
userId string User id has to send
return Newtonsoft.Json.Linq.JArray

GetSectionsAsync() public method

Gets sections details asyncronously.
public GetSectionsAsync ( string accessToken, string userId, int limit, int offset ) : Task
accessToken string Access token has to send
userId string User id has to send
limit int
offset int
return Task

PostSections() public method

Creates sections details
public PostSections ( string accessToken, string data ) : string
accessToken string
data string
return string

PutSections() public method

Update sections details
public PutSections ( string accessToken, string data, string sectionId ) : string
accessToken string
data string
sectionId string
return string