is the API still available for use and integration with other systems, like CRM system for customer records.
I am interested but where can we find the API endpoint
Can the API currently be used with the Desktop version?
Yes it can! Thanks @lubos!
Right click on any link in Manager and ‘Copy Link Location’. Paste into a web browser to get the URL:PORT and edit as shown below. Username is ‘administrator’ Password is empty.
Thanks very much Bob.
Thanks Bob!
That’s just what I needed to get started ![]()
Just as a tip for anyone else, you can shortcut the username/password by adding it to the url e.g.
using Bobs’ image/port you could use
http://administrator:@127.0.0.1:60419/api
This comes in really handy if using curl (or similar) to test.
It seems that that API post-requests, which I use to create Sales-Invoices, are now broken in Manager Desktop versions 20.7.14 through 20.7.78
As a workaround, I’ve downgraded to version 20.7.13 and this has fixed the issue.
I don’t know if this issue is also present in the cloud or server versions.
Post-request failure issue was limited to the Desktop version and has now been fixed (as of v20.7.90)
I recently created a topic on API - Should I be using Rest API to sync certain data as I wanted my clients logging in to my help desk to view quotes, sales orders and sales invoices that I have issued to them.
Seeing as quite a few people have responded to this topic, I thought that I would ask whether anyone has attempted to do this and how they got round the issue of filtering which sales invoices are for a specific client so you don’t have to open every single invoice, check which client it is for etc.
In the event that a custom report and the ability of the api to run this custom report not being available any time soon, I was wondering whether I could simply create a json file on my server and just populate it with an index of all sales invoices matching to clients. I don’t create a lot of invoices and quotes, so while it’s not an ideal option it is doable instead of spending a lot of extra money getting the helpdesk to store all this data to make it easy to filter.
Does the API still require administrator access? I would be keen to ensure that the API only has read access to Manager. I think that keys were going to be introduced, but now a limited user seems to be the direction going forward.
If you email these document to your customers from Manager then you can set up email in Manager to send a copy to your email address. Your Help system could then be configured to read the email and present the document to respective customers.
Alternatively your help system could periodically poll Manger via the API for each Manager tab eg Sales invoices etc to retrieve the relevant documentation. Note for this application an API to custom reports is probably not relevant.
Unfortunately I don’t email my clients from Manager, so option one is not doable. I am actually keen to move forward in the direction of requiring my clients to login to the helpdesk to view quotes instead of emailing quotes. My long term goal is to remove the need to communicate with my clients via email.
The problem with polling Manager is that I would have to save information on the Helpdesk to update the list etc Having said that, I might need to do this anyway with getting the helpdesk to alert clients about new quotes or invoices.
I apologize to bring up this topic again.
I have noticed that the API on the web version of the software does not work.
To Manager Developers, how can i send data to the software, as well as be able to retrieve data from the same using API systems. or is there a possibility to have direct database access to add or retrieve a given set of data and records.
@lubos is API functionalities fully supported by the product, i really would like to interface manager with other CRM systems, me and my clients are using.
Kindly
HI there - did this get resolved, I’m looking to also interface manager.io with other applications and haven’t put manager.io into my productions stack. Appreciate any insight you can lend
Good day Guys.
Please I have been working a lot lately on manager API for an in house software and am working on for getting and managing customer information on manager. I have achieved major success and I am now able to automatically sync copy of registered customer information on manager over to the software. However, I came across a problem while trying to post update to customer information using the PUT methods.
I would really apprecieate if you can take a look at my request structure below and see if i am sending the right request.
URL: http://192.168.1.100:8080/api/RXllbWFzdGVycyBMaW1pdGVkIC0gTGVra2k/8da08fd2-b45b-469c-80b3-79de165a7155.json
Authorization : Basic Secretpasswordbasehash
Content-Type : application/json
Request Method: PUT.
Payload: {
"Name": "Samuel Adeyanju",
"BillingAddress": "Freedom Way, 35b",
"CustomFields": {
"04632e64-9b9d-476c-8f90-1b94ee142905": "Company",
"155b5b6c-0c19-4bf9-a169-c93f8cb6d13b": "Male",
"381dfca0-4030-4ea9-bbf6-72d70e7f4aac": "08132313089",
"44dd534d-7c79-4d01-bd82-77383719916e": "HMO Name",
"6498c8de-0df0-4c40-be94-dcc706dec173": "27",
"7993835e-d627-476e-ab76-bd0e4ffab8d9": "2021-11-30",
"846a39b4-1862-44bf-9b9f-c4223e92bc9c": "098320",
"945ae17d-36f4-4ee4-8c96-58c3ee06dd87": "2021-11-30",
"dd013c4c-02d2-4301-8e3f-f1af16fbcd9f": "Tosin Okay",
"fe83a52a-7ea1-47eb-85a8-fce2e9e6f561": "0808219382"
},
"Code": "L/21/11/2019",
"Email": "samsmart.ass.59@gmail.com"
}
Response: "System.InvalidOperationException: Sequence contains no elements\n at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <5b415632df1f4365ae2242b1a257bb5b>:0 \n at SQLite.SQLiteConnection.Get[T] (System.Object pk) [0x00028] in <d99df9bc3e8e44e69fa595e0813d407b>:0 \n at ManagerServer.HttpHandlers.Api.Api.Put () [0x0007d] in <dba0a99100fa4d039ea18e306164a2ba>:0 "
Please kindly take a look, I am not exactly sure what is wrong here and the response from manager server is not helpful.
Thank you.
Your URL is incomplete. You can only send post requests to the URL used in your example.
In order to update a customer you need to include the customer’s UUID in the URL as follows:
http://192.168.1.100:8080/api/RXllbWFzdGVycyBMaW1pdGVkIC0gTGVra2k/8da08fd2-b45b-469c-80b3-79de165a7155/{ Customer UUID }.json
I am guessing you mean I should include the object type UUID in the request URL before the Customer UUID.
Because the last part of the URL I sent here is in fact the UUID of the Customer.
Now I also tried your suggestion and my URL now looks like.
http://192.168.1.100:8080/api/RXllbWFzdGVycyBMaW1pdGVkIC0gTGVra2k/ec37c11e-2b67-49c6-8a58-6eccb7dd75ee/67d3365c-7cca-4087-ae31-4a78d4208e07.json
And in that URL the first path after the /api/ is the business id, the second path is the object type or category id and lastly the Customer UUID with .json attached to the end
I still get the same error.
Ok then. I would keep the long URL.
Also, there’s one more thing I would try and that’s to include all the fields are mark them with null, true or false where appropriate.
@Previsam I need to improve errors so it’s more obvious what is wrong. In this case, it looks like you do not have a customer with GUID 67d3365c-7cca-4087-ae31-4a78d4208e07. So the update fails.
What happens if you simply navigate to
http://192.168.1.100:8080/api/RXllbWFzdGVycyBMaW1pdGVkIC0gTGVra2k/ec37c11e-2b67-49c6-8a58-6eccb7dd75ee/67d3365c-7cca-4087-ae31-4a78d4208e07.json
Do you get JSON of existing customer or null ?
My browser downloaded an empty JSON file. However, I can see the file here the file does exist here.
The above link does show a JSON representation of the customer I am trying to modify when I open it in my browser.
Notice how removing /ec37c11e-2b67-49c6-8a58-6eccb7dd75ee from the previous URL allowed me to get the customer information and I just tested making the update again now removing the same path from my request URL and it was successful. Perhaps, the initial Customer UUID I was trying to update was truly incorrect.
A much more descriptive error message would have been very helpful. Anyways thank you for the response.
Where is the API documentation?
I am new to manager.io
I have searching the Guides and Forum for about 2 hours.
I have searched github.
(and I am new to discourse.org)
