POST api/ApnInvoicing/MassDetails
Request Information
URI Parameters
None.
Body Parameters
MassInvoiceFilters| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceFrom | date |
None. |
|
| InvoiceTo | date |
None. |
|
| SiteIDs | Collection of integer |
None. |
|
| BusinessIDs | Collection of integer |
None. |
|
| FrequencyIDs | Collection of integer |
None. |
|
| IncludePayments | boolean |
None. |
|
| IncludeCosts | boolean |
None. |
|
| IncludeBillableTime | boolean |
None. |
|
| IncludeEntityCosts | boolean |
None. |
|
| IncludeEntityAdjustments | boolean |
None. |
|
| PaymentToSelection | integer |
None. |
|
| UseAllocationDate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"InvoiceFrom": "2026-11-18T13:30:46.7000906+00:00",
"InvoiceTo": "2026-11-18T13:30:46.7000906+00:00",
"SiteIDs": [
1,
2
],
"BusinessIDs": [
1,
2
],
"FrequencyIDs": [
1,
2
],
"IncludePayments": true,
"IncludeCosts": true,
"IncludeBillableTime": true,
"IncludeEntityCosts": true,
"IncludeEntityAdjustments": true,
"PaymentToSelection": 1,
"UseAllocationDate": true
}
application/xml, text/xml
Sample:
<MassInvoiceFilters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Invoicing">
<BusinessIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</BusinessIDs>
<FrequencyIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</FrequencyIDs>
<IncludeBillableTime>true</IncludeBillableTime>
<IncludeCosts>true</IncludeCosts>
<IncludeEntityAdjustments>true</IncludeEntityAdjustments>
<IncludeEntityCosts>true</IncludeEntityCosts>
<IncludePayments>true</IncludePayments>
<InvoiceFrom>2026-11-18T13:30:46.7000906+00:00</InvoiceFrom>
<InvoiceTo>2026-11-18T13:30:46.7000906+00:00</InvoiceTo>
<PaymentToSelection>1</PaymentToSelection>
<SiteIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SiteIDs>
<UseAllocationDate>true</UseAllocationDate>
</MassInvoiceFilters>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfListOfDictionaryOfStringAndObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | ApiResponse |
None. |
|
| Data | Collection of Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": {
"Success": true,
"ErrorMessage": "sample string 2"
},
"Data": [
{
"sample string 1": {},
"sample string 3": {}
},
{
"sample string 1": {},
"sample string 3": {}
}
]
}
application/xml, text/xml
Sample:
<ApiResultOfArrayOfArrayOfKeyValueOfstringanyTypeuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
<Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
</Data>
<Response>
<ErrorMessage>sample string 2</ErrorMessage>
<Success>true</Success>
</Response>
</ApiResultOfArrayOfArrayOfKeyValueOfstringanyTypeuHEDJ7Dj>