C# Class RestfulieBasecampWrapper.BasecampService

Afficher le fichier Open project: inspira/restfulie-net-basecamp-wrapper Class Usage Examples

Méthodes publiques

Méthode Description
BasecampService ( string BaseUrl, string APIKey ) : System
GetAccount ( ) : Account

GET /account.xml Returns info about the current Basecamp account, its subscription, and the default post and attachment categories.

GetCompanies ( ) : List

GET /companies.xml Returns a list of all companies visible to the requesting user.

GetMe ( ) : Person

GET /me.xml Returns the currently logged in person (you).

GetPeople ( ) : List

GET /people.xml Returns all people visible to (and including) the requesting user.

GetPeopleByCompanyId ( Int32 companyId ) : List

GET /companies/#{company_id}/people.xml Returns all people from the given company that are visible to the requesting user.

GetPeopleByProjectId ( Int32 projectId ) : List

GET /projects/#{project_id}/people.xml Returns all people with access to the given project.

GetPerson ( Int32 personId ) : Person

GET /people/#{person_id}.xml Returns a single person identified by their integer ID.

GetProject ( Int32 projectId ) : Project

GET /projects/#{project_id}.xml Returns a single project identified by its integer ID.

GetProjects ( ) : List

GET /projects.xml Returns all accessible projects. This includes active, inactive, and archived projects.

GetTimeEntriesByProjectId ( Int32 projectId ) : List

Private Methods

Méthode Description
GetStaticProject ( dynamic rProject ) : Project

Method Details

BasecampService() public méthode

public BasecampService ( string BaseUrl, string APIKey ) : System
BaseUrl string
APIKey string
Résultat System

GetAccount() public méthode

GET /account.xml Returns info about the current Basecamp account, its subscription, and the default post and attachment categories.
public GetAccount ( ) : Account
Résultat RestfulieBasecampWrapper.DomainModel.Account

GetCompanies() public méthode

GET /companies.xml Returns a list of all companies visible to the requesting user.
public GetCompanies ( ) : List
Résultat List

GetMe() public méthode

GET /me.xml Returns the currently logged in person (you).
public GetMe ( ) : Person
Résultat Person

GetPeople() public méthode

GET /people.xml Returns all people visible to (and including) the requesting user.
public GetPeople ( ) : List
Résultat List

GetPeopleByCompanyId() public méthode

GET /companies/#{company_id}/people.xml Returns all people from the given company that are visible to the requesting user.
public GetPeopleByCompanyId ( Int32 companyId ) : List
companyId System.Int32
Résultat List

GetPeopleByProjectId() public méthode

GET /projects/#{project_id}/people.xml Returns all people with access to the given project.
public GetPeopleByProjectId ( Int32 projectId ) : List
projectId System.Int32
Résultat List

GetPerson() public méthode

GET /people/#{person_id}.xml Returns a single person identified by their integer ID.
public GetPerson ( Int32 personId ) : Person
personId System.Int32
Résultat Person

GetProject() public méthode

GET /projects/#{project_id}.xml Returns a single project identified by its integer ID.
public GetProject ( Int32 projectId ) : Project
projectId System.Int32
Résultat Project

GetProjects() public méthode

GET /projects.xml Returns all accessible projects. This includes active, inactive, and archived projects.
public GetProjects ( ) : List
Résultat List

GetTimeEntriesByProjectId() public méthode

public GetTimeEntriesByProjectId ( Int32 projectId ) : List
projectId System.Int32
Résultat List