Download the Primavera Unifier Integration Interface Guide

Transcript
Methods
Create Schedule Activities from file V2
Description
This option will allow user to process a P6 XML file and add activities and resources to a
Primavera Unifier schedule sheet. Along with activity information this process will also take activity
spread information. Since the activity spread information data can be a lot, this method allows user
to send in information in a .zip file.
Support
Installation: ASP and Self host
Level
Yes or No
Company Level
No
Project and Shell Level
Yes
Prototype
public XMLObject createScheduleActivitiesFromFileV2(String shortname, String authcode, String
projectNumber, String sheetname, String scheduleoptions, String iszipfile, FileObject[] files);
Parameters
Parameter
Description
Shortname
identifier of the company, company’s short name
Authcode
authentication key for the company, in text string
projectNumber
Identifier of the project or shell in Primavera Unifier.
sheetName
Identify the name of the schedule sheet in Primavera Unifier
iszipfile
This tag identifies if the file provided under files tag is a zip file or
.xml file with just activity and resource information. If user wants
to send activity spread information then the value of this tag
should be yes and the file provided under files tag should be a
zip file containing activity/ resource information and the spread
information.
files
FileObject containing the Activity / Resource information and the
activity spread information. FileObject is made up of two
components
String filename (this should be the name of the zip file) and the
zip file with two files, one for activity / resource information and
one with activity spread information. Name of the activity/
resource information should be same as the one given under
<scheduleoptions>.<ActivityFileName>tag and the name of the
name of the activity spread information should be same as the
one given under <scheduleoptions>.<SpreadFileName>.
89