Update Schedule Activities

PUT /ws/rest/service/v1/schedule/file/{project_number}

Purpose

Update schedule sheet activities using P6 xml file as an attachment to this service.

Request Format

Path Parameter

project_number(Required): Specify the project/shell number.

POST body is a JSON with the below options.

Sample Request

{

"data": {

"sheetName": "Gas pipeline schedule",

"iszipfile": "yes"

},

"scheduleOptions": {

"MapName": "p6_mapping",

"ActivityIdentifier": "Id",

"WBS_NoOfLevelsToMerge": "5",

"WBS_StartMergeFrom": "2",

"ActivityDeletion": "Auto",

"ActivityFileName": "activity.xml",

"SpreadFileName": "spreaddfile.xml",

"CBS_FullPath":"Yes",

"is_cumulative":"no"

},

"_attachment": {

"file_name": "pipeline_schedule_p6.zip",

"file_size": "746089",

"file_content": "base64_encoded string of create.zip file"

}

}

Response Format

A JSON object is returned in the following format.

{

"data": [],

"message": [],

"status": <REST status code value>

}

A successful response displays a status code 200.

A failed response displays a message with a status code.

Sample Success Response

This is an example of a successful response with status code 200

{

"data": [],

"message": ["success"],

"status": 200

}

Related Topics

Schedule Sheet

Get Schedule Sheet Data Mapping

Get Schedule Sheets

Response Codes



Last Published Wednesday, April 9, 2025