Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can get the account name by sending the GET request to the following URL: /account/name.

Permission to run the request: Account Owner, Administrator. 

 

Request Headers

ParameterDescription
X-Auth-Account-Url (required)Base URL of the account, e.g. http://myaccount.ispringlearn.com
X-Auth-Email (required)Administrator /Publisher e-mail address.
X-Auth-Password (required)Administrator /Publisher password.

After the request has been completed, the system returns the response with Code 200. The body of the reponse will contain the account name.

 

Possible Response Codes

CodeTextDescription
200OkThe request has been processed successfully.

 

Sample Request

Code Block
languagexml
GET /account/name HTTP/1.1


Host: api.ispringonline.com


X-Auth-Account-Url: http://myaccount.
ispringonline
ispringlearn.com


X-Auth-Email: email@email.com


X-Auth-Password: password

 

Sample Response

Code Block
languagexml
HTTP/1.1
 
 200 OK

Server:

nginx
Connection: close

<account_name>


<account_name>