POST accounting/receivables/{year}/{organizationalunit}/{category}/{id}/items/batch
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
year | integer |
Required |
|
organizationalunit | integer |
Required |
|
category | integer |
Required |
|
id | integer |
Required |
Body Parameters
Collection of PostItemName | Description | Type | Additional information |
---|---|---|---|
Document | DocumentID |
None. |
|
ItemID | integer |
None. |
|
Order | integer |
None. |
|
Description | string |
None. |
|
InvoiceDescription | string |
None. |
|
COA | string |
None. |
|
PR | string |
None. |
|
Positive | integer |
None. |
|
Amount | decimal number |
None. |
|
CurrencyID | integer |
None. |
|
CurrencyAmount | decimal number |
None. |
|
PartnerID | integer |
None. |
|
AnalyticsID | integer |
None. |
|
AnalyticsName | string |
None. |
|
AccountSettings | AccountSettings |
None. |
|
CostCenterID | integer |
None. |
|
TaxID | integer |
None. |
|
PostIndicator | string |
None. |
|
IsTaxable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Document": { "Year": 1, "OrganizationalUnitID": 1, "CategoryID": 1, "ID": 1 }, "ItemID": 1, "Order": 2, "Description": "sample string 3", "InvoiceDescription": "sample string 4", "COA": "sample string 5", "PR": "sample string 6", "Positive": 7, "Amount": 8.0, "CurrencyID": 9, "CurrencyAmount": 10.0, "PartnerID": 11, "AnalyticsID": 12, "AnalyticsName": "sample string 13", "AccountSettings": { "ID": "sample string 1", "Name": "sample string 2", "AnalyticsType": "sample string 3", "PR": "sample string 4", "TrackOpen": true, "TrackCostCenter": true }, "CostCenterID": 14, "TaxID": 15, "PostIndicator": "sample string 16", "IsTaxable": true }, { "Document": { "Year": 1, "OrganizationalUnitID": 1, "CategoryID": 1, "ID": 1 }, "ItemID": 1, "Order": 2, "Description": "sample string 3", "InvoiceDescription": "sample string 4", "COA": "sample string 5", "PR": "sample string 6", "Positive": 7, "Amount": 8.0, "CurrencyID": 9, "CurrencyAmount": 10.0, "PartnerID": 11, "AnalyticsID": 12, "AnalyticsName": "sample string 13", "AccountSettings": { "ID": "sample string 1", "Name": "sample string 2", "AnalyticsType": "sample string 3", "PR": "sample string 4", "TrackOpen": true, "TrackCostCenter": true }, "CostCenterID": 14, "TaxID": 15, "PostIndicator": "sample string 16", "IsTaxable": true } ]
text/xml
Sample:
<ArrayOfPostItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common.Documents"> <PostItem> <AccountSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d3p1:AnalyticsType>sample string 3</d3p1:AnalyticsType> <d3p1:ID>sample string 1</d3p1:ID> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:PR>sample string 4</d3p1:PR> <d3p1:TrackCostCenter>true</d3p1:TrackCostCenter> <d3p1:TrackOpen>true</d3p1:TrackOpen> </AccountSettings> <Amount>8</Amount> <AnalyticsID>12</AnalyticsID> <AnalyticsName>sample string 13</AnalyticsName> <COA>sample string 5</COA> <CostCenterID>14</CostCenterID> <CurrencyAmount>10</CurrencyAmount> <CurrencyID>9</CurrencyID> <Description>sample string 3</Description> <Document xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:CategoryID>1</d3p1:CategoryID> <d3p1:ID>1</d3p1:ID> <d3p1:OrganizationalUnitID>1</d3p1:OrganizationalUnitID> <d3p1:Year>1</d3p1:Year> </Document> <InvoiceDescription>sample string 4</InvoiceDescription> <IsTaxable>true</IsTaxable> <ItemID>1</ItemID> <Order>2</Order> <PR>sample string 6</PR> <PartnerID>11</PartnerID> <Positive>7</Positive> <PostIndicator>sample string 16</PostIndicator> <TaxID>15</TaxID> </PostItem> <PostItem> <AccountSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d3p1:AnalyticsType>sample string 3</d3p1:AnalyticsType> <d3p1:ID>sample string 1</d3p1:ID> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:PR>sample string 4</d3p1:PR> <d3p1:TrackCostCenter>true</d3p1:TrackCostCenter> <d3p1:TrackOpen>true</d3p1:TrackOpen> </AccountSettings> <Amount>8</Amount> <AnalyticsID>12</AnalyticsID> <AnalyticsName>sample string 13</AnalyticsName> <COA>sample string 5</COA> <CostCenterID>14</CostCenterID> <CurrencyAmount>10</CurrencyAmount> <CurrencyID>9</CurrencyID> <Description>sample string 3</Description> <Document xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:CategoryID>1</d3p1:CategoryID> <d3p1:ID>1</d3p1:ID> <d3p1:OrganizationalUnitID>1</d3p1:OrganizationalUnitID> <d3p1:Year>1</d3p1:Year> </Document> <InvoiceDescription>sample string 4</InvoiceDescription> <IsTaxable>true</IsTaxable> <ItemID>1</ItemID> <Order>2</Order> <PR>sample string 6</PR> <PartnerID>11</PartnerID> <Positive>7</Positive> <PostIndicator>sample string 16</PostIndicator> <TaxID>15</TaxID> </PostItem> </ArrayOfPostItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |