API Reference
Start developing plugins for BizFusion.

 
Variant Value (VariantValueDTO)

A variant consists of one or more variant values.
E.g. the variant 'Size' contains the values: 'Small, Medium, Large and XL'.


Properties
property data type reference
VariantValueId Int32 Primary Key
VariantId Int32 VariantDTO
Value String
Timestamp String


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


JSON sample
{
  "VariantValueId": 5,
  "VariantId": 1,
  "Value": "XXL",
  "Timestamp": "AQIDFQ=="
}


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.