C# 클래스 RestfulieBasecampWrapper.BasecampService

파일 보기 프로젝트 열기: inspira/restfulie-net-basecamp-wrapper 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetStaticProject ( dynamic rProject ) : Project

메소드 상세

BasecampService() 공개 메소드

public BasecampService ( string BaseUrl, string APIKey ) : System
BaseUrl string
APIKey string
리턴 System

GetAccount() 공개 메소드

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

GetCompanies() 공개 메소드

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

GetMe() 공개 메소드

GET /me.xml Returns the currently logged in person (you).
public GetMe ( ) : Person
리턴 Person

GetPeople() 공개 메소드

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

GetPeopleByCompanyId() 공개 메소드

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
리턴 List

GetPeopleByProjectId() 공개 메소드

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

GetPerson() 공개 메소드

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

GetProject() 공개 메소드

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

GetProjects() 공개 메소드

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

GetTimeEntriesByProjectId() 공개 메소드

public GetTimeEntriesByProjectId ( Int32 projectId ) : List
projectId System.Int32
리턴 List