GET api/irs1099exports/correctionSearch?Year={Year}&TaxProfileId={TaxProfileId}

Get entities ready to correct for the tax year

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Year

Year for the export

integer

Range: inclusive between 0 and 2147483647

TaxProfileId

Tax Profile Id

integer

Range: inclusive between 0 and 2147483647

Body Parameters

None.

Response Information

Resource Description

Collection of Irs1099CorrectionGETViewModel
NameDescriptionTypeAdditional information
ExportedEntityId

Exported Entity ID

integer

None.

EntityName

Entity Name

string

None.

TaxId

Entity's Tax Id

string

None.

EntityNumber

Entity Number

string

None.

PaymentTotal

Payment Total for this entity

decimal number

None.

ItemCount

Count of vendors

integer

None.

TypeOfReturn

string

None.

Exported1099s

1099 Vendors to be corrected

Collection of Irs1099CorrectionLineItem

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "exportedEntityId": 1,
    "entityName": "sample string 2",
    "taxId": "sample string 3",
    "entityNumber": "sample string 4",
    "paymentTotal": 5.0,
    "itemCount": 6,
    "typeOfReturn": "sample string 7",
    "exported1099s": [
      {
        "exportedVendorId": 1,
        "correctionType": 2
      },
      {
        "exportedVendorId": 1,
        "correctionType": 2
      }
    ]
  },
  {
    "exportedEntityId": 1,
    "entityName": "sample string 2",
    "taxId": "sample string 3",
    "entityNumber": "sample string 4",
    "paymentTotal": 5.0,
    "itemCount": 6,
    "typeOfReturn": "sample string 7",
    "exported1099s": [
      {
        "exportedVendorId": 1,
        "correctionType": 2
      },
      {
        "exportedVendorId": 1,
        "correctionType": 2
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfIrs1099CorrectionGETViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.TAX.Models">
  <Irs1099CorrectionGETViewModel>
    <EntityName>sample string 2</EntityName>
    <EntityNumber>sample string 4</EntityNumber>
    <Exported1099s>
      <Irs1099CorrectionLineItem>
        <CorrectionType>2</CorrectionType>
        <ExportedVendorId>1</ExportedVendorId>
      </Irs1099CorrectionLineItem>
      <Irs1099CorrectionLineItem>
        <CorrectionType>2</CorrectionType>
        <ExportedVendorId>1</ExportedVendorId>
      </Irs1099CorrectionLineItem>
    </Exported1099s>
    <ExportedEntityId>1</ExportedEntityId>
    <ItemCount>6</ItemCount>
    <PaymentTotal>5</PaymentTotal>
    <TaxId>sample string 3</TaxId>
    <TypeOfReturn>sample string 7</TypeOfReturn>
  </Irs1099CorrectionGETViewModel>
  <Irs1099CorrectionGETViewModel>
    <EntityName>sample string 2</EntityName>
    <EntityNumber>sample string 4</EntityNumber>
    <Exported1099s>
      <Irs1099CorrectionLineItem>
        <CorrectionType>2</CorrectionType>
        <ExportedVendorId>1</ExportedVendorId>
      </Irs1099CorrectionLineItem>
      <Irs1099CorrectionLineItem>
        <CorrectionType>2</CorrectionType>
        <ExportedVendorId>1</ExportedVendorId>
      </Irs1099CorrectionLineItem>
    </Exported1099s>
    <ExportedEntityId>1</ExportedEntityId>
    <ItemCount>6</ItemCount>
    <PaymentTotal>5</PaymentTotal>
    <TaxId>sample string 3</TaxId>
    <TypeOfReturn>sample string 7</TypeOfReturn>
  </Irs1099CorrectionGETViewModel>
</ArrayOfIrs1099CorrectionGETViewModel>