POST api/invoices/{id}/proposedreclass
Get journal entry of proposed reclass
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Invoice id |
integer |
Required |
Body Parameters
Invoice update model
Collection of UpdateInvoiceItemizedLineViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
|
integer |
None. |
| ItemDescription |
|
string |
None. |
| ItemAmount |
|
decimal number |
Required |
| GlSubAccountId |
|
integer |
None. |
| Is1099 |
|
boolean |
None. |
| Irs1099AmountClassId |
|
integer |
None. |
| ChartOfAccountsId |
|
integer |
Required Range: inclusive between 1 and 2147483647 |
| GlEntityId |
|
integer |
Required Range: inclusive between 1 and 2147483647 |
| UtilityMeterId |
|
integer |
None. |
| UtilityConsumption |
|
decimal number |
None. |
| UtilityRate |
|
decimal number |
None. |
| FundId |
|
integer |
None. |
Request Formats
application/json, text/json
[
{
"id": 1,
"itemDescription": "sample string 2",
"itemAmount": 3.0,
"glSubAccountId": 1,
"is1099": true,
"irs1099AmountClassId": 1,
"chartOfAccountsId": 5,
"glEntityId": 6,
"utilityMeterId": 7,
"utilityConsumption": 8.0,
"utilityRate": 9.0,
"fundId": 1
},
{
"id": 1,
"itemDescription": "sample string 2",
"itemAmount": 3.0,
"glSubAccountId": 1,
"is1099": true,
"irs1099AmountClassId": 1,
"chartOfAccountsId": 5,
"glEntityId": 6,
"utilityMeterId": 7,
"utilityConsumption": 8.0,
"utilityRate": 9.0,
"fundId": 1
}
]
application/xml, text/xml
<ArrayOfUpdateInvoiceItemizedLineViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Invoices">
<UpdateInvoiceItemizedLineViewModel>
<ChartOfAccountsId>5</ChartOfAccountsId>
<FundId>1</FundId>
<GlEntityId>6</GlEntityId>
<GlSubAccountId>1</GlSubAccountId>
<Irs1099AmountClassId>1</Irs1099AmountClassId>
<Is1099>true</Is1099>
<ItemAmount>3</ItemAmount>
<ItemDescription>sample string 2</ItemDescription>
<UtilityConsumption>8</UtilityConsumption>
<UtilityMeterId>7</UtilityMeterId>
<UtilityRate>9</UtilityRate>
<Id>1</Id>
</UpdateInvoiceItemizedLineViewModel>
<UpdateInvoiceItemizedLineViewModel>
<ChartOfAccountsId>5</ChartOfAccountsId>
<FundId>1</FundId>
<GlEntityId>6</GlEntityId>
<GlSubAccountId>1</GlSubAccountId>
<Irs1099AmountClassId>1</Irs1099AmountClassId>
<Is1099>true</Is1099>
<ItemAmount>3</ItemAmount>
<ItemDescription>sample string 2</ItemDescription>
<UtilityConsumption>8</UtilityConsumption>
<UtilityMeterId>7</UtilityMeterId>
<UtilityRate>9</UtilityRate>
<Id>1</Id>
</UpdateInvoiceItemizedLineViewModel>
</ArrayOfUpdateInvoiceItemizedLineViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.