Cmdlets for TaxJar

Build 23.0.8839

QueryResults Output Object (Invoke-TaxJar Cmdlet)

The results of the query.

Syntax

PSObject QueryResults

Remarks

When executing a search, the results will be returned to the pipeline in a PSObject for each row, one row at a time. Each row object contains the columns of the table with their corresponding values. The row object also contains the table and the connection, which makes it easy to input these values to other cmdlets through a pipeline. Below is an example of a row object in JSON form:

PS C:\> $conn  = Connect-TaxJar -APIKey "3bb04218ef8t80efdf1739abf7257144"
PS C:\> $row = Select-TaxJar -Connection $conn -Table "Orders" -Columns (TransactionID, UserID)  -Where "TransactionID = '123'" | select -first 1
PS C:\> $row | ConvertTo-Json
{
  "Connection":  {

  },
    "Table":  "Orders",
    "Columns":  [

    ],
    "TransactionID":  "MyTransactionID",
    "UserID":  "MyUserID"
}

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839