REST API to manipulate Microsoft Project files on any platform

Microsoft Project REST API to Manipulate and Transform MPP documents to Primavera, HTML, PDF, TXT, CSV, Excel, images & XML formats on any platform.

  Start Free Trial
Aspose.Tasks Cloud

Aspose.Tasks Cloud

 
 

Aspose.Tasks Cloud is a REST API for manipulating and converting Microsoft Project documents hosted on cloud platforms. It allows you to work with all aspects of a Project document as well as offers a wide range of export options allowing developers to convert Microsoft Project documents a number of industry standard formats.

 

Advanced Project Management Cloud API Features

 

 

Convert Project documents to other formats

 

Manipulate task data

 

Manage project resources

 

Handle task links & task assignments

 

Work with Project extended attributes

Get Started with Document Processing REST API

It is easy to get started with Aspose.Tasks Cloud and there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.Tasks Cloud REST API a try with any language - on any platform. It offers the capabilities to read Microsoft Project documents from within an applications without the need of installing Microsoft Project. The API also provides the facility to retrieve document properties with well-structured API calls.

Manage Project Tasks Data

Aspose.Tasks Cloud API can read information associated with the Project task data such as task name, ID, start date, finish date, scheduling and other parameters. These tasks may further be assigned to the resources, resulting in task assignments. The API also facilitates in reading task links and task assignment information from a project data file where it supports manipulation of Project tasks, resources, task links and task assignments data with simple REST API calls..

Add a New Task to Project - C#


this.TasksApi = new TasksApi(configuration);
var remoteName = UploadFileToStorage("Project2016.mpp");
var postResponse = TasksApi.PostTask(new PostTaskRequest 
{
    BeforeTaskId = 4,
    TaskName = "New task name",
    Name = remoteName,
    Storage = "Tasks",
    Folder = this.DataFolder,
    FileName = remoteName
});

Add a New Task to Project - Java


TasksApi tasksApi = new TasksApi(Configuration.apiKey, Configuration.appSID, true);
// Upload source file to aspose cloud storage
storageApi.PutCreate(name, "", "", inputFile.toFile());
TaskLink body = new TaskLink();
body.setIndex (2);
body.setPredecessorUid (1);
body.setSuccessorUid (2);
// Invoke Aspose.Tasks Cloud SDK API to add task link to project
SaaSposeResponse apiResponse = tasksApi.PostTaskLink("sample-project.mpp", "", "", "", body);

Add a New Task to Project - Objective-C


[Utils uploadFile:@"sample-project-2.mpp"];
ASPTaskLink *taskLink = [[ASPTaskLink alloc] init];
taskLink.index = [NSNumber numberWithInt:2];
taskLink.predecessorUid = [NSNumber numberWithInt:1];
taskLink.successorUid = [NSNumber numberWithInt:2];
[self.tasksApi postTaskLinkWithCompletionBlock:fileName
    dto:taskLink
    storage:nil
    folder:nil
    fileName:nil
    completionHandler:^(ASPBaseResponse *output, NSError *error) {
    NSLog(@"%@", output);
    }];

Add a New Task to Project - PHP


$this->tasksApi = new TasksApi();
$body = '{
    "Index": 2,
    "PredecessorUid": 1,
    "SuccessorUid": 2
    }';
Utils::uploadFile('sample-project-2.mpp');
$result = $this->tasks->PostTaskLink('sample-project-2.mpp', $storage = null, $folder = null, $fileName = null, $body);
print_r($result);

Add a New Task to Project - Ruby


@tasks_api = TasksApi.new
@storage_api.put_create("sample-project-2.mpp", File.open("../../../data/" << "sample-project-2.mpp","r") { |io| io.read } )
# Adds a new task link to a project.
task_link = TaskLink.new
task_link.index = 2
task_link.predecessor_uid = 1
task_link.successor_uid = 2
response = @tasks_api.post_task_link("sample-project-2.mpp", task_link)

Add a New Task to Project - Perl


$tasksApi = AsposeTasksCloud::TasksApi->new();
# Upload file to aspose cloud storage
$data_path = '../../../Data/';
my $response = $storageApi->PutCreate(Path => 'sample-project.mpp', file => $data_path.'sample-project.mpp');
# Invoke Aspose.Tasks Cloud SDK API to add a task to a Project                                                           
$response = $tasksApi->PostProjectTask(name => 'sample-project.mpp', taskName => 'NewTask', beforeTaskId => 1);

Add a New Task to Project - Android


TaskLink body = new TaskLink();
body.setIndex (2);
body.setPredecessorUid (1);
body.setSuccessorUid (2);
File input = Utils.stream2file("sample-project","mpp", context.getResources().openRawResource(R.raw.ExtendedAttribute));
TasksApi tasksApi = new TasksApi(Configuration.apiKey, Configuration.appSID, true);
// Upload source file to aspose cloud storage
storageApi.PutCreate("sample-project.mpp", "", "", input);
// Invoke Aspose.Tasks Cloud SDK API to add task link to project
SaaSposeResponse apiResponse = tasksApi.PostTaskLink("sample-project.mpp", "", "", "", body);

Handle Project Resource Data

Using Aspose.Tasks Cloud API - information about a project's resources can be retrieved using the resource ID or name. The API can also retrieve or delete resource assignment data for resources that have been assigned to the tasks.

Manipulate Project Calendar Information

Aspose.Tasks Cloud REST API helps you manage project calendar information with simple API calls. It is possible not only to read the project calendar information but also to add and retrieve calendar exceptions. The API also supports adding a new calendar and deleting an existing calendar from the hosted Project data file.

Manage Project's Extended Attributes

Extended attributes can be assigned values for each task or resource within a project file. Aspose.Tasks Cloud provides the capability to read and delete extended attribute information from a Project document hosted in the cloud.

Language, Platform & Storage Independence

Aspose.Tasks Cloud can be used with any language or platform which supports HTTP requests and responses. You can also use Aspose.Tasks Cloud with many third party storage providers including Amazon S3, Google Cloud, Google Drive and DropBox.

Microsoft Project Automation - Not Needed

Aspose.Tasks Cloud API is built using managed code that do never need Microsoft Office or Microsoft Project to be installed on the machine for working with MS Project files. It is a perfect Microsoft Project automation alternative in terms of supported features, security, stability, scalability, speed and price.

 

Support and Learning Resources