RegisterCall
Registers a raw call in the Microbizz system. A raw call is a call which didn't originate from Microbizz
Input
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
Input
Output
calls | collection[call] | A collection of pending calls or an empty collection. |
EndCall
Ends a call in Microbizz.
Input
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.
Input
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.
Input
Output
events | [maevent] | The marketing events |
GetProductStates
Get all product use statuses and budget areas.
Input
Output
GetProductUnits
Get all product units.
Input
Output
CreateUpdateProductUnit
Update product unit, or create new product unit.
Input
Output
GetSalesContractsByLastChange
Get all contracts / quotations that have changed since a given date.
Input
changedate | date | - |
changetime | time |
|
Output
salescontracts | collection[salescontract] |
|
GetSalesContractLinesByLastChange
Get all contract/quotation lines that have changed since a given date.
Input
changedate | date | - |
changetime | time |
|
Output
lines | collection[salescontractline] |
|
CreateUpdateSalesContract
Create a new quotation, or update an existing quotation.
Input
salescontract | salescontract |
|
Output
salescontract | salescontract | The new or updated quotation |
CreateUpdateSalesContractLine
Create a line for a quotation, or update an existing line.
Input
Output
line | salescontractline | The new or updated line |
AddFavoriteProduct
Add a product number to the list of favorite products.
Input
productnumber | string | A product number |
Output
RemoveFavoriteProduct
Remove a product number from the list of favorite products.
Input
productnumber | string | A product number |
Output
SetFavoriteProducts
Set the list of favorite products.
Input
favorites | collection[string] | A list of product numbers |
Output
GetFavoriteProducts
Get the list of favorite products.
Input
Output
favorites | collection[string] | A list of product numbers |