Set up web services in domain and/or administration

Modified on Mon, 10 Jun at 9:43 AM

Disclaimer

All screenshots in the article were taken in the Dutch version of Yuki.


A web service contains one or more methods for the exchange of information with applications/services of external parties. Just think of financial data, submitting data of sales invoices and access and/or upload to the Yuki archive. 


If the software you want to link with already has a link, some settings need to be defined in that software or with the third-party provider of the link. 

To give external software access to information in Yuki, you have to generate a web service API key and Administration ID (or have it generated) in Yuki with which the external software can access a Yuki domain without logging in.


ATTENTION!

To use the Purchase web service, a formal request must be sent by email to [email protected]

You will then receive a Client ID/Secret by e-mail from Yuki. You will need this in addition to the API key for authentication in order to access the Purchase web service.


The (access) rights to webservices in a domain or administration are leading and 'overrule' the (access) rights to web services as they are set on portal level.


Only a user with a 'Back office' role in the domain or the role 'Management' can set (access) rights to web services in the domain and/or administration(s) by means of the web service API key and Administration ID


TIP!

By default, each domain has 1000 calls per day available for the web services. If the number of calls per day exceeds this number, the accountant must activate the Yuki Web Service feature (from 1000 to 5000 calls per day) or Yuki Web Service Plus feature (from 5000 to 10.000 calls per day maximum) via the Yuki Store in the domain.

In a bundle pricing domain, one of the two features must be added to the domain's contract as an accountant feature.


All configured settings such as the settings of the web services, among others, are grouped and categorised in one place in your domain.


Generate web service API key (WebserviceAccessKey) and Administration ID

The web service API key and Administration ID can be generated from different places in Yuki:

  • Click on the Switch domain icon above the navigation bar and then click on My domain. Click on the administration name and then, in the now-opened screen, click on Web services.
  • Hover your mouse over the Home icon in the navigation bar, click on the My domain tile and then on click the administration name.
    In the now-opened screen click on Web services.
  • Click on the Settings icon in the navigation bar and then, in the now-opened screen, click on Web services.


The following screen is opened:



In this screen click on the + button in order to activate the web services in the domain or the administration and generate a web service API key. 


The following screen is opened:



Specify here whether you want to generate a web service API key for a 'Domain' or an 'Administration' (select the correct administration), select the web services (all web services or a selection thereof) for which you to grant (access) rights and then click on the Save button.



TIP!

Only select specific web services to which you want to grant access when building your own link. If you want to link to existing software then select 'All web services'.


Copy the API key and/or administration ID in order to use it in your application. In many software applications, the 'Access code' field is present.


ATTENTION!

  • If you want to link multiple administrations, you need to create multiple web service API keys.
  • Do not swap API keys, or the link will not work.


If you no longer trust the security of the API key, generate a new one!


You can grant access rights to the following web services:

  • Projects (Projects web service):
    • Create projects (dossiers)
    • Update existing projects (dossiers).
  • Back office (Back office web service)
    • Check outstanding questions for back office in administration
    • Retrieve back office workflow of administration
    • Check specific back office roles of portal users in domain
    • Update specific back office roles of portal users in domain.

  •  VAT (VAT web service)


ATTENTION!


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article