API questions

Discussion in 'Developers' Forum' started by mmmexp, Oct 23, 2014.

  1. mmmexp

    mmmexp New Member

    sites_web_domain_update($session_id, $client_id, $domain_id, $domain_record);

    is there a way to skip $client_id here?
    I know all domain_id's , that should be enough.
    any reason to demand $client_id here?

    i saw a function to get cliend_id by sysuser_id, so now i need to get sysuser_id somehow in order to get client_id... kinda going in circles to get client_id and can't.

    For example if i knew sysuser_ids here, i could get client_id, but then i would have two separate lists of client_ids and domain_ids, how to match them is another question?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    no.

    The sysuser_id is part of every record that exists in your ispconfig. so you have that already when you get a record.
     

Share This Page