Property | Type | Description | |
---|---|---|---|
PerformRequest | string |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
PerformRequest ( IServiceCommand commmand, string xmlParameter = "" ) : string |
Wrapper to set HavestRequestForcedWaitForApiThrotterling if it occurred
|
public DeleteClient ( int clientID ) : string | ||
clientID | int | |
return | string |
public DeleteProject ( int projectID ) : string | ||
projectID | int | |
return | string |
public GetClients ( DateTime updatedSinceUTC ) : string | ||
updatedSinceUTC | DateTime | |
return | string |
public GetProjects ( DateTime updatedSinceUTC ) : string | ||
updatedSinceUTC | DateTime | |
return | string |
public HarvestService ( HarvestConnection harvestConnection ) : System | ||
harvestConnection | HarvestConnection | |
return | System |
public ToggleClientState ( int clientID ) : string | ||
clientID | int | |
return | string |
public ToggleProjectState ( int projectID ) : string | ||
projectID | int | |
return | string |
public UpdateClient ( int clientID, string xml ) : string | ||
clientID | int | |
xml | string | |
return | string |
public UpdateProject ( int projectID, string xml ) : string | ||
projectID | int | |
xml | string | |
return | string |