API Reference
Start developing plugins for BizFusion.

 
Invoice Variant (InvoiceVariantDTO)

The Invoice Variant records contain the product options that the customer selected.
E.g. if the customer ordered a T-Shirt in size XL, then Invoice Variant will contain variant value: XL.

Invoice Variant is part of the following relationship:
Invoice > Invoice Line > Invoice Variant > Variant Value > Variant


Properties
property data type reference
InvoiceVariantId Int32 Primary Key
InvoiceLineId Int32 InvoiceLineDTO
VariantValueId Int32 VariantValueDTO
Timestamp String


Methods
method parameters URL
Get
/api/InvoiceVariant
Get
Int32 id
/api/InvoiceVariant?id={value}
Get
Int32 pageIndex, Int32 recordsPerPage
/api/InvoiceVariant?pageIndex={value}&recordsPerPage={value}
GetRecordCount
/api/InvoiceVariantSet/RecordCount
GetByField
String field, String value
/api/InvoiceVariantSet/ByField?field={value}&value={value}
GetAfterId
Int32 id
/api/InvoiceVariantSet/AfterId?id={value}
GetBeforeId
Int32 id
/api/InvoiceVariantSet/BeforeId?id={value}
GetMaxId
/api/InvoiceVariantSet/MaxId




General Info

- Numbers should be in English format: 124.99
- Dates look like: 2014-12-31T00:00:00
- Time information is ignored.
- Concurrency is handled through timestamps

Create Record (POST)

- Primary keys are not required when doing a post.
- Timestamps are not required when doing a post.
- Provide the JSON record in the body of the post request.

Update Record (PUT)

- Timestamps are required.
- Provide the JSON record in the body of the put request.

Delete Record (DELETE)

- Primary key and Timestamp are required.