Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Overview


This structure represents the unique key fields associated with identifying a resource types. Resource types. Resources types enable an organization to easily set up and classify resources. Resource types can be identified by ResourceTypeCode, ResourceTypeName or ResourceTypeUid. When specifying a PwsResourceTypeRef as an input to a web service, you may specify one or  all three identifiers. However, if you do specify multiple identifiers, they must both refer to the same resource type or the resource type reference will not be considered valid. When a PwsResourceTypeRef is returned in the response to a web service, the ResourceTypeCode, ResourceTypeName and ResourceTypeUidwill be populated, and guaranteed to refer to a single resource type.

Format


PwsResourceTypeRef
  • PwsResourceTypeRef
    • ResourceTypeCode: String
    • ResourceTypeId: Int32
    • ResourceTypeName: String
    • ResourceTypeUid: Int64

Elements


Element

Data Type

Required?

Description

Sample Data

ResourceTypeCode

String

One of ResourceTypeCode, ResourceTypeName or ResourceTypeUid is required

The resource type code is a unique identifier for a resource type

FTE

ResourceTypeId

Int32

No

The resource type Id is a unique identifier for a resource type. For internal use only.


ResourceTypeName

String

See ResourceTypeCode

The resource type name is a unique identifier for a resource type

Full Time Employee

ResourceTypeUid

Int64

See ResoruceTypeCode

The resource type Uid is a unique and immutable identifier for a resource type

1152921504606847348


Usage Example(s)


Example 01
                          <b:ResourceTypeIdentity>
                              <b:ResourceTypeCode>FTE</b:ResourceTypeCode>
                              <b:ResourceTypeId i:nil="true"/>
                              <b:ResourceTypeName>Full Time Employee</b:ResourceTypeName>
                              <b:ResourceTypeUid>1152921504606847348</b:ResourceTypeUid>
                           </b:ResourceTypeIdentity>
  • No labels