Versions Compared

Key

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

...

This structure represents the unique key fields set of elements associated with identifying a project task typerole. Project task types are utilized to categorize project types. Project task types roles can be identified by an ExternalSystemIdentifier or ProjectTaskTypeUida pair of ProjectRoleIdentity and ProjectTaskIdentity, or ProjectTaskRoleUid. When specifying a PwsProjectTaskTypeRef as PwsProjectTaskRoleRef as an input to a web service, you may specify one or both of the ExternalSystemIdentifier pair and ProjectTaskTypeUid. However, if you do specify both, they must both refer to the same project task type role or the project task type role reference will not be considered valid. When a PwsProjectTaskTypeRef is PwsProjectTaskRoleRef is returned in the response to a web service, both the ExternalSystemIdentifier pair and ProjectTaskTypeUid will ProjectTaskRoleUid will be populated, and guaranteed to refer to a single project task typerole.

Format

Panel
titlePwsProjectTaskRoleRef

Elements

 

Element

Data Type

Required?

Default

Description

Sample Data

ProjectRoleIdentity

PwsProjectRoleRef

 

 

 

 

Yes when ProjectTaskRoleUid is not provided.


The identity of the project role that is associated with this project task role


ProjectTaskIdentity

PwsProjectTaskRef

 

 

 

Yes when ProjectTaskRoleUid is not provided.


The identity of the project task that is associated with this project task role.


ProjectTaskRoleId

Int32

 

 

 

 

 

No


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


ProjectTaskRoleUid

Int64

 

 

 

Yes when the pair of ProjectRoleIndentity and ProjectTaskIndentity is not provided


A unique and immutable identifier for a project task role.

1152921504608653387

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
            <sch:ProjectTaskRoleIdentity>
               <com:ProjectRoleIdentity>
                  <com:ProjectRoleUid>1152921504609594610</com:ProjectRoleUid>
               </com:ProjectRoleIdentity>
               <com:ProjectTaskIdentity>
                  <com:ProjectTaskUid>1152921504608735153</com:ProjectTaskUid>
               </com:ProjectTaskIdentity>
               <com:ProjectTaskRoleUid>1152921504608653387</com:ProjectTaskRoleUid>
            </sch:ProjectTaskRoleIdentity>
Code Block
languagexml
titleExample 02
collapsetrue
            <sch:ProjectTaskRoleIdentity>
               <com:ProjectRoleIdentity>
                  <com:ProjectRoleUid>1152921504609594610</com:ProjectRoleUid>
               </com:ProjectRoleIdentity>
               <com:ProjectTaskIdentity>
                  <com:ProjectTaskUid>1152921504608735153</com:ProjectTaskUid>
               </com:ProjectTaskIdentity>
            </sch:ProjectTaskRoleIdentity>