API Reference
Start developing plugins for BizFusion.

 
Invoice Address (InvoiceAddressDTO)

You can add an invoice and a shipping address to an invoice.
Invoice addresses are optional.

Note, you can only use address types: 'Invoice' and 'Visit'.
Use address type 'Invoice' to specify the invoice address.
Use address type 'Visit' to specify the shipping address.


Properties
property data type reference
Timestamp String
InvoiceAddressId Int32 Primary Key
StreetName String
BuildingNumber String
Zipcode String
City String
Province String
CountryId Int32 CountryDTO
InvoiceId Int32 InvoiceDTO
AddressTypeId Int32 AddressTypeDTO


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


JSON sample
{
  "InvoiceAddressId": 1,
  "StreetName": "Wayne Manor",
  "BuildingNumber": "1",
  "Zipcode": "1122WM",
  "City": "Gotham City",
  "Province": "New York",
  "CountryId": 1,
  "InvoiceId": 1,
  "AddressTypeId": 2,
  "Timestamp": "AQIDGQ=="
}


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.