You can only use modify_domain API call with one contact set (admin, billing,
tech, owner) and you may optionally specify that you want some other contact sets to
be updated at the same time with the same contact info using the 'also_apply_to'
attribute - read the API doc to get more details:

http://www.opensrs.org/docs/opensrs_client_protocol_spec249.PDF

By the way, this document was recently cleaned up by developers: we went
through every API call and corrected every technical inconsistency and
provided more details on newly introduced APIs that we could find (more than
a few dozen). I can imagine there are still holes and missing details
in that doc but it's better than it was say 2 weeks ago. We will make effort
to keep this document up-to-date and make it more usable - if you have
suggestions on how to make it better or find technical problems in the
content, please send me an email.

Regards,
Vlad Jebelev
OpenSRS developer

On Fri, 22 Feb 2002, Wim Godden wrote:

> To get through the testing, you have to update the billing contact...
> However, when I try to do that, I get a 200 code (meaning it's a
> success), but the update doesn't occur... has anyone had this problem
> before ?
> 
> 
> This is the full log :
> 
> I'm authenticated in the right way, logged in with the correct username,
> 
> password and domain, as you can see here :
> [ SENT - DES ENCRYPTED ]
> Array
> (
>     [action] => set
>     [object] => cookie
>     [attributes] => Array
>         (
>             [reseller] => firstlink
>             [domain] => firstlink1.org
>             [reg_username] => firstlink
>             [reg_password] => XXXXXXXXXX
>         )
>     [registrant_ip] => 212.100.176.184
>     [protocol] => XCP
> )
> [ READ - DES ENCRYPTED ]
> Array
> (
>     [_OPS_version] => 0.9
>     [is_success] => 1
>     [protocol] => XCP
>     [object] => COOKIE
>     [attributes] => Array
>         (
>             [waiting_request] => None
>             [permission] =>
>             [cookie] => 665125753:291976
>             [domain_count] => 1
>             [f_owner] => 1
>             [last_access_time] => 1013606602
>             [encoding_type] =>
>             [last_ip] => 212.100.176.184
>             [expiredate] => 2003-02-13 07:54:30
>         )
>     [response_text] => Command Successful
>     [response_code] => 200
>     [action] => REPLY
> )
> 
> 
> 
> I use the same cookie to send the update like this :
> [ SENT - DES ENCRYPTED ]
> Array
> (
>     [action] => modify
>     [object] => domain
>     [cookie] => 665125753:291976
>     [attributes] => Array
>         (
>             [data] => contact_info
>             [org_name] => FirstLink Networks
>             [affect_domains] => 0
>             [contact_set] => Array
>                 (
>                     [owner] => Array
>                         (
>                             [first_name] => Wim
>                             [last_name] => Godden
>                             [phone] => +32-3-8873727
>                             [fax] => +32-3-8873727
>                             [email] => [EMAIL PROTECTED]
>                             [url] =>
>                             [org_name] => FirstLink Networks
>                             [address1] => Tuitboslei 17
>                             [address2] => test
>                             [address3] =>
>                             [city] => B-2620 Hemiksem
>                             [state] =>
>                             [country] => BE
>                             [postal_code] => B-2620 Hemiksem
>                         )
>                     [tech] => Array
>                         (
>                             [first_name] => Wim
>                             [last_name] => Godden
>                             [phone] => +32-3-8873727
>                             [fax] => +32-3-8873727
>                             [email] => [EMAIL PROTECTED]
>                             [url] =>
>                             [org_name] => FirstLink Networks
>                             [address1] => Tuitboslei 17
>                             [address2] =>
>                             [address3] =>
>                             [city] => B-2620 Hemiksem
>                             [state] =>
>                             [country] => BE
>                             [postal_code] => B-2620 Hemiksem
>                         )
>                     [billing] => Array
>                         (
>                             [first_name] => John
>                             [last_name] => Smith
>                             [phone] => (123) 123-4567
>                             [fax] => +32-3-8873727
>                             [email] => [EMAIL PROTECTED]
>                             [url] => http://www.firstlinknetworks.com
>                             [org_name] => FirstLink Networks
>                             [address1] => Tuitboslei 17
>                             [address2] =>
>                             [address3] =>
>                             [city] => B-2620 Hemiksem
>                             [state] =>
>                             [country] => BE
>                             [postal_code] => B-2620 Hemiksem
>                         )
>                     [admin] => Array
>                         (
>                             [first_name] => Wim
>                             [last_name] => Godden
>                             [phone] => +32-3-8873727
>                             [fax] => +32-3-8873727
>                             [email] => [EMAIL PROTECTED]
>                             [url] => http://www.firstlinknetworks.com
>                             [org_name] => FirstLink Networks
>                             [address1] => Tuitboslei 17
>                             [address2] =>
>                             [address3] =>
>                             [city] => B-2620 Hemiksem
>                             [state] =>
>                             [country] => BE
>                             [postal_code] => B-2620 Hemiksem
>                         )
>                 )
>         )
>     [registrant_ip] => 212.100.176.184
>     [protocol] => XCP
> )
> [ READ - DES ENCRYPTED ]
> Array
> (
>     [_OPS_version] => 0.9
>     [is_success] => 1
>     [protocol] => XCP
>     [object] => DOMAIN
>     [attributes] => Array
>         (
>             [details] => Array
>                 (
>                     [firstlink1.org] => Array
>                         (
>                             [response_text] =>
>                             [response_code] => 200
>                             [encoding_type] =>
>                         )
>                 )
>         )
>     [response_text] => Modification(s) successful
>     [response_code] => 200
>     [action] => REPLY
> )
> 
> So I get 200, but no response_text for firstlink1.org and the update
> doesn't occur...
> 
> 
> 
> 

Reply via email to