API Reference
Start developing plugins for BizFusion.

 
Credit Note Type (CreditNoteTypeDTO)

You can create Customer and Vendor Credit Notes.
Customer Credit Notes are linked to invoices.
Vendor Credit Notes are linked to purchase invoices.


Properties
property data type reference
CreditNoteTypeId Int32 Primary Key
CreditNoteTypeName String
Timestamp String


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


Enum Values
1 = CustomerCredit
2 = VendorCredit


* This object is read only.

JSON sample
{
  "Timestamp": "AQIDIQ==",
  "CreditNoteTypeId": 1,
  "CreditNoteTypeName": "CustomerCredit"
}


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.