SRP Command list

Implementation Notes:
All commands except session commands take an optional client transaction id after their argument listand result in a code, message, and transaction id. Also, these descriptions are external. Inside the RRP/Database,the commands all require a sid (and login produces one).

Speadsheet Notes:
Return parameters are in bold


Command Argument Optional? List? MaxLength Other Restrictions
           
create_contact name YES NO 60 A contact must always have either a name or an organization
  organization YES NO 100 A contact must always have either a name or an organization
  address1 NO NO 250  
  address2 YES NO 250  
  city NO NO 50  
  state YES NO 50  
  zip YES NO 20  
  country NO NO 2 An ISO country code
  phone NO NO 30  
  fax YES NO 30  
  email NO NO 80  
  password YES NO 250  
  contact_id NO NO 25  
check_contact contact_id NO NO 25  
info_contact contact_id NO NO 25 A contact must always have either a name or an organization
  name YES NO 60 A contact must always have either a name or an organization
  organization YES NO 100  
  address1 NO NO 250  
  address2 YES NO 250  
  city NO NO 50  
  state YES NO 50  
  zip YES NO 20  
  country NO NO 2 An ISO country code
  phone NO NO 30  
  fax YES NO 30  
Command Argument Optional? List? MaxLength Other Restrictions
           
  email NO NO 80  
  registrar NO NO 100  
  create_date NO NO 9 MM-DD-YYYY HH24:MI:SS
  create_entity NO NO 100  
  update_date YES NO 9 MM-DD-YYYY HH24:MI:SS
  update_entity YES NO 100  
  transfer_date YES NO 9 MM-DD-YYYY HH24:MI:SS
  password YES NO 250  
  linked NO NO 1 1 = yes, 0 = no
  status YES YES 100  
delete_contact contact_id NO NO 25  
modify_contact contact_id NO NO 25  
  new_name YES NO 60 A contact must always have either a name or an organization
  new_organization YES NO 100 A contact must always have either a name or an organization
  new_address1 YES NO 250  
  new_address2 YES NO 250  
  new_city YES NO 50  
  new_state YES NO 50  
  new_zip YES NO 20  
  new_country YES NO 2 An ISO country code
  new_phone YES NO 30  
  new_fax YES NO 30  
  new_email YES NO 80  
  new_password YES NO 250  
  status_toadd YES YES 100  
  status_toremove YES YES 100  
create_ns ns_name NO NO 255 No more than 63 characters per label
  ip YES NO 15 Dotted decimal format, RFC 1918 addresses not allowed
check_ns ns_name NO YES 255  
info_ns ns_name NO NO 255  
  ip YES NO 15 A dotted decimal IP address
  registrar NO NO 100  
  create_date NO NO 9 MM-DD-YYYY HH24:MI:SS
  create_entity NO NO 100  
  update_date YES NO 9 MM-DD-YYYY HH24:MI:SS
Command Argument Optional? List? MaxLength Other Restrictions
           
  update_entity YES NO 100  
  linked NO NO 1 1 = yes, 0 = no
  status YES YES 100  
delete_ns ns_name NO NO 255  
modify_ns ns_name NO NO 255  
  new_ip YES NO 15 Dotted decimal format, RFC 1918 addresses not allowed
  status_toadd YES YES 100  
  status_toremove YES YES 100  
create_domain fqdn NO NO 255 No more than 63 characters per label - can vary by TLD
  term NO NO 2 2 digit number of years - min and max restrictions vary by TLD
  registrant NO NO 25 An existing contact_id
  admin_contact NO NO 25 An existing contact_id
  tech_contact NO NO 25 An existing contact_id
  nameservers YES YES 255 Existing DNS names
check_domain fqdn NO NO 255 No more than 63 characters per label - can vary by TLD
info_domain fqdn NO NO 255 No more than 63 characters per label - can vary by TLD
  registrant NO NO 25  
  admin_contact NO NO 25  
  tech_contact NO NO 25  
  nameservers YES YES 255  
  hosts YES YES 255  
  expire_date NO NO 9 MM-DD-YYYY HH24:MI:SS
  registrar NO NO 100  
  create_date NO NO 9 MM-DD-YYYY HH24:MI:SS
  create_entity NO NO 100  
  update_date YES NO 9 MM-DD-YYYY HH24:MI:SS
  update_entity YES NO 100  
  transfer_date YES NO 9 MM-DD-YYYY HH24:MI:SS
  status YES YES 100  
delete_domain fqdn NO NO 255 No more than 63 characters per label - can vary by TLD
modify_domain fqdn NO NO 255 No more than 63 characters per label - can vary by TLD
  new_registrant YES NO 25 An existing contact_id
  new_admin_contact YES NO 25 An existing contact_id
  new_tech_contact YES NO 25 An existing contact_id
  nameservers_toadd YES YES 255 Existing DNS names
Command Argument Optional? List? MaxLength Other Restrictions
           
  nameservers_toremove YES YES 255  
  status_toadd YES YES 100  
  status_toremove YES YES 100  
renew_domain fqdn NO NO 255  
  term NO NO 2 2 digit number of years - min and max restrictions vary by TLD
  current_exp_year NO NO 4 The 4 digit year of the current domain expiration date
login login NO NO 30  
  pass NO NO 32  
logout <none>