API Reference
Start developing plugins for BizFusion.

 
Customer Group (CustomerGroupDTO)

You can segment your customers into various customer groups.
E.g. you can create the customer group: 'Dealers' for all your dealers.


Properties
property data type reference
CustomerGroupId Int32 Primary Key
CustomerGroupName String
Timestamp String


Methods
method parameters URL
Get
/api/CustomerGroup
Get
Int32 id
/api/CustomerGroup?id={value}
Get
Int32 pageIndex, Int32 recordsPerPage
/api/CustomerGroup?pageIndex={value}&recordsPerPage={value}
Post /api/CustomerGroup
Put /api/CustomerGroup?id={value}
Delete
Int32 id, String timestamp
/api/CustomerGroup?id={value}&timestamp={value}
GetByEnumId
Int32 enumId
/api/CustomerGroupSet/ByEnumId?enumId={value}
GetRecordCount
/api/CustomerGroupSet/RecordCount
GetByField
String field, String value
/api/CustomerGroupSet/ByField?field={value}&value={value}
GetAfterId
Int32 id
/api/CustomerGroupSet/AfterId?id={value}
GetBeforeId
Int32 id
/api/CustomerGroupSet/BeforeId?id={value}
GetMaxId
/api/CustomerGroupSet/MaxId


Enum Values
1 = Standard


JSON sample
{
  "Timestamp": "AQIDCA==",
  "CustomerGroupId": 1,
  "CustomerGroupName": "Standard"
}


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.