CA App Synthetic Monitor API 24.7.7/24.7.7 : acct_token

Token - get a permanent token for API calls

price: free!

<<back to index

parametervaluetypedefault / required*notes
userstring *Account to login with.  
passwordstring *Account password.  
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>
  <nkey> string </nkey>
  <uid> unsigned int </uid>
  <country> char (2) </country>
  <lang> string (6) </lang>
</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