Follow

WorkPoint 365 Web API

For ERP integration, we have created a new Web API. The Web API is located here:

In addition, the documentation for the Web API is located here:

The Web API is Multi Tennant, and used Azure Active Directory to authenticate the API and the API calls from the Web API to the WorkPoint 365 solution for the specific request.

This complicates using the Web API and for each implementation you have go through the following steps:

  • First, an administrator of an Azure Active Directory need to consent the Web API. This can be done using the following link:Consent WorkPoint365.WebAPI
  • The client to use the Web API must also be registered in Azure Active Directory this can be done in either by:
    1. Registering the client as a client you self. And in the “permissions to other applications” delegate permissions to the WorkPoint365.WebAPI
    2. Use the WorkPoint365.WebAPI.Proxy we have created and then you also need to consent this to use the Web API using the following link:Consent WorkPoint365.WebAPI.Proxy

To call the Web API using our proxy you can use the following code:

WebAPI.Proxy.ListItemAPI api =

new WebAPI.Proxy.ListItemAPI("https://yourtennant.sharepoint.com/sites/workpoint", null, null, true);
api.UserName = "admin@ yourtennant.onmicrosoft.com";
api.Password = "Your Password"; int ID = await api.Create("Companies", fieldValues.ToArray(), true);
int ID = await api.Create("Companies", fieldValues.ToArray(), true);

To get the .Net client libraries for the Web API contactsupport@workpoint.dk

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments