GET api/audImportBatch/{id}

Return a single value from the ImportBatches table using the primary key as ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ImportBatches Primary Key.

integer

Required

Body Parameters

None.

Response Information

Resource Description

audImportBatchDb
NameDescriptionTypeAdditional information
ImportBatchID

integer

None.

ImportFileName

string

None.

CarrierID

integer

None.

CarrierInvoiceTypeID

integer

None.

RecordCount

integer

None.

PackageCount

integer

None.

ChargeCount

integer

None.

ChargeTotal

decimal number

None.

ShipPackageCount

integer

None.

MinShipDate

date

None.

MaxShipDate

date

None.

InvoiceNumber

string

None.

InvoiceDate

date

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

Status

string

None.

FileHash

string

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "ImportBatchID": 1,
  "ImportFileName": "sample string 2",
  "CarrierID": 3,
  "CarrierInvoiceTypeID": 4,
  "RecordCount": 1,
  "PackageCount": 1,
  "ChargeCount": 1,
  "ChargeTotal": 5.0,
  "ShipPackageCount": 1,
  "MinShipDate": "2025-12-06T23:42:51.6387343+00:00",
  "MaxShipDate": "2025-12-06T23:42:51.6387343+00:00",
  "InvoiceNumber": "sample string 6",
  "InvoiceDate": "2025-12-06T23:42:51.6387343+00:00",
  "CreatedBy": 7,
  "CreatedDate": "2025-12-06T23:42:51.6387343+00:00",
  "UpdatedBy": 9,
  "UpdatedDate": "2025-12-06T23:42:51.6387343+00:00",
  "Status": "sample string 11",
  "FileHash": "sample string 12"
}

application/xml, text/xml

Sample:
<audImportBatchDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CarrierID>3</CarrierID>
  <CarrierInvoiceTypeID>4</CarrierInvoiceTypeID>
  <ChargeCount>1</ChargeCount>
  <ChargeTotal>5</ChargeTotal>
  <CreatedBy>7</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:42:51.6387343Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <FileHash>sample string 12</FileHash>
  <ImportBatchID>1</ImportBatchID>
  <ImportFileName>sample string 2</ImportFileName>
  <InvoiceDate>2025-12-06T23:42:51.6387343+00:00</InvoiceDate>
  <InvoiceNumber>sample string 6</InvoiceNumber>
  <MaxShipDate>2025-12-06T23:42:51.6387343+00:00</MaxShipDate>
  <MinShipDate>2025-12-06T23:42:51.6387343+00:00</MinShipDate>
  <PackageCount>1</PackageCount>
  <RecordCount>1</RecordCount>
  <ShipPackageCount>1</ShipPackageCount>
  <Status>sample string 11</Status>
  <UpdatedBy>9</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:42:51.6387343Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</audImportBatchDb>