API Reference
Start developing plugins for BizFusion.

 
Address Type (AddressTypeDTO)

There are three address types that you can choose from:

1. Invoice & Visit
2. Invoice
3. Visit

You need to choose one of these values when you register an address for a customer.


Properties
property data type reference
AddressTypeId Int32 Primary Key
AddressTypeName String
Timestamp String


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


Enum Values
1 = InvoiceAndVisit
2 = Invoice
3 = Visit


* This object is read only.

JSON sample
{
  "AddressTypeId": 1,
  "AddressTypeName": "InvoiceAndVisit",
  "Timestamp": "AQIDDA=="
}


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.