Versions Compared

Key

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

...

This structure is used to uniquely identify a cost card. Cost cards can be identified by ClientNumber or ClientUid. When specifying a PwsClientRef as an input to a web service, you may specify one or both the ClientNumber and ClientUid. However, if you do specify both they must both refer to the same client or the client reference will not be considered valid. When a PwsClientRef is returned in the response to a web service, both the ClientNumber and ClientUid will be populated, and guaranteed to refer to a single clientmust be identified by CostCardUid – there are no alternative means of identification.

Format


Panel
titlePwsCostCardRef
  • PwsCostCardRef
    • CostCardId: Int32
    • CostCardUid: Int64
    • ReferenceId: String
    • Timestamp: String

Elements


Element

Data Type

Required?

Description

Sample Data

CostCardId

Int32

No

The cost card Id is a unique identifier for a cost card. For internal use only.

 

 


CostCardUid

Int64

Yes 

The cost card Uid is a unique and immutable identifier for a cost card.

 
1152921504614515240

ReferenceId

String

No 

Reference id (used to affiliate PwsSaveCostCardResult records with associated PwsCostCardDetail records).

 


TimestampStringNoThis is a Base64 encoded timestamp optionally utilized for cost card locking.

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                        <CostCardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <CostCardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504614515240</CostCardUid>
                        <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>

...