C# Класс RestfulieBasecampWrapper.BasecampService

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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