Assetti supports process optimization and automation through integration with many systems. We have published a RESTful API allowing customers and third parties to develop an automation process with Assetti, using their own resources.
Assetti's RESTful API documentation: https://app.assetti.pro/api/ui/
To be able to use our API, a token is required. The API token can be generated in Assetti for all our users with following steps:
- As an administrator, open your user menu from your username in the top right corner,
- Select API management from the dropdown menu,
- Click Add button on top right corner in API management view,
- Click on the Pencil icon for token table to edit information,
- Add Name and Description of your integration,
- Click Save, you will see the API token is automatically generated. Notice: you can generate multiple tokens to use for different purposes,
- Open Assetti API link, click on Authorise button on top control bar of the page,
- Copy the generated token from Assetti and paste it as api_key to authorisation pop-up in Assetti API,
- Click Authorise button to complete.
After authorisation you can start explore our API. We provide the API in almost 40 languages including Java, PHP, Android, Obj-C, etc. If you wish to receive any particular library of Assetti API, please contact our support team.
Below you will find a full working example code using our RESTful API to create a new property with basic background information:
// add your preferred language among options[EN, FI, FR, DE, SV, NL, NO, DA]
locale = EN;
// main background data of the property
{
"name": "Apartment Helsinki",
"businessId": "1234567-8",
"commercialName": "Center Apartment Helsinki",
"costCenterId": "1001",
"description": "Residential building located in ...",
"propertyTypeSetting": "Apartment building",
"propertyLegalFormSetting": "Limited company",
"propertyAssetTypeSetting": "Gross rent",
"propertyAssetClassSetting": "Apartment",
// main contact of the property
"mainContact": {
"uuid": "DAB2F2B3-EE40-45CB-8E01-1AC562179851",
"email": "matti@email.com",
"firstName": "Matti",
"lastName": "Jones",
"phone": "0400123456",
"title": "Tenant",
// location of the property
"address": {
"streetAddress": "Sankaritie 5",
"city": "Helsinki",
"country": "Finland",
"postCode": "00123",
}
0 Comments