Create Project

Description

This method creates a project in Unifier either based on a template or an existing project.

Support

This method can only support creation of project.

Installation: ASP and Self host

Level

Yes or No

Company Level

Yes

Project and Shell Level

Not Applicable

Prototype

public XMLObject createProject(String shortname, String authcode, String copyFromProject, String projectXML);

Parameters

Parameter

Description

Shortname

identifier of the company, company’s short name

Authcode

authentication key for the company, in text string

copyFromProject

this can be a project number or a template number.

projectXML

content of the project that needs to be created.

projectXML Elements

Tag Name

Required

Description

Valid values

<project_info>

Yes

Base tag for new project data. Only one project can be created at a time.

 

<projectnumber>

Yes

Project number of the new project that is getting created. If this project number already exists you will get an error.

User defined number.

<projectname>

Yes

Project name of the new project that is getting created. If this project name already exists you will get an error.

User defined name.

<constructiontype>

No

Type of construction

(New Construction or Retrofit/Remodel).

New Construction: 1

Retrofit/Remodel: 0

<status>

No

Status of the Project

(Active, Inactive, On-Hold)

Active: 1

Inactive: 0

On-Hold: 2

<typeofproject>

No

Type of Project. Values are based on the user dataset for "Project Type" data definition

 

 

<projectsite>

No

Project site. Values are based on the user dataset for "Project Site" data definition

 

<startdate>

No

Start Date of the project.

 

<plannedcompletion>

No

Planned Completion date

 

<revisedcompletion>

No

Revised Completion date

 

<designcomplete>

No

Design % complete

 

<constrcomplete>

No

Construction % complete

 

<notes>

No

Notes

 

<schedulestatus>

No

Schedule status of the project

On Schedule and on Budget: 0

Potential impact on schedule or both: 1

Impact to schedule or Budget or both: 2

<projectphase>

No

Project phase information. Values are based on the user dataset for "Project Phase" data definition

 

Note: If you do not provide values for elements that are not required then the values from template or project that is used to create new project are used.

Return Value

See Return Values. Message will contain new Project number and name that is created within Unifier.

Sample Method

createProject ("acme", "acme_authcode", "Proj-001", "<XML Content>")

Additional Information

If you are sending a message to update user information then you have to send a user name that already exists in Unifier.

If a new project is created by copying from a Template or another existing Project then users and groups will be copied by default along with permissions.

This service can be used to create Project (Standard).

Related Topics

Project Methods

Create Project with additional options



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022