PwsGetProjectEstimate

Overview


This web service retrieves a specified project estimate.

Request Format


PwsGetProjectEstimate Request


Request Elements

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information

1

SessionTicket

String (50)

Yes


Click here for more information

ASi0NoKANuaG9Enyvoo2QA==

ProjectEstimateIdentity

PwsProjectEstimateRef

Yes


The identity of the project estimate to be retrieved.



Request Usage Example(s)


Request Example
<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:PwsGetProjectEstimate>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>ASi0NoKANuaG9Enyvoo2QA==</req:SessionTicket>
            <sch:ProjectEstimateIdentity>
               <com:ProjectEstimateUid>1152921504606862146</com:ProjectEstimateUid>
               <com:ProjectIdentity>
                  <com:ProjectUid>1152921504607496017</com:ProjectUid>
               </com:ProjectIdentity>
            </sch:ProjectEstimateIdentity>
         </pws:serviceRequest>
      </pws:PwsGetProjectEstimate>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


PwsGetProjectEstimate Response

Response Elements


Element

Data Type

Description

Sample Data

Messages

PwsMessage[]

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.

2022-07-25T17:10:18.3004271Z

ProjectEstimate

PwsProjectEstimateElement

The details of the project estimate that was fetched.


Response Usage Example(s)


Response Example
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetProjectEstimateResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetProjectEstimateResult 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:AdditionalErrorText>Message 136: This request was executed against the Development [appdev.projectorpsa.com] environment.</b:AdditionalErrorText>
                  <b:ErrorCode>NonProductionEnvironment</b:ErrorCode>
                  <b:ErrorNumber>136</b:ErrorNumber>
                  <b:ErrorText>This web service request was executed against a non-production instance of Projector.</b:ErrorText>
                  <b:Type>Information</b:Type>
                  <b:ReferenceId1 i:nil="true"/>
                  <b:ReferenceId2 i:nil="true"/>
               </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/">2022-07-25T17:10:18.3004271Z</ServerTimestampUtc>
            <a:ProjectEstimate xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ActiveEstimateFlag>true</b:ActiveEstimateFlag>
               <b:CanUpdateProjectFlag>true</b:CanUpdateProjectFlag>
               <b:CreatedByUser>
                  <b:UserDisplayName>Integration User</b:UserDisplayName>
                  <b:UserId>288875</b:UserId>
                  <b:UserReferenceSystemId i:nil="true"/>
                  <b:UserUid>1152921504607135851</b:UserUid>
                  <b:EmailAddress>alison.hatcher@flo-group.com</b:EmailAddress>
                  <b:FirstName>Integration</b:FirstName>
                  <b:LastName>User</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:CreatedByUser>
               <b:CreatedTimestamp>2021-11-30T14:05:33.09Z</b:CreatedTimestamp>
               <b:CrmIntegrationFlag>true</b:CrmIntegrationFlag>
               <b:LastModifiedByUser>
                  <b:UserDisplayName>Integration User</b:UserDisplayName>
                  <b:UserId>288875</b:UserId>
                  <b:UserReferenceSystemId i:nil="true"/>
                  <b:UserUid>1152921504607135851</b:UserUid>
                  <b:EmailAddress>alison.hatcher@flo-group.com</b:EmailAddress>
                  <b:FirstName>Integration</b:FirstName>
                  <b:LastName>User</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:LastModifiedByUser>
               <b:LastModifiedTimestamp>2021-12-24T11:05:37.227Z</b:LastModifiedTimestamp>
               <b:ProjectEstimateDetail>
                  <b:ProjectEstimateId>15170</b:ProjectEstimateId>
                  <b:ProjectEstimateName>MoD OTM Proof of Concept</b:ProjectEstimateName>
                  <b:ProjectEstimateUid>1152921504606862257</b:ProjectEstimateUid>
                  <b:ProjectIdentity>
                     <b:ProjectCode>Model Project</b:ProjectCode>
                     <b:ProjectId>649041</b:ProjectId>
                     <b:ProjectUid>1152921504607496128</b:ProjectUid>
                  </b:ProjectIdentity>
                  <b:EndDate>2022-06-05T00:00:00Z</b:EndDate>
                  <b:EstimateBasis>W</b:EstimateBasis>
                  <b:StartDate>2022-01-31T00:00:00Z</b:StartDate>
                  <b:LineItems/>
               </b:ProjectEstimateDetail>
               <b:ProjectTimestamp>AAAAABxilus=</b:ProjectTimestamp>
            </a:ProjectEstimate>
         </PwsGetProjectEstimateResult>
      </PwsGetProjectEstimateResponse>
   </s:Body>
</s:Envelope>


PwsGetProjectEstimate - Common Errors and Warnings

ErrorNumber

ErrorCode

ErrorText