GET v1/KeyInvoiceItems?branchFavourites={branchFavourites}

Returns a list of KeyInvoiceItems.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branchFavourites

branchFavourites=true : returns only the branch favourite invoice items branchFavourites=false : returns full list of invoice items under the company level

boolean

Default value is False

Body Parameters

None.


Response Information

Resource Description

Returns below in JSON format

Collection of KeyInvoiceItemListViewModel
NameDescriptionTypeAdditional information
TotalNumber

integer

None.

KeyInvoiceItems

Collection of KeyInvoiceItemViewModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "totalNumber": 1,
    "keyInvoiceItems": [
      {
        "keyInvoiceItemCode": 1,
        "clientInvoiceItemCode": 2,
        "description": "sample string 3",
        "cost": 4.1
      },
      {
        "keyInvoiceItemCode": 1,
        "clientInvoiceItemCode": 2,
        "description": "sample string 3",
        "cost": 4.1
      }
    ]
  },
  {
    "totalNumber": 1,
    "keyInvoiceItems": [
      {
        "keyInvoiceItemCode": 1,
        "clientInvoiceItemCode": 2,
        "description": "sample string 3",
        "cost": 4.1
      },
      {
        "keyInvoiceItemCode": 1,
        "clientInvoiceItemCode": 2,
        "description": "sample string 3",
        "cost": 4.1
      }
    ]
  }
]