PUT api/Irs1099s/{id}/boxes

Update IRS 1099 boxes by vendor 1099

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

1099VendorId

integer

Required

Body Parameters

Collection of Irs1099VendorAmountClassAdjustmentViewModel
NameDescriptionTypeAdditional information
VendorAmountId

integer

Required

Range: inclusive between 1 and 2147483647

Adjustment

decimal number

Required

Range: inclusive between -99999999.99 and 99999999.99

Request Formats

application/json, text/json

Sample:
[
  {
    "vendorAmountId": 1,
    "adjustment": 1.0
  },
  {
    "vendorAmountId": 1,
    "adjustment": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfIrs1099VendorAmountClassAdjustmentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.TAX.Models">
  <Irs1099VendorAmountClassAdjustmentViewModel>
    <Adjustment>1</Adjustment>
    <VendorAmountId>1</VendorAmountId>
  </Irs1099VendorAmountClassAdjustmentViewModel>
  <Irs1099VendorAmountClassAdjustmentViewModel>
    <Adjustment>1</Adjustment>
    <VendorAmountId>1</VendorAmountId>
  </Irs1099VendorAmountClassAdjustmentViewModel>
</ArrayOfIrs1099VendorAmountClassAdjustmentViewModel>

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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.