Versions Compared

Key

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

...

Panel
titlePwsSaveProjectIssuesRq

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.


SessionTicket

String

Yes


Click here for more information.


DeleteProjectIssues

PwsProjectIssueRef[]

No


This is the identity of the project issue to be deleted. Click here for more information.


ProjectIdentity

PwsProjectRef

Yes


This is the identity of the project. Click here for more information.


SaveProjectIssues

PwsProjectIssueDetail[]

No


The detailed project issue information to be inserted or updated. Click here for more information.


OverrideDocumentLockFlagBooleanNo
If set to 'true', then request can update the attachment on the issue even if it is checked out/locked. If set to 'false', the save will fail if the attachment on the issue is checked out/locked.

Request Usage Example(s)


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:Attachments>
                  <!--web:AttachmentClearFlag>true</web:AttachmentClearFlag-->Attachments>
                  <web:Attachments>CategoryIdentity>
                     <<com:ProjectIssueCategoryUid>1152921504607339490</webcom:Attachments>ProjectIssueCategoryUid>
                  <web</web:CategoryIdentity>
                  <web:Description>This is  <com:ProjectIssueCategoryUid>1152921504607339490</com:ProjectIssueCategoryUid>a new issue</web:Description>
                  <<web:DueDate>2018-10-31z</web:CategoryIdentity>DueDate>
                  <web:Description>This is an update of existing issue<DueDateClearFlag>false</web:Description>DueDateClearFlag>
                  <web:DueDate>2018-10-31z<EmailIssueOwnerFlag>false</web:DueDate>EmailIssueOwnerFlag>
                  <web:DueDateClearFlag>false<EmailPmTeamFlag>false</web:DueDateClearFlag>EmailPmTeamFlag>
                  <web:EmailIssueOwnerFlag>false<IssueNumber>10</web:EmailIssueOwnerFlag>IssueNumber>
                  <web:EmailPmTeamFlag>false</web:EmailPmTeamFlag>OwnerIdentity>
                  <web:IssueNumber>10</web:IssueNumber>                   <web:OwnerIdentity>
                     <com:<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>

Response Format

PwsSaveProjectIssuesRs
  • Messages: PwsMessage[]
  • ResponseId: Int32
  • Status: RequestStatus
  • ServerTimestampUtc: DateTime
  • ProjectIssueResults: PwsSaveProjectIssueResult[]
  • Panelcode
    languagexml
    titleExample 02 - deletePwsSaveProjectIssuesRs
    collapse
    true

    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 - delete
    collapsetrue
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
       <s:Body>
          <PwsSaveProjectIssuesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/"><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 xmlnsi:anil="http://projectorpsa.com/DataContracts/Shared/Web/true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">projectorpsa.com/DataContracts/Shared/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<>#1</ResponseId>ReferenceId>
                <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>        <ExternalSystemIdentifier     <ServerTimestampUtc i:nil="true" xmlns="http://projectorpsa.com/CommonServices/">2018-11-12T20:26:44.0483182Z</ServerTimestampUtc>DataContracts/Shared/Common/"/>
                         <a:ProjectIssueResults>:AttachmentClearFlag>false</a:AttachmentClearFlag>
                         <a:PwsSaveProjectIssueResult>Attachments/>
                         <a:ErrorDetail i:nil="true" CategoryIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
           /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 a new 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>
                           <b:ProjectIssueCategoryId i:nil="true"/><a:EmailPmTeamFlag>false</a:EmailPmTeamFlag>
                            <b:ProjectIssueCategoryUid>1152921504607339490</b:ProjectIssueCategoryUid><a:IssueNumber>2</a:IssueNumber>
                         </a<a:CategoryIdentity>
    OwnerIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <a:Description>This is an update of existing issue</a:Description><b:UserDisplayName>Krakauer, Larry</b:UserDisplayName>
                         <a:DueDate>2018-10-31T00:00:00Z</a:DueDate>                  <b:UserId i:nil="true"/>
       <a:DueDateClearFlag>false</a:DueDateClearFlag>                      <a<b:EmailIssueOwnerFlag>false<UserReferenceSystemId>097</a:EmailIssueOwnerFlag>b:UserReferenceSystemId>
                            <a<b:EmailPmTeamFlag>false<UserUid>1152921504606944254</ab:EmailPmTeamFlag>UserUid>
                         <a:IssueNumber>2<</a:IssueNumber>OwnerIdentity>
                         <a:OwnerIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">:Priority>M</a:Priority>
                         <a:Resolution>pending</a:Resolution>
                     <b:UserDisplayName>Krakauer, Larry</b:UserDisplayName>   <a:ResolutionClearFlag>false</a:ResolutionClearFlag>
                         <b<a:UserIdStatusIdentity ixmlns:nilb="true"/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>
                      <a:ReferenceId>#1</a:ReferenceId><Status 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>

    ...