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 4 Next »

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


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

Elements


Element

Data Type

Description

Sample Date

ContractTypeId

Int32

The Contract Type Id is a unique identifier for a Contract Type. For internal use only.


ContractTypeName

String

The Contract Type Name is a unique identifier for a Contract Type.

P001395-CL1

ContractTypeUid

Int64

A unique and immutable Id for a Contract Type.

1152921504607083377

Usage Example(s)


Example 01 - without Uid
               <PwsContractLineItemRef>
                  <ContractLineItemCode>P001395-CL1</ContractLineItemCode>
                  <!--ContractLineItemId>?</ContractLineItemId-->
                  <!--ContractLineItemUid>?</ContractLineItemUid-->
               </PwsContractLineItemRef>
Example 02 - with Uid
              <PwsContractLineItemRef>
                  <ContractLineItemCode>P001395-CL1</ContractLineItemCode>
                  <!--ContractLineItemId>?</ContractLineItemId-->
                  <ContractLineItemUid>1152921504607083377</ContractLineItemUid>
               </PwsContractLineItemRef>
  • No labels