API Reference
Start developing plugins for BizFusion.

 
Brand (BrandDTO)

Use brands to categorize your products.
This enables you to quickly find them later on.

Note, brands are not required on products.


Properties
property data type reference
BrandId Int32 Primary Key
BrandName String
Timestamp String


Methods
method parameters URL
Get
/api/Brand
Get
Int32 id
/api/Brand?id={value}
Get
Int32 pageIndex, Int32 recordsPerPage
/api/Brand?pageIndex={value}&recordsPerPage={value}
Post /api/Brand
Put
Int32 id, BrandDTO record
/api/Brand?id={value}
Delete
Int32 id, String timestamp
/api/Brand?id={value}&timestamp={value}
GetRecordCount
/api/BrandSet/RecordCount
GetByField
String field, String value
/api/BrandSet/ByField?field={value}&value={value}
GetAfterId
Int32 id
/api/BrandSet/AfterId?id={value}
GetBeforeId
Int32 id
/api/BrandSet/BeforeId?id={value}
GetMaxId
/api/BrandSet/MaxId


JSON sample
{
  "Timestamp": "AQIDEQ==",
  "BrandId": 1,
  "BrandName": "Sony"
}


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.