Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview


This web service adds a note to a specified project (PwsProjectRef).

Request Format


Panel
titlePwsAddProjectNote Request

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information

1

SessionTicket

String

Yes


Click here for more information

AWYoWMBC/cjl/RFPrykteA==

Note

String (1024)

Yes


The note to be added to the project

To include additional or supporting information, you can add a note to a project.

ProjectIdentity

PwsProjectRef

Yes


The identity of the project to which the note will be added to


Request Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<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:PwsAddProjectNote>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AWYoWMBC/cjl/RFPrykteA==</req:SessionTicket>
            <sch:Note>To include additional or supporting information, you can add a note to a task, resource, assignment, or the entire project.</sch:Note>
            <sch:ProjectIdentity>
               <com:ProjectCode>P001320-001</com:ProjectCode>
            </sch:ProjectIdentity>
         </pws:serviceRequest>
      </pws:PwsAddProjectNote>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


Panel
titlePwsAddProjectNote 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

2018-01-19T21:53:15.0569601Z 

Response Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsAddProjectNoteResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsAddProjectNoteResult 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/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-01-19T21:53:15.0569601Z</ServerTimestampUtc>
         </PwsAddProjectNoteResult>
      </PwsAddProjectNoteResponse>
   </s:Body>
</s:Envelope>

PwsAddProjectNote - Common Errors and Warnings


ErrorNumber

ErrorCode

ErrorText

165ProjectNoteTruncatedThe project note exceeded the maximum length of 1024 characters and was truncated.
50220WebServicesPermissionDeniedThe specified user does not have permission to execute web services, or web services is not enabled for this account.