PINBatches

PINBatches_Create

Input

  • ProductID As Integer – Rev.io Product ID to be used for the PINs generated.
  • PINLength As Integer – PIN Length to be used for the PINs generated.
  • Quantity As Integer – Quantity of PINs to be generated for the new batch.

Output

  • ID As Integer – ID of the new PIN Batch.

PINBatches_Query

Input

  • ID As Integer – The ID of the PIN Batch to be queried.

Output

  • PINBatch – PIN Batch object.
    • ID As Integer – Rev.io PIN Batch ID.
    • CreatedBy As Integer – Rev.io User that created the PIN Batch.
    • ExpirationDate As Date – Expiration date of the PIN Batch.
    • LockedFlag As Integer – Indicates whether the PIN Batch is locked for claims.
    • PINTypeID As Integer – The PIN Batch PIN Type ID.
    • PINLength As Integer – PIN Length of the PIN Batch.
    • POReference As Integer – PO Reference associated with the PIN Batch.
    • ProductID As Integer – Rev.io Product ID associated with the PIN Batch.
    • Quantity As Integer – Quantity of PINs on the PIN Batch.