Versions Compared

Key

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

Overview


This structure is used to uniquely identify represents the unique key fields associated with identifying a project. Projects can be identified by ProjectCode or ProjectUid. When specifying PwsProjectDetail as a PwsProjectRef as an input to a web service, you may specify one or both the ProjectCode and/or ProjectUid and ClientNumber. However, if you do specify both, they must both refer to the same client project or the client project reference will not be considered valid. When PwsClientRef is a PwsProjectRef is returned in the response to a web service, both the ClientUid and ClientNumber ProjectCode and ProjectUid will be populated, and guaranteed to refer to a single client.project.

Format


Panel
titlePwsProjectRef
  • PwsProjectRef
    • ProjectCode: String (24)
    • ProjectId: Int32
    • ProjectUid: Int64

Elements


Element

Data Type

Required?

Description

Sample Data

ProjectCode

String (24)

One of ProjectCode or ProjectUid is required

The project code is a unique identifier for a project.

P001395-001

ProjectId

Int32

No

The project Id is a unique identifier for a Project. For internal use only.


ProjectUid

Int64

See ProjectCode

A unique and immutable identifier for a project.

1152921504607412208

Usage Example(s)


Code Block
languagexml
titleExample 01 - ProjectCode Only
collapsetrue
               <com:PwsProjectRef>
                  <com:ProjectCode>P001395-001</com:ProjectCode>
               </com:PwsProjectRef>


Code Block
languagexml
titleExample 02 - ProjectCode and ProjectUid
collapsetrue
               <com:PwsProjectRef>
                  <com:ProjectCode>P001395-001</com:ProjectCode>
                  <com:ProjectUid>1152921504607412209</com:ProjectUid>
               </com:PwsProjectRef>