Versions Compared

Key

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

Overview


This specifies the identity of a Contract Type. Contract Types can be identified by a ContractTypeName or ContractTypeUid. When specifying an 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


Panel
titlePwsContractTypeRef
  • PwsContractTypeRef
    • ContractTypeId: Int32
    • ContractTypeName: String
    • ContractTypeUid: Int64

Elements


Element

Data Type

Required?

Default

Description

Sample Date

ContractTypeId

Int32

 

 

 

ContractTypeName

String

 

 

 

ContractTypeUid

Int64

 

 

 





ContractTypeName

String





ContractTypeUid

Int64





Usage Example(s)


Code Block
languagexml
titleExample 01 - without Uid
collapsetrue
               <PwsContractLineItemRef>
                  <ContractLineItemCode>P001395-CL1</ContractLineItemCode>
                  <!--ContractLineItemId>?</ContractLineItemId-->
                  <!--ContractLineItemUid>?</ContractLineItemUid-->
               </PwsContractLineItemRef>
Code Block
languagexml
titleExample 02 - with Uid
collapsetrue
              <PwsContractLineItemRef>
                  <ContractLineItemCode>P001395-CL1</ContractLineItemCode>
                  <!--ContractLineItemId>?</ContractLineItemId-->
                  <ContractLineItemUid>1152921504607083377</ContractLineItemUid>
               </PwsContractLineItemRef>