C# 클래스 HarvestApi.Service.HarvestService

상속: IHarvestService
파일 보기 프로젝트 열기: s1m0nj/Harvest-Service-for-.Net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
PerformRequest string

공개 메소드들

메소드 설명
CreateClient ( string xml ) : string
CreateProject ( string xml ) : string
DeleteClient ( int clientID ) : string
DeleteProject ( int projectID ) : string
GetClient ( int clientID ) : string
GetClients ( ) : string
GetClients ( DateTime updatedSinceUTC ) : string
GetContacts ( ) : string
GetInvoices ( ) : string
GetProject ( int projectID ) : string
GetProjects ( ) : string
GetProjects ( DateTime updatedSinceUTC ) : string
GetProjects ( int clientID ) : string
HarvestService ( HarvestConnection harvestConnection ) : System
ToggleClientState ( int clientID ) : string
ToggleProjectState ( int projectID ) : string
UpdateClient ( int clientID, string xml ) : string
UpdateProject ( int projectID, string xml ) : string

Update existing project PUT /projects/#{project_id} HTTP Response: 200 OK Location: /projects/#{project_id} Post similar XML as with create a new project, but include client-id as part of the project. For activating a project a separate method needs to be used.

비공개 메소드들

메소드 설명
PerformRequest ( IServiceCommand commmand, string xmlParameter = "" ) : string

Wrapper to set HavestRequestForcedWaitForApiThrotterling if it occurred

메소드 상세

CreateClient() 공개 메소드

public CreateClient ( string xml ) : string
xml string
리턴 string

CreateProject() 공개 메소드

public CreateProject ( string xml ) : string
xml string
리턴 string

DeleteClient() 공개 메소드

public DeleteClient ( int clientID ) : string
clientID int
리턴 string

DeleteProject() 공개 메소드

public DeleteProject ( int projectID ) : string
projectID int
리턴 string

GetClient() 공개 메소드

public GetClient ( int clientID ) : string
clientID int
리턴 string

GetClients() 공개 메소드

public GetClients ( ) : string
리턴 string

GetClients() 공개 메소드

public GetClients ( DateTime updatedSinceUTC ) : string
updatedSinceUTC DateTime
리턴 string

GetContacts() 공개 메소드

public GetContacts ( ) : string
리턴 string

GetInvoices() 공개 메소드

public GetInvoices ( ) : string
리턴 string

GetProject() 공개 메소드

public GetProject ( int projectID ) : string
projectID int
리턴 string

GetProjects() 공개 메소드

public GetProjects ( ) : string
리턴 string

GetProjects() 공개 메소드

public GetProjects ( DateTime updatedSinceUTC ) : string
updatedSinceUTC DateTime
리턴 string

GetProjects() 공개 메소드

public GetProjects ( int clientID ) : string
clientID int
리턴 string

HarvestService() 공개 메소드

public HarvestService ( HarvestConnection harvestConnection ) : System
harvestConnection HarvestConnection
리턴 System

ToggleClientState() 공개 메소드

public ToggleClientState ( int clientID ) : string
clientID int
리턴 string

ToggleProjectState() 공개 메소드

public ToggleProjectState ( int projectID ) : string
projectID int
리턴 string

UpdateClient() 공개 메소드

public UpdateClient ( int clientID, string xml ) : string
clientID int
xml string
리턴 string

UpdateProject() 공개 메소드

Update existing project PUT /projects/#{project_id} HTTP Response: 200 OK Location: /projects/#{project_id} Post similar XML as with create a new project, but include client-id as part of the project. For activating a project a separate method needs to be used.
public UpdateProject ( int projectID, string xml ) : string
projectID int
xml string
리턴 string