PUT /ws/rest/service/v1/schedule/file/{project_number}
Purpose:
Update schedule sheet activities using P6 xml file as an attachment to this service.
Input:
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"
}
}
Output:
JSON object containing 'status', 'data', 'message'
A message will be present if the status is not 200 otherwise it will be "success".
Sample Response
{
"data": [],
"message": [
"success"
],
"status": 200
}