Versions Compared

Key

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

...

Panel
titlePwsSaveTaskNoteResult

Elements


Element

Data Type

Description

Sample Data

ErrorDetail

PwsErrorDetail

The error detail regarding a failed project task note insert

 


ReferenceId

String

Reference id (used to affiliate PwsSaveTaskNoteResult records with associated PwsTimeCardDetail records)

 


TaskNotes

PwsProjectTaskNoteHistory[???]

The project task note history

 


Usage Example(s)


Code Block
languagexml
titleExample 01 - successful response
collapsetrue
               <a:PwsSaveTaskNoteResult>
                  <a:ErrorDetail i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ReferenceId i:nil="true"/>
                  <a:TaskNotes>
                     <a:PwsProjectTaskNoteHistory>
                        <a:CreatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                           <b:UserUid>1152921504607112369</b:UserUid>
                        </a:CreatedByUser>
                        <a:CreatedTimestamp>2018-03-09T21:12:16.373Z</a:CreatedTimestamp>
                        <a:ProjectTaskNotes>Added via the web service</a:ProjectTaskNotes>
                     </a:PwsProjectTaskNoteHistory>
                     <a:PwsProjectTaskNoteHistory>
                        <a:CreatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                           <b:UserUid>1152921504607112369</b:UserUid>
                        </a:CreatedByUser>
                        <a:CreatedTimestamp>2018-03-04T21:42:46.697Z</a:CreatedTimestamp>
                        <a:ProjectTaskNotes>Initial research document added to project workspace</a:ProjectTaskNotes>
                     </a:PwsProjectTaskNoteHistory>
                     <a:PwsProjectTaskNoteHistory>
                        <a:CreatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                           <b:UserUid>1152921504607112369</b:UserUid>
                        </a:CreatedByUser>
                        <a:CreatedTimestamp>2018-03-09T21:43:18.02Z</a:CreatedTimestamp>
                        <a:ProjectTaskNotes>Please see Jack for more information regarding this task</a:ProjectTaskNotes>
                     </a:PwsProjectTaskNoteHistory>
                  </a:TaskNotes>
               </a:PwsSaveTaskNoteResult>

...