Versions Compared

Key

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

...

Panel
titlePwsSaveUserDefinedFieldsRq

Request Elements


Element

Data Type

Required?

Description

Sample Data

RequestId

Int32

No

Click here for more information

1

SessionTicket

String

Yes

Click here for more information

AVqwYHFUvUT/fJlt22N2DA==

ProjectorLockSetId

Int32

No

Click here for more informatoin

3884

SaveOrders

PwsSaveUserDefinedFieldsOrder[1..100]

Yes

This structure represents the key fields associated with a user defined field


UdfType

String (1)

Yes 

The user defined field type:

"C" for Client

"E" for Engagement

"P" for Project

"A" for Role

"K" for Task

"S" for Issue

"R" for Resource

"T" for Time Card

"X" for Cost Card

P

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:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsSaveUserDefinedFields>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AVqwYHFUvUT/fJlt22N2DA==</req:SessionTicket>
            <req:ProjectorLockSetId>3884</req:ProjectorLockSetId>
            <req:SaveOrders>
               <com:PwsSaveUserDefinedFieldsOrder>
                  <com:EntityCode>P001468-001</com:EntityCode>
                  <com:UserDefinedFields>
                     <com:PwsUserDefinedFieldDetail>
                        <com:UdfName>PR-Assigned Resource</com:UdfName>
                        <com:ResourceIdentityValue>
                           <com:ResourceReferenceSystemId>IT Manager</com:ResourceReferenceSystemId>
                        </com:ResourceIdentityValue>
                     </com:PwsUserDefinedFieldDetail>
                  </com:UserDefinedFields>
               </com:PwsSaveUserDefinedFieldsOrder>
            </req:SaveOrders>
            <req:UdfType>P</req:UdfType>
         </pws:serviceRequest>
      </pws:PwsSaveUserDefinedFields>
   </soapenv:Body>
</soapenv:Envelope>

...

Panel
titlePwsSaveUserDefinedFieldsRs

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-11-06T22:29:22.7960743Z

Response Usage Example(s)

...

ErrorNumber

ErrorCode

ErrorText

10126InvalidEnumerationValueSpecifiedAn invalid value was specified for UdfType. Valid values are C, E, P, A, K, S, R, T, X.
50024EntityNotFoundError 50024, State 3: Entity not found ### [refStructureName:PwsProjectRef]