Overview
This web service inserts or updates a single project based on a detailed project structure (PwsProjectDetail). The service returns the identity (PwsProjectRef) of the project that has been inserted or updated. The caller can optionally request that the full project detail (PwsProjectElement) be included in the response. Please note, upon creation of a new project, certain attributes may be derived from engagement type defaults or inherited from the engagement.
...
Panel | ||
---|---|---|
| ||
|
...
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | ||
String | Yes | Click here for more information. | Ad0gaqAh34T3anLQ/dUmpQ== | ||
CloseDateClearFlag | Boolean | No | false | If set to "true", the end date of the project will be cleared. | false |
CostGlccOverrideClearFlag | Boolean | deprecated | *** This field has been deprecated *** | ||
DescriptionClearFlag | Boolean | No | false | If set to "true", project description will be cleared.. | false |
FullDetailFlag | Boolean | No | false | If set to "true", full project element will be included in response. | false |
Mode | String (1) | Yes | Applies if FullDetailFlag is set to true: A to retrieve booked data for roles. R to retrieve requested data for roles. E to retrieve effective data for roles (booked data for booked roles, requested data for requested roles). | A/R | |
PercentLikelihoodClearFlag | Boolean | No | false | If set to "true", project percent likelihood will be cleared. When this value is cleared, the percent likelihood is derived from the percent likelihood value associated with the project's stage. | false |
Project | Yes | Structure that contains the complete information of the project. Please click here for more information. If PwsProjectDetail refers to an existing project, this request updates this project; otherwise, this request creates a new project. | |||
StealLockFlag | Boolean | deprecated | *** This field has been deprecated *** | ||
TimeGlccOverrideClearFlag | Boolean | deprecated | *** This field has been deprecated *** | ||
WorkspaceMessagesClearFlag | Boolean | No | false | If set to "true", project workspace message will be cleared. | false |
ForceAdvancedSetupChangeFlag | Boolean | No | false | Advanced: This can be used to force PLCC mapping changes for time and/or cost mappings in the face of existing transactional data. If this flag is not set to true, an error will be returned if you attempt to change the time or cost PLCC mappings and there are time card or cost card transactions associated with the project. Note you must also have advanced project setup permission to force the mapping changes. | false |
EngagementTimestamp | String | deprecated | *** This field has been deprecated *** | ||
ManagementTeamClearFlag | Boolean | No | false | If set to "true", clear the non-PM members of the project management team. | false |
BdDashboardClearFlag | Boolean | No | false | If set to "true", clear the Belladati (advanced analytics) dashboard configuration for this project, and BdDashboards data is ignored. | false |
ExpenseTypeConfigurationClearFlag | Boolean | No | false | if set to "true", clear the expenes type configuration for this project. | false |
LocksToSteal | PwsEntityLockSummary[1.100] | No | The detailed information of the locks that are to be stolen. If not specified, the request will fail if any requested locks are already held. If specified, the information supplied must exactly match the current state of existing locks or the attempt to steal the existing locks will fail. Typically, this service is invoked with LocksToSteal empty or null. If there are existing locks, they will be returned in the LockHolders member of PwsFault. This data can then be sent, as is, back to the server in a second invocation of this service, as LocksToSteal, if the caller desires to steal the locks. | ||
ProjectorLockSetId | Int32 | No | A projector lock set id is an identifier for a group of one or more locks held as a unit. | ||
AamDashboardClearFlag | Boolean | No | false | True to clear AAM dashboards for project. | |
ExcludeReadNotesFlag | Boolean | No | false | If true, notes that have been marked as read by the current user are excluded from the data returned. Applies only when FullDetailFlag is true. | |
IncludeDeletedRolesFlag | Boolean | No | false | If true, deleted roles are included in the response data. Applies only when FullDetailFlag is true. | |
RevalueAction | String | No | N | This indicates how the service should respond if there are time cards that would become in need of revalue as a result of the changes. The valid values are:
| |
InvoiceTabMessageClearFlag | Boolean | No | false | If set to "true", clear the invoice tab message for this project. | |
IssueCategoryClearFlag | Boolean | No | false | If set to "true", clear the issue category for this project. | |
IssueStatusClearFlag | Boolean | No | false | If set to "true", clear the issue status configuration for this project. | |
ProjectLoginClearFlag | Boolean | No | false | If set to "true", clear the users on Client Logins tab. | |
WorkspaceLogoClearFlag | Boolean | No | false | If set to "true", clear the project logo. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:sch="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header/> <soapenv:Body> <pws:PwsSaveProject> <pws:serviceRequest> <req:SessionTicket>AatU6Z3wNjEL/nIADBLl4w==</req:SessionTicket> <sch:CloseDateClearFlag>false</sch:CloseDateClearFlag> <sch:DescriptionClearFlag>false</sch:DescriptionClearFlag> <sch:FullDetailFlag>true</sch:FullDetailFlag> <sch:Mode>A</sch:Mode> <sch:PercentLikelihoodClearFlag>false</sch:PercentLikelihoodClearFlag> <sch:Project> <com:ProjectCode>P001053-WS3</com:ProjectCode> <com:EngagementIdentity> <com:EngagementCode>P001053</com:EngagementCode> </com:EngagementIdentity> <com:ProjectName>Updated using PwsSaveProject</com:ProjectName> <com:CloseDate>2022-07-27z</com:CloseDate> <com:DefaultSchedulingMode>D</com:DefaultSchedulingMode> <com:Description>Updated scription from web service</com:Description> <com:EmEmailFlag>true</com:EmEmailFlag> <com:ExpenseApprovalUserIdentity> <com:UserDisplayName>Larry Krakauer</com:UserDisplayName> <com:UserReferenceSystemId>097</com:UserReferenceSystemId> </com:ExpenseApprovalUserIdentity> <com:ExpenseApproverType>U</com:ExpenseApproverType> <com:LocationIdentity> <com:LocationName>Boston</com:LocationName> </com:LocationIdentity> <com:ManagerIdentity> <com:UserDisplayName>Larry Krakauer</com:UserDisplayName> </com:ManagerIdentity> <com:MinutesPerDay>420</com:MinutesPerDay> <com:NarrativeRequiredFlag>true</com:NarrativeRequiredFlag> <!--com:NewProjectCode>P001053-WS1</com:NewProjectCode--> <com:OpenDate>2011-01-01z</com:OpenDate> <com:OpenForCostFlag>false</com:OpenForCostFlag> <com:OpenForCostTransferFlag>false</com:OpenForCostTransferFlag> <com:OpenForTimeFlag>false</com:OpenForTimeFlag> <com:OpenForTimeTransferFlag>false</com:OpenForTimeTransferFlag> <com:PercentLikelihood>0</com:PercentLikelihood> <com:PmModuleEnabledFlag>true</com:PmModuleEnabledFlag> <com:ProjectStageIdentity> <com:ProjectStageName>delivery</com:ProjectStageName> </com:ProjectStageIdentity> <com:ProjectWorkspaceEnabledFlag>true</com:ProjectWorkspaceEnabledFlag> <com:Rates> <!--Zero or more repetitions:--> <com:PwsProjectRate> <com:BillingAdjustedDiscountPercent>3</com:BillingAdjustedDiscountPercent> <com:ContractDiscountPercent>1</com:ContractDiscountPercent> <com:EndDate>2020-05-31z</com:EndDate> <com:RateCardIdentity> <com:RateCardName>Standard Public Sector Rates (USD)</com:RateCardName> <com:RateCardType>R</com:RateCardType> </com:RateCardIdentity> </com:PwsProjectRate> <com:PwsProjectRate> <com:BeginDate>2020-06-01z</com:BeginDate> <com:BillingAdjustedDiscountPercent>10</com:BillingAdjustedDiscountPercent> <com:ContractDiscountPercent>5</com:ContractDiscountPercent> <com:RateCardIdentity> <com:RateCardName>Standard Financial Services Rates (USD)</com:RateCardName> <com:RateCardType>R</com:RateCardType> </com:RateCardIdentity> </com:PwsProjectRate> </com:Rates> <com:TimeApprovalUserIdentity> <com:UserDisplayName>Ronni Skinner</com:UserDisplayName> <com:UserReferenceSystemId>030</com:UserReferenceSystemId> </com:TimeApprovalUserIdentity> <com:TimeApproverType>U</com:TimeApproverType> <com:TimeEntryRestrictedToRolesAssignedToTasksFlag>false</com:TimeEntryRestrictedToRolesAssignedToTasksFlag> <com:UserDefinedFields> <!--Zero or more repetitions:--> <com:PwsUserDefinedFieldDetail> <com:UdfName>PUDF_YN</com:UdfName> <com:BooleanValue>true</com:BooleanValue> </com:PwsUserDefinedFieldDetail> <com:PwsUserDefinedFieldDetail> <com:UdfName>PUDF_Num4dp_Req</com:UdfName> <com:NumericValue>12345</com:NumericValue> </com:PwsUserDefinedFieldDetail> <com:PwsUserDefinedFieldDetail> <com:UdfName>Tentative start date</com:UdfName> <com:DateValue>2019-01-01z</com:DateValue> </com:PwsUserDefinedFieldDetail> </com:UserDefinedFields> <com:WorkspaceMessages>This project is created to manage the set and costume production for Met Opera's Don Carlo production </com:WorkspaceMessages> <com:BookExpenseResourceCostCenterIdentity> <com:CostCenterName>Revcorp CA</com:CostCenterName> </com:BookExpenseResourceCostCenterIdentity> <com:BookExpenseResourcesAllowCode>C</com:BookExpenseResourcesAllowCode> <com:BookTimeResourcesAllowCode>A</com:BookTimeResourcesAllowCode> <com:PlccMappings> <!--TR: #1 of 5 repetitions --> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.15</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>US</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:GlccOverride>CC-ABC</com:GlccOverride> <com:MappingType>TR</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.85</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>CA</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>TR</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <!--OR: #2 of 5 repetitions --> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.25</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>US</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>OR</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.75</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>CA</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>OR</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <!--OE: #3 of 5 repetitions --> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.35</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>US</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>OE</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.65</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>CA</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>OE</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <!--RDC: #4 of 5 repetitions --> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.45</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>US</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>RDC</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.55</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>CA</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>RDC</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <!--SRDC: #5 of 5 repetitions --> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.47</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>US</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>SRDC</com:MappingType> </com:PwsProjectPlccMappingCostCenter> <com:PwsProjectPlccMappingCostCenter> <com:AllocationFraction>0.53</com:AllocationFraction> <com:CostCenterIdentity> <com:CostCenterNumber>CA</com:CostCenterNumber> </com:CostCenterIdentity> <com:CostCenterType>S</com:CostCenterType> <com:MappingType>SRDC</com:MappingType> </com:PwsProjectPlccMappingCostCenter> </com:PlccMappings> <com:ContractLineItemIdentity> <com:ContractLineItemCode>P001053-CL1</com:ContractLineItemCode> </com:ContractLineItemIdentity> <com:ManagementTeam> <!--Zero or more repetitions:--> <com:PwsProjectManagementTeamMember> <com:EmailFlag>true</com:EmailFlag> <com:UpdateFlag>true</com:UpdateFlag> <com:UserIdentity> <com:UserDisplayName>Bruce Wayne</com:UserDisplayName> </com:UserIdentity> </com:PwsProjectManagementTeamMember> </com:ManagementTeam> <com:InheritPurchaseOrderNumberFlag>false</com:InheritPurchaseOrderNumberFlag> <com:PurchaseOrderNumber>Met-Don-Carlo</com:PurchaseOrderNumber> <com:AamDashboards> <!--Zero or more repetitions:--> <com:PwsProjectAamDashboardDetail> <com:AamIntegrationSummary> <com:AamIntegrationName>MS Power BI</com:AamIntegrationName> <com:AamType>M</com:AamType> </com:AamIntegrationSummary> <!--Optional:--> <com:ProjectAamDashboardName>PowerBI (WS)</com:ProjectAamDashboardName> <!--Optional:--> <com:PmAllowedFlag>true</com:PmAllowedFlag> <!--Optional:--> <com:ProjectAamDashboardParams i:type="com:PwsAamPbDashboardParams"> <com:PbFilter>filter=PBI-ProjectList/ProjectCode eq '{0}'</com:PbFilter> <com:PbReportId>26c0b4b3-9fa6-4bb1-9e2e-a2bb4d0270a3</com:PbReportId> <com:PbWorkspaceId>7b087de2-53a5-4cc7-b51d-0d780508debb</com:PbWorkspaceId> </com:ProjectAamDashboardParams> </com:PwsProjectAamDashboardDetail> </com:AamDashboards> </sch:Project> <sch:StealLockFlag>true</sch:StealLockFlag> <sch:WorkspaceMessagesClearFlag>false</sch:WorkspaceMessagesClearFlag> <sch:ForceAdvancedSetupChangeFlag>true</sch:ForceAdvancedSetupChangeFlag> <sch:ManagementTeamClearFlag>true</sch:ManagementTeamClearFlag> <sch:BdDashboardClearFlag>false</sch:BdDashboardClearFlag> <sch:ExpenseTypeConfigurationClearFlag>true</sch:ExpenseTypeConfigurationClearFlag> </pws:serviceRequest> </pws:PwsSaveProject> </soapenv:Body> </soapenv:Envelope> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:sch="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
<soapenv:Header/>
<soapenv:Body>
<pws:PwsSaveProject>
<pws:serviceRequest>
<req:SessionTicket>AScri6IOcrW5unCLBJkfaw==</req:SessionTicket>
<sch:CloseDateClearFlag>true</sch:CloseDateClearFlag>
<sch:CostGlccOverrideClearFlag>false</sch:CostGlccOverrideClearFlag>
<sch:DescriptionClearFlag>false</sch:DescriptionClearFlag>
<sch:FullDetailFlag>true</sch:FullDetailFlag>
<sch:Mode>R</sch:Mode>
<sch:PercentLikelihoodClearFlag>false</sch:PercentLikelihoodClearFlag>
<sch:Project>
<com:ProjectCode>P001012-002</com:ProjectCode>
<com:EngagementIdentity>
<com:EngagementCode>P001012</com:EngagementCode>
</com:EngagementIdentity>
<com:NewProjectCode>P001012-002N1</com:NewProjectCode>
<com:ContractLineItemIdentity>
<com:ContractLineItemCode>P001012-CL1</com:ContractLineItemCode>
</com:ContractLineItemIdentity>
<com:BookedResourcesWorkspacePermissionSetIdentity>
<com:PermissionSetName>FULL Access</com:PermissionSetName>
</com:BookedResourcesWorkspacePermissionSetIdentity>
<!--Optional:-->
<com:CcUsersWorkspacePermissionSetIdentity>
<com:PermissionSetName>FULL Access</com:PermissionSetName>
</com:CcUsersWorkspacePermissionSetIdentity>
<!--Optional:-->
<com:ClientWorkspacePermissionSetIdentity>
<com:PermissionSetName>FULL Access</com:PermissionSetName>
</com:ClientWorkspacePermissionSetIdentity>
<!--Optional:-->
<com:EmWorkspacePermissionSetIdentity>
<com:PermissionSetName>FULL Access</com:PermissionSetName>
</com:EmWorkspacePermissionSetIdentity>
<!--Optional:-->
<com:InvoiceTabMessage>From Web Service #1</com:InvoiceTabMessage>
<!--Optional:-->
<com:IssueCategories>
<!--Zero or more repetitions:-->
<com:PwsProjectIssueCategoryDetail>
<com:InactiveFlag>false</com:InactiveFlag>
<com:Name>High1</com:Name>
</com:PwsProjectIssueCategoryDetail>
<com:PwsProjectIssueCategoryDetail>
<com:InactiveFlag>false</com:InactiveFlag>
<com:Name>Low1</com:Name>
</com:PwsProjectIssueCategoryDetail>
</com:IssueCategories>
<!--Optional:-->
<com:IssueStatuses>
<!--Zero or more repetitions:-->
<com:PwsProjectIssueStatusDetail>
<com:Name>New1</com:Name>
</com:PwsProjectIssueStatusDetail>
<com:PwsProjectIssueStatusDetail>
<com:InactiveFlag>true</com:InactiveFlag>
<com:Name>Closed1</com:Name>
<com:TreatAsClosedFlag>true</com:TreatAsClosedFlag>
</com:PwsProjectIssueStatusDetail>
</com:IssueStatuses>
<!--Optional:-->
<com:LtdBookedResourcesWorkspacePermissionSetIdentity>
<com:PermissionSetName>FULL Access</com:PermissionSetName>
</com:LtdBookedResourcesWorkspacePermissionSetIdentity>
<!--Optional:-->
<com:LtdOtherResourcesWorkspacePermissionSetIdentity>
<com:PermissionSetName>FULL Access</com:PermissionSetName>
</com:LtdOtherResourcesWorkspacePermissionSetIdentity>
<!--Optional:-->
<com:OtherResourcesWorkspacePermissionSetIdentity>
<com:PermissionSetName>FULL Access</com:PermissionSetName>
</com:OtherResourcesWorkspacePermissionSetIdentity>
<!--Optional:-->
<com:PmWorkspacePermissionSetIdentity>
<com:PermissionSetName>FULL Access</com:PermissionSetName>
</com:PmWorkspacePermissionSetIdentity>
<!--Optional:-->
<com:ProjectLogins>
<!--Zero or more repetitions:-->
<com:PwsProjectLogin>
<!--Optional:-->
<com:UserIdentity>
<!--Optional:-->
<com:UserDisplayName>Alexander Hamilton</com:UserDisplayName>
</com:UserIdentity>
<!--Optional:-->
<com:WorkspacePermissionSetIdentity>
<com:PermissionSetName>Client Access</com:PermissionSetName>
</com:WorkspacePermissionSetIdentity>
</com:PwsProjectLogin>
</com:ProjectLogins>
</sch:Project>
</pws:serviceRequest>
</pws:PwsSaveProject>
</soapenv:Body>
</soapenv:Envelope> |
Response Format
Panel | ||
---|---|---|
| ||
|
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
ResponseId | Int32 | Click here for more information. | 1 |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | ||
Project | The complete set of information about the project. Populated only if FullDetailFlag is specified in the request. Click here for more information. | ||
ProjectIdentity | The unique keys used to identify the project. Click here for more information. | ||
RevalueReport | PwsRevalueReport | Information about time cards on the project that were affected or would be affected by the change. Populated only when RevalueAction is R (Revalue) or C (Check). If RevalueAction is R, the values included in this structure reflect what was done. If RevalueAction is C, the values reflect what would be done if the service were invoked again with RevalueAction set to R. | |
EngagementTimestamp | String | *** This field has been deprecated *** | |
LockStolenFromUserIdentity | *** This field has been deprecated *** | ||
ProjectTimestamp | String | This is an optimistic locking timestamp that, if provided on update request, will cause the request to fail when the timestamp stored in the database does not match the provided value. | |
StolenLocks | PwsEntityLockSummary | This structure contains information about the locks that were stolen in order to complete this request, Will be included only when LocksToSteal is specified in the request. |
...