SystemX -> Frontu (Clients + Objects)
6min
clients + objects client entity which saves all the client information workspace a particular managed facility, place, or equipment if one site contains several facilities, each of them is registered as a separate object for example, you have a client which is “ uab client ”, which has some additional data like company tax/vat id, code/e i n number, address, city, phone number, email and etc for example, workspace has some information too, like workspace name which for example are “ shop ”, address, customer (which means client), serial number, etc so as you can see client is “ uab client ” and it has a workspace where the task can be created, for example in the workspace “ shop ” endpoints to use for the clients and objects first of all, before creating an object you need to create a client so you need to use this endpoint https //developers frontu com/docs/tasker api v2/tasker swagger json/paths/ 1client 1api 1v2 1clients/post in this case fill all needed information like the title client name, address client address, etc for the next steps you need to create object https //developers frontu com/docs/tasker api v2/tasker swagger json/paths/ 1client 1api 1v2 1workspaces/post in this case fill all needed information like title, client, which you created before (you need to pass the guid of the client) real world data mapping examples of most common cases first of all, you need to create clients using post method { "title" "uab client", "address" "4759 chandler drive", "city" "joplin", "phone" 865744567, "email" "client\@gmail com", "companyvatcode" "12345678", "companycode" "3546780", "deleted" false, "clienttype" 2, "systemid" "client1" } important the title is a required field then you will get a response { "version" 1622720578, "title" "uab client", "address" "4759 chandler drive", "city" "joplin", "phone" "865744567", "email" "client\@gmail com", "creditstatus" null, "note" null, "companycode" "3546780", "companyvatcode" "12345678", "guid" "cc38dd65 bcdf cd6c b5b7 9be97e3651fa", "created" "2021 06 03t11 42 58+0000", "updated" "2021 06 03t11 42 58+0000", "deleted" false, "clienttype" 2, "systemid" "client1", "customvalues" null } in this case, you can take the client guid and use it in the object or you can use systemid, which defines unique data from your system and give it to the workspace workspace creation example { "title" "shop", "client" "client1", "city" "joplin", "deleted" false, "systemid" “workspace1”, } important title and the client is required fields then you will get a response { "version" 1622721176, "title" "shop", "serialnumber" null, "longitude" null, "latitude" null, "note" null, "address" null, "city" "joplin", "apartmentnumber" null, "signaturecode" "4d5c63d2db40db14e3f9a7334cf2c83b", "objectcode" "7930df975d543069dc4f74c3a78c316b", "client" { "title" "uab client", "companycode" "3546780", "guid" "cc38dd65 bcdf cd6c b5b7 9be97e3651fa", "systemid" "client1" }, "guid" "aee6c30b 196e 6363 4c25 f2599fe116b9", "created" "2021 06 03t11 52 56+0000", "updated" "2021 06 03t11 52 56+0000", "deleted" false, "systemid" “workspace1”, "warrantyindicator" null, "warrantyrequired" false, "customvalues" null } and you can see that you have a relationship with the workspace and client by the systemid