/
PwsContractTypeRef

PwsContractTypeRef

Overview


This specifies the identity of a contract type. Contract Types can be identified by a ContractTypeName or ContractTypeUid. When specifying a PwsContractTypeRef as an input to a web service, you may specify one or both the ContractTypeName and ContractTypeUid. However, if you do specify both they must both refer to the same contract type or the contract type reference will not be considered valid. When a PwsContractTypeRef  is returned in the response to a web service, both the ContractTypeName and ContractTypeUid will be populated, and guaranteed to refer to a single contract type.

Format


PwsContractTypeRef
  • PwsContractTypeRef
    • ContractTypeId: Int32
    • ContractTypeName: String (50)
    • ContractTypeUid: Int64

Elements


Element

Data Type

Required?

Description

Sample Data

ContractTypeId

Int32

No

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


ContractTypeName

String (50)

One of ContractTypeName or ContractTypeUid is required

The contract type name is a unique identifier for a contract type.

Retainer/Service Contract

ContractTypeUid

Int64

See ContractTypeName

A unique and immutable Id for a contract type.

1152921504606848637


Usage Example(s)


Example 01
                          <b:ContractTypeIdentity>
                              <b:ContractTypeId i:nil="true"/>
                              <b:ContractTypeName>Retainer/Service Contract</b:ContractTypeName>
                              <b:ContractTypeUid>1152921504606848637</b:ContractTypeUid>
                           </b:ContractTypeIdentity>



Related content

PwsContractLineItemRef
PwsContractLineItemRef
More like this
PwsContractLineItemDetail
PwsContractLineItemDetail
Read with this
PwsEngagementTypeRef
PwsEngagementTypeRef
More like this
PwsSaveContractLineItem
PwsSaveContractLineItem
Read with this
PwsUserTypeRef
PwsUserTypeRef
More like this
PwsResourceTypeRef
PwsResourceTypeRef
More like this