Skip to end of metadata
Go to start of metadata

 

Retrieves details for an account.

Resource URL:

http://api.textmarketer.co.uk/services/rest/account

 

or:

 

http://api.textmarketer.co.uk/services/rest/account/<account ID>

 

Example successful response body XML:

Response meanings:

XML tag/attributeMeaning
account_id

Up to 24 alpha-numeric characters. Your reference for the account, to be used when specifying an account for retrieval that is not the account identifed by the API username/password you are using to access the API, i.e. you can use this to specify other accounts that you have created. You may access any account that was created using the account you are using to access the API.

api_password 

The API password of the account retrieved

api_username

The API username of the account retrieved

company_name

The company name of the account retrieved

create_date 

The exact time/date the account was created (in ISO 8601 format)

credits 

The number of credits available on the account. If you only wish to retrieve the number of credits, you should use the credits resource.

notifcation_email

The main email address of the account, used to receive notifcations and alerts.

notifcation_mobile 

The main mobile number of the account, used to receive notifcations and alerts.

password

The account password, used to access the account UI at https://messagebox.textmarketer.co.uk.

username 

The account username, used to access the account UI at https://messagebox.textmarketer.co.uk.

Specific errors:

No specific errors.

that a 404 status code is returned if the account ID specified does not exist, and 403 if you do not have permission to access the account you specified.

DTD: