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 fields associated with a user defined value

Format


PwsCardUdfValue
  • PwsCardUdfValue
    • BooleanValue: Boolean
    • DateValue: DateTime
    • IntegerValue: Int32
    • TextValue: String (255)
    • RelationValue: PwsRelationValue
    • NumericValue: Double

Elements


Element

Data Type

Description

Sample Data

BooleanValue

Boolean

The value of a boolean type user defined field (i.e. true or false)

true

DateValue

DateTime

The value of a date type user defined field

2018-01-09

IntegerValue

Int32

The value of an integer type user defined field

1

TextValue

String (255)

The value of a text type user defined field

Dinner

RelationValue

PwsRelationValue

The value of a relationship type user defined field. Relationship type user defined fields are designed to integrate with another system (i.e. Zendesk or Jira) and are only applicable to time cards and cost cards.


NumericValue

Double

The value of a numeric type user defined field

2.1

Usage Example(s)


Example 01
                <a:Udf1Value xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:BooleanValue i:nil="true"/>
                     <b:DateValue i:nil="true"/>
                     <b:IntegerValue i:nil="true"/>
                     <b:TextValue i:nil="true"/>
                     <b:RelationValue>
                        <b:CodeValue>SD-23</b:CodeValue>
                        <b:TextValue>2 laptops for demo</b:TextValue>
                        <b:UidValue>10022</b:UidValue>
                     </b:RelationValue>
                     <b:NumericValue i:nil="true"/>
                  </a:Udf1Value>
  • No labels