Web services - Authentication

When you were set up on the Emma WS system, you were given a login and password for your code to use. This login and password also gives you sftp or scp access to the server itself for dropping import files. This login will NOT WORK to sign in to the Emma website itself, it is specifically built for Web services calls. The authorization KeyValue object to be given with every API call is:

object[] auth
contains:

key: login
value: your login

key: password
value: your password

key: emma_account_id
value: the unique identifier for the account you want the call to apply to. Your login must be authorized to make calls for this account.