CreateDomain(sessionID, administrationName, domainName, defaultLanguage)

Modified on Thu, 8 Jun, 2023 at 8:52 AM

Parameters


administrationName (required)

The full name of the new administration.


domainName

The name of the desired Yuki domain. This can be left blank (recommended), in that case an unique domain name wil be generated based on the administration name.


defaultLanguage

The default language in the domain. This can be 'nl' (Dutch, the default language if this is left empty), 'en' (English) or 'fr' (French).


This function returns XML, with information about the created domain and administration, as shown below:


<?xml version="1.0" encoding="utf-8"?>

<Domains>

        <Domain ID="650f5fb5-cca7-4b97-9918-3dffea55f2af">

                <Name>test-domain</Name>

                <URL>test-domain.yukiworks.nl</URL>

                <Administrations>

                        <Administration ID="36139716-4e7d-4df4-aa1e-fc07980ab893">

                                <Name>Test domain</Name>

                    </Administration>

                </Administrations>

        </Domain>

</Domains>


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