POST api/irs1099exports/correction?year={year}&taxProfileId={taxProfileId}

Export Correction Filing.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

Year

integer

Required

taxProfileId

Tax Profile Id

integer

Required

Body Parameters

Parameters to export

Collection of Irs1099CorrectionPOSTViewModel
NameDescriptionTypeAdditional information
ExportedEntityId

Exported Entity ID

integer

Required

Exported1099s

1099 Vendors to be corrected

Collection of Irs1099CorrectionLineItem

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "exportedEntityId": 1,
    "exported1099s": [
      {
        "exportedVendorId": 1,
        "correctionType": 2
      },
      {
        "exportedVendorId": 1,
        "correctionType": 2
      }
    ]
  },
  {
    "exportedEntityId": 1,
    "exported1099s": [
      {
        "exportedVendorId": 1,
        "correctionType": 2
      },
      {
        "exportedVendorId": 1,
        "correctionType": 2
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfIrs1099CorrectionPOSTViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.TAX.Models">
  <Irs1099CorrectionPOSTViewModel>
    <Exported1099s>
      <Irs1099CorrectionLineItem>
        <CorrectionType>2</CorrectionType>
        <ExportedVendorId>1</ExportedVendorId>
      </Irs1099CorrectionLineItem>
      <Irs1099CorrectionLineItem>
        <CorrectionType>2</CorrectionType>
        <ExportedVendorId>1</ExportedVendorId>
      </Irs1099CorrectionLineItem>
    </Exported1099s>
    <ExportedEntityId>1</ExportedEntityId>
  </Irs1099CorrectionPOSTViewModel>
  <Irs1099CorrectionPOSTViewModel>
    <Exported1099s>
      <Irs1099CorrectionLineItem>
        <CorrectionType>2</CorrectionType>
        <ExportedVendorId>1</ExportedVendorId>
      </Irs1099CorrectionLineItem>
      <Irs1099CorrectionLineItem>
        <CorrectionType>2</CorrectionType>
        <ExportedVendorId>1</ExportedVendorId>
      </Irs1099CorrectionLineItem>
    </Exported1099s>
    <ExportedEntityId>1</ExportedEntityId>
  </Irs1099CorrectionPOSTViewModel>
</ArrayOfIrs1099CorrectionPOSTViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IEnumerable`1'.

Response Information

Resource Description

IrsCompletedExportViewModel
NameDescriptionTypeAdditional information
Id

Export Id

integer

None.

Year

Tax Year

integer

None.

TIN

Federal Tax Id

string

None.

ControlCode

TCC Code, Transmit Control Code

string

None.

CreatedBy

Creator(User)

integer

None.

CreatedOn

Date of creation

date

None.

FileName

Export file name

string

None.

TotalItemCount

This is the total item count when adding all the item counts from all the detail records

integer

None.

Details

List of details(entities) for the export

Collection of IrsCompletedExportDetailViewModel

None.