/
PwsGetProjectTaskTypes

PwsGetProjectTaskTypes

Overview

 

This web service retrieves a list of project task types (PwsProjectProjectTaskTypes), based upon a unique project identifier (PwsProjectRef). 

Rate Limiting

In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm.  When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate.  Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly.  For more information please visit: Projector Rate Limiting Behavior.

Request Format

 

Request Elements

 

Element

Data Type

Required?

Description

Sample Data

Element

Data Type

Required?

Description

Sample Data

RequestId

Int32

No

Click here for more information.

1

SessionTicket

String

Yes

Click here for more information.

ATUC0KEAX/LXdlo0d76EoQ==

ProjectIdentities

PwsProjectRef [1-100]

Yes

This structure represents the unique key fields associated with a project. Click here for more information.

 

Request Usage Example(s)

 

<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:PwsGetProjectTaskTypes> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>ATUC0KEAX/LXdlo0d76EoQ==</req:SessionTicket> <sch:ProjectIdentities> <com:PwsProjectRef> <com:ProjectCode>E001057-P001</com:ProjectCode> </com:PwsProjectRef> </sch:ProjectIdentities> </pws:serviceRequest> </pws:PwsGetProjectTaskTypes> </soapenv:Body> </soapenv:Envelope>

Response Format

Element

Data Type

Description

Sample Data

Element

Data Type

Description

Sample Data

Messages

PwsMessage [1-100]

The web service response status and message. Click here for more information

 

ResponseId

Int32

Click here for more information.

1

Status

RequestStatus

Click here for more information

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2024-10-11T19:18:02.7483931Z

TaskTypesByProject

PwsProjectProjectTaskTypes [1-100]

This structure represents the unique key fields associated with identifying a project task type.

 

Response Usage Example(s)

 

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <PwsGetProjectTaskTypesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/"> <PwsGetProjectTaskTypesResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:PwsMessage></b:PwsMessage> </Messages> <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId> <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status> <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2024-10-11T19:18:02.7483931Z</ServerTimestampUtc> <a:TaskTypesByProject xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:PwsProjectProjectTaskTypes> <b:ProjectIdentity> <b:ProjectCode>E001057-P001</b:ProjectCode> <b:ProjectId i:nil="true"/> <b:ProjectUid>1152921504607670227</b:ProjectUid> </b:ProjectIdentity> <b:ProjectTaskTypes> <b:PwsProjectTaskTypeElement> <b:ProjectTaskTypeDetail> <b:ExternalSystemIdentifier>PD-4325 (TaskType01)</b:ExternalSystemIdentifier> <b:ProjectTaskTypeId i:nil="true"/> <b:ProjectTaskTypeUid>1152921504609318633</b:ProjectTaskTypeUid> <b:ProjectTaskTypeName>September</b:ProjectTaskTypeName> <b:AllowedProjectRateTypeIdentities> <b:PwsProjectRateTypeRef> <b:ExternalSystemIdentifier>40</b:ExternalSystemIdentifier> <b:ProjectRateTypeId i:nil="true"/> <b:ProjectRateTypeUid>1152921504607828301</b:ProjectRateTypeUid> </b:PwsProjectRateTypeRef> </b:AllowedProjectRateTypeIdentities> <b:DefaultProjectRateTypeIdentity> <b:ExternalSystemIdentifier>40</b:ExternalSystemIdentifier> <b:ProjectRateTypeId i:nil="true"/> <b:ProjectRateTypeUid>1152921504607828301</b:ProjectRateTypeUid> </b:DefaultProjectRateTypeIdentity> <b:InactiveFlag>false</b:InactiveFlag> <b:NarrativeRequiredFlag>false</b:NarrativeRequiredFlag> <b:NewExternalSystemIdentifier i:nil="true"/> <b:SortOrder>1</b:SortOrder> <b:StandardTaskTypeIdentity> <b:StandardTaskTypeCode>Apr</b:StandardTaskTypeCode> <b:StandardTaskTypeId i:nil="true"/> <b:StandardTaskTypeName>April</b:StandardTaskTypeName> <b:StandardTaskTypeUid>1152921504606848775</b:StandardTaskTypeUid> </b:StandardTaskTypeIdentity> <b:InheritPurchaseOrderNumberFlag>false</b:InheritPurchaseOrderNumberFlag> <b:PurchaseOrderNumber>PwsSaveProjectTaskType</b:PurchaseOrderNumber> </b:ProjectTaskTypeDetail> </b:PwsProjectTaskTypeElement> </b:ProjectTaskTypes> </b:PwsProjectProjectTaskTypes> </a:TaskTypesByProject> </PwsGetProjectTaskTypesResult> </PwsGetProjectTaskTypesResponse> </s:Body> </s:Envelope>

PwsGetProjectTaskTypes - Common Errors and Warnings

ErrorNumber

ErrorCode

ErrorText

ErrorNumber

ErrorCode

ErrorText

105

AtLeastOneItemNotFound

At least one requested item was not found. The remaining items, if any, were returned.