RegisterCall
Registers a raw call in the Microbizz system. A raw call is a call which didn't originate from Microbizz
phonenumber | string | The phone number called or called from |
incoming | boolean | If true, then this is treated as an incoming call, otherwise an outgoing call. |
calldate | date | The date of the call |
calltime | time | The time of the call |
duration | number | The duration of the call in minutes. |
Output
GetMyPendingCalls
Get all pending calls of the current user
Output
calls | collection[call] | A collection of pending calls or an empty collection. |
EndCall
Ends a call in Microbizz.
callid | number | Call ID of the call to end |
duration | number | Duration of the call in minutes. |
answer | answer | If a question form was requested on call end, the answer can be provided here. |
note | string | An optional note to attach to the call. (A summary of the call) |
Output
CreateCall
Creates a new call in Microbizz.
call | call | Even though the ID field must be provided it is ignored. |
userid | number | A user ID indicating whom expected to make the call. If this is left out, the current user is assumed. |
Output
call | call | The call as created |
GetMAEvents
Get all MA events in Microbizz.
Output
events | [maevent] | The marketing events |
GetProductStates
Get all product use statuses and budget areas.
Output
GetProductUnits
Get all product units.
Output
CreateUpdateProductUnit
Update product unit, or create new product unit.
Output
GetSalesContractsByLastChange
Get all contracts / quotations that have changed since a given date.
changedate | date | - |
changetime | time |
|
Output
salescontracts | collection[salescontract] |
|
GetSalesContractLinesByLastChange
Get all contract/quotation lines that have changed since a given date.
changedate | date | - |
changetime | time |
|
Output
lines | collection[salescontractline] |
|
CreateUpdateSalesContract
Create a new quotation, or update an existing quotation.
salescontract | salescontract |
|
Output
salescontract | salescontract | The new or updated quotation |
CreateUpdateSalesContractLine
Create a line for a quotation, or update an existing line.
Output
line | salescontractline | The new or updated line |
AddFavoriteProduct
Add a product number to the list of favorite products.
productnumber | string | A product number |
Output
RemoveFavoriteProduct
Remove a product number from the list of favorite products.
productnumber | string | A product number |
Output
SetFavoriteProducts
Set the list of favorite products.
favorites | collection[string] | A list of product numbers |
Output
GetFavoriteProducts
Get the list of favorite products.
Output
favorites | collection[string] | A list of product numbers |
AddFileToSalesContract
Add a file to a salescontract (quotation).
contractid | number | The ID of the salescontract to add the file to. |
filename | string | The name of the file, eg. “MyDocument.PDF” |
filedata | binary | A binary stream. base64_encode(Required) |
title | string | A file title (not a file name) |
folder | string | The path of the folder, eg. "FilesFromAPI/Diagrams" |
Output