New website via API

Discussion in 'Installation/Configuration' started by mikolaj_koziej, Mar 5, 2018.

  1. mikolaj_koziej

    mikolaj_koziej New Member

    Hello.
    I add a webpage using Soap API (sites_web_domain_add). The page is added correctly, but there are differences in DB compared to the Admin Panel.
    The differences are for example in the fields:
    1) 'sys_perm_group' => 'riud',
    the pages added by the API have the value "ru" - the value passed is ignored by the API. Pages added by the ISPConfig panel to have the value "riud" (+ insert + delete). What is the insert and delete about?

    2)
    'redirect_type' => NULL,
    'redirect_path' => NULL,
    'seo_redirect' => NULL,
    By default, these values are entered by ISPConfig. API ignores them and inserts empty fields. Passing 'NULL' (with parentheses) ends with an exception.

    Do these fields affect the functioning of websites or are dangerous? What is the difference?
    Thank you for your help.
     

Share This Page