Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ModcodeHookEndpoint typeEvent / positionVariables
calendarmenuInterfaceAdds a menu item in the calendar module.
customermenuInterfaceAdds a menu item in the CRM module.
customertabInterfaceAdds a tab below every CRM object.

id: The Microbizz ID of the CRM object.

customernumber: The customer number

invoiceevent_invoice_line_changeEventCalled every time an invoice line is changed in Microbizz.object: The invoice line object that was changed as JSON.
invoicemenuInterfaceAdds a menu item in the invoice module.
invoicetabInterfaceAdds a tab below every invoice. (Only shown on posted invoices).

id: The Microbizz ID of the invoice.

invoicenumber: The invoice number.

personmenuInterfaceAdds a menu item in the person module.
persontabInterfaceAdds a tab below every person.

id: The Microbizz ID of the person.

idnumber: The ID number of the person.

prodplanmenuInterfaceAdds a menu item in the planning module.
registrationmenuInterfaceAdds a menu item in the registration module.
reportmenuInterfaceAdds a menu item in the report module.
salescontract_tabInterfaceAdds a tab below every sales contract.
salesmenuInterfaceAdds a menu item in the sales module.

id: The Microbizz ID of the sales contract.

number: The contract number.

startpageinfoboxInterfaceAdd the option to have an infobox.
startpagemenuInterfaceAdds a menu item in the start module.
supportmenuInterfaceAdds a menu item in the support module.
supporttabInterfaceAdds a tab below every support ticket.

id: The Microbizz ID of the support ticket.

number: The ticket number

todoevent_product_use_changeEventCalled every time a line of product use is changed in Microbizz.object: The productuse object that was changed as JSON.
todomenuInterfaceAdds a menu item in the task module.
todotabInterfaceAdds a tab below every task.

id: The Microbizz ID of the task.

number: The task number.

toolmenuInterfaceAdds a menu item in the equipment module.
tooltabInterfaceAdds a tab below every piece of equipment.

id: The Microbizz ID of the equipment.

serialnumber: The serial number of the equipment.

usermenuInterfaceAdds a menu item in the user module.
usertabInterfaceAdds a tab below every user tab in Microbizzobject.

id: The internal Microbizz ID of the user displayed.

usercode: The user code of the user displayed.

workplanmenuInterfaceAdds a menu item in the workplan module.

Interface endpoint

An interface endpoint is iframed into Microbizz, so the output of your script will be displayed inline in the Microbizz system. All variables are passed as GET variables. In addition to the variables mentioned in the chart above, you'll always receive a variable named sessiontoken which is the sessiontoken of the current Microbizz user. You can use the ValidateSessionToken API command to validate this session token, to ensure that your URL is actually called from the Microbizz system and not spoofed from somewhere else. You should use this call before outputting any information.

...