POST api/invoice/totals

Request Information

URI Parameters

None.

Body Parameters

InvoiceFilterDataContract
NameDescriptionTypeAdditional information
LiableAccountId

integer

None.

RecipientAccountId

integer

None.

LiableGroupId

integer

None.

RecipientGroupId

integer

None.

Types

Collection of InvoiceType

None.

Statuses

Collection of InvoiceStatusType

None.

ToDate

date

None.

Ascending

boolean

None.

Order

InvoiceOrder

None.

SearchCriteria

InvoiceSearchCriteriaDataContract

None.

Request Formats

application/json, text/json

Sample:
{
  "LiableAccountId": 1,
  "RecipientAccountId": 1,
  "LiableGroupId": 1,
  "RecipientGroupId": 1,
  "Types": [
    0,
    0
  ],
  "Statuses": [
    0,
    0
  ],
  "ToDate": "2018-11-14T15:06:23.2409001Z",
  "Ascending": true,
  "Order": 0,
  "SearchCriteria": {
    "SearchTerm": "sample string 1",
    "SubTypes": [
      0,
      0
    ],
    "ExcludeSubTypes": [
      0,
      0
    ]
  }
}

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 'InvoiceFilterDataContract'.

Response Information

Resource Description

PagedCollectionDataContractOfInvoiceDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of InvoiceDataContract

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Invoice' with type 'Dezrez.Core.DataContracts.Accounts.Invoices.Query.InvoiceDataContract'. Path 'Collection[0].Allocations[0].Allocations[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Invoice' with type 'Dezrez.Core.DataContracts.Accounts.Invoices.Query.InvoiceDataContract'. Path 'Collection[0].Allocations[0].Allocations[0]'.