Versions Compared

Key

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

...

Code Block
languagexml
titleExample 01 - deletecreate
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:web="http://projectorpsa.com/DataContracts/Shared/Web/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsSaveProjectIssues>
         <pws:serviceRequest>
            <req:SessionTicket>Ade8vXDjCIr0kcDpdVTbCw==</req:SessionTicket>
            <web:ProjectIdentity>
               <com:ProjectCode>P001125-001</com:ProjectCode>
            </web:ProjectIdentity>
            <web:SaveProjectIssues>
               <web:PwsProjectIssueDetail>
                  <com:ReferenceId>#1</com:ReferenceId>
                  <!--com:ProjectIssueid>28481</com:ProjectIssueid-->
                  <!--web:AttachmentClearFlag>true</web:AttachmentClearFlag-->
                  <web:Attachments>
                  </web:Attachments>
                  <web:CategoryIdentity>
                     <com:ProjectIssueCategoryUid>1152921504607339490</com:ProjectIssueCategoryUid>
                  </web:CategoryIdentity>
                  <web:Description>This is an update of existing issue</web:Description>
                  <web:DueDate>2018-10-31z</web:DueDate>
                  <web:DueDateClearFlag>false</web:DueDateClearFlag>
                  <web:EmailIssueOwnerFlag>false</web:EmailIssueOwnerFlag>
                  <web:EmailPmTeamFlag>false</web:EmailPmTeamFlag>
                  <web:IssueNumber>10</web:IssueNumber>
                  <web:OwnerIdentity>
                     <com:UserDisplayName>krakauer, larry</com:UserDisplayName>
                  </web:OwnerIdentity>
                  <web:Priority>M</web:Priority>
                  <web:Resolution>pending</web:Resolution>
                  <web:ResolutionClearFlag>false</web:ResolutionClearFlag>
                  <web:StatusIdentity>
                     <com:ProjectIssueStatusUid>1152921504608004811</com:ProjectIssueStatusUid>
                  </web:StatusIdentity>
               </web:PwsProjectIssueDetail>
            </web:SaveProjectIssues>
         </pws:serviceRequest>
      </pws:PwsSaveProjectIssues>
   </soapenv:Body>
</soapenv:Envelope>
Code Block

...

panel
language

...

ProjectIssueResults

...

PwsSaveProjectIssueResult[]

...

This structure is part of a response of web service PwsSaveProjectIssues. Click here for more information.

Response Usage Example(s)

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <PwsSaveProjectIssuesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
Code Block
languagexml
titleExample 01 - delete
collapsetrue
xml
titlePwsSaveProjectIssuesRs

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.

...

0

...

Status

...

RequestStatus

...

Click here for more information.

...

ServerTimestampUtc

...

DateTime

...

Click here for more information.

...

2018-02-06T14:14:21.9169814Z
Example 02 - delete
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:web="http://projectorpsa.com/DataContracts/Shared/Web/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsSaveProjectIssues>
         <pws:serviceRequest>
            <req:SessionTicket>Ade8vXDjCIr0kcDpdVTbCw==</req:SessionTicket>
            <web:DeleteProjectIssues>
               <com:PwsProjectIssueRef>
                  <com:ProjectIssueUid>1152921504606877025</com:ProjectIssueUid>
               </com:PwsProjectIssueRef>
            </web:DeleteProjectIssues>
            <web:ProjectIdentity>
               <com:ProjectCode>P001125-001</com:ProjectCode>
            </web:ProjectIdentity>
            <web:SaveProjectIssues>
            </web:SaveProjectIssues>
         </pws:serviceRequest>
      </pws:PwsSaveProjectIssues>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


Panel
titlePwsSaveProjectIssuesRs

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.

0

Status

RequestStatus

Click here for more information.


ServerTimestampUtc

DateTime

Click here for more information.

2018-02-06T14:14:21.9169814Z

ProjectIssueResults

PwsSaveProjectIssueResult[]

This structure is part of a response of web service PwsSaveProjectIssues. Click here for more information.


Response Usage Example(s)


Code Block
languagexml
titleExample 01 - create
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveProjectIssuesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSaveProjectIssuesResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Web/" 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/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-11-12T20:26:44.0483182Z</ServerTimestampUtc>
            <a:ProjectIssueResults>
               <a:PwsSaveProjectIssueResult>
                  <a:ErrorDetail i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ProjectIssue>
                      <PwsSaveProjectIssuesResult<ProjectIssueId i:nil="true" xmlns:a="http://projectorpsa.com/DataContracts/Shared/Web/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">Common/"/>
                <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b     <ProjectIssueUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>>1152921504606877025</ProjectIssueUid>
                     <ResponseId<ReferenceId xmlns="http://projectorpsa.com/DataContracts/Shared/CommonServicesCommon/">0</ResponseId>>#1</ReferenceId>
                      <Status<ExternalSystemIdentifier i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/CommonServicesCommon/">Ok</Status>>
             <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-11-12T20:26:44.0483182Z</ServerTimestampUtc>       <a:AttachmentClearFlag>false</a:AttachmentClearFlag>
     <a:ProjectIssueResults>                <a:PwsSaveProjectIssueResult>Attachments/>
                     <a:ErrorDetail i:nil="true"CategoryIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ProjectIssue>                      <ProjectIssueId <b:ProjectIssueCategoryId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <ProjectIssueUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606877025</ProjectIssueUid>   <b:ProjectIssueCategoryUid>1152921504607339490</b:ProjectIssueCategoryUid>
                     <ReferenceId xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">#1</ReferenceId></a:CategoryIdentity>
                     <ExternalSystemIdentifier i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/><a:Description>This is an update of existing issue</a:Description>
                     <a:AttachmentClearFlag>false<:DueDate>2018-10-31T00:00:00Z</a:AttachmentClearFlag>DueDate>
                     <a:AttachmentsDueDateClearFlag>false</>a:DueDateClearFlag>
                     <a:CategoryIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">EmailIssueOwnerFlag>false</a:EmailIssueOwnerFlag>
                     <a:EmailPmTeamFlag>false</a:EmailPmTeamFlag>
  <b:ProjectIssueCategoryId i:nil="true"/>                   <a:IssueNumber>2</a:IssueNumber>
       <b:ProjectIssueCategoryUid>1152921504607339490</b:ProjectIssueCategoryUid>              <a:OwnerIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
      </a:CategoryIdentity>                  <b:UserDisplayName>Krakauer, Larry</b:UserDisplayName>
  <a:Description>This is an update of existing issue</a:Description>                  <b:UserId i:nil="true"/>
  <a:DueDate>2018-10-31T00:00:00Z</a:DueDate>                      <a<b:DueDateClearFlag>false<UserReferenceSystemId>097</a:DueDateClearFlag>b:UserReferenceSystemId>
                        <a<b:EmailIssueOwnerFlag>false<UserUid>1152921504606944254</ab:EmailIssueOwnerFlag>UserUid>
                     <a:EmailPmTeamFlag>false<</a:EmailPmTeamFlag>OwnerIdentity>
                     <a:IssueNumber>2<Priority>M</a:IssueNumber>
               Priority>
     <a:OwnerIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">                <a:Resolution>pending</a:Resolution>
                 <b:UserDisplayName>Krakauer, Larry</b:UserDisplayName>   <a:ResolutionClearFlag>false</a:ResolutionClearFlag>
                     <b<a:UserIdStatusIdentity ixmlns:nil="true"/b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserReferenceSystemId>097</b:UserReferenceSystemId>ProjectIssueStatusId i:nil="true"/>
                        <b:UserUid>1152921504606944254<ProjectIssueStatusUid>1152921504608004811</b:UserUid>ProjectIssueStatusUid>
                     </a:OwnerIdentity>StatusIdentity>
                     <a:Priority>M<Timestamp>AAAAABFDKdg=</a:Priority>Timestamp>
                     <a:Resolution>pending</a:Resolution>
                     <a:ResolutionClearFlag>false</a:ResolutionClearFlag>NewExternalSystemIdentifier i:nil="true"/>
                     <a:StatusIdentityUserDefinedFields xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <b:ProjectIssueStatusId i:nil="true"/></a:ProjectIssue>
                  <a:ReferenceId>#1</a:ReferenceId>
      <b:ProjectIssueStatusUid>1152921504608004811</b:ProjectIssueStatusUid>         </a:PwsSaveProjectIssueResult>
            </a:StatusIdentity>ProjectIssueResults>
         </PwsSaveProjectIssuesResult>
      </PwsSaveProjectIssuesResponse>
   </s:Body>
  <a:Timestamp>AAAAABFDKdg=</a:Timestamp>
  </s:Envelope>
Code Block
languagexml
titleExample 02 - delete
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveProjectIssuesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
          <a:NewExternalSystemIdentifier i:nil="true"/<PwsSaveProjectIssuesResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Web/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                     <a:UserDefinedFields<Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  </a:ProjectIssue>
    <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
            <Status <a:ReferenceId>#1</a:ReferenceId>xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
               </a:PwsSaveProjectIssueResult><ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-11-12T20:32:01.0306358Z</ServerTimestampUtc>
            </a:ProjectIssueResults><a:ProjectIssueResults/>
         </PwsSaveProjectIssuesResult>
      </PwsSaveProjectIssuesResponse>
   </s:Body>
</s:Envelope>

...