CA App Synthetic Monitor API 23.11.3.2p21/23.11.3.2p21 : acct_add

Add a subaccount to an existing account (also for resellers)

price: free!

<<back to index

parametervaluetypedefault / required*notes
nkeytoken *Session key or token. Automatically assigned (only if optional) or obtained via acct_login/acct_token call.  
labelidint deprecated - ignored.  
namestring (60) *Client name (first last).  
emailstring (80) *Account email address, and account credentials.  
passwdstring Account password. Please use a minimum of five characters including at least one digit or non-alphanumeric character..  
langstring (6) Language, two chararters, following ISO 639.  
reghoststring (65) *Name or IP address of the node where the registration was initiated.  
regreferstring (255) URL that refered client to the site the first time.  
timezonestring Timezone name, example: Europe/Amsterdam.  
companystring (60) *Company name.  
addressstring (60) *Address.  
zipstring (10) *ZIP or postal code.  
citystring (40) *City.  
statestring (40) State or province.  
countrychar (2) *Country, following ISO 3166. Examples: us, gb, nl.  
telnrstring (256) Telephone number, including "+" and international prefix.  
faxnrstring (15) Facsimile number, including "+" and international prefix.  
opt-inbooleany Opt-in for newsletters.  
callbackstring Callback function for JSONP style calls. When this parameter is given, the result will be JSON instead of XML.  
viewenum (xml, json)xml Specifies the desirable representation of the output (XML or JSON). HTTP Accept header can be used and has precedence.  

Result:

<result>
  <uid> unsigned int </uid>
  <password> string </password>
</result>
(presence of output fields depends on input parameters)

Error codes:

codedescription
0okay
1000authentication error
1001call syntax error
1002undefined name or id
1003account limit exceeded
1004database error
1005duplicate entry
1006upgrade account
1007not yours (anymore)
1008session expired
1009insufficient credits
1010messaging error
1011undefined result
1012cannot perform that operation
1013illegal parameter value
1014TOS restriction
1015unconfirmed address
1016contact helpdesk first
9999unsupported feature
1017value not allowed

<<back to index