Name
Fetch the expiration date of an account using API.
Availability
Acrobat Connect Pro Server 7
Description
Returns the expiration date of an account.
Request URL
http://server_name/api/xml ?action=account-expiry-info &account-id=integer &session=BreezeSessionCookieValue
Parameters
Name |
Type |
Required |
Description |
account-id |
BIGINT |
N |
The ID of the account for which you want expiration information. If you don’t provide an account ID, the expiration date for the current user is returned. |
session |
String |
N |
The value of the BREEZESESSION cookie. Use this parameter if you do not use a client-side cookie management library. |
Response structure
<?xml version="1.0" encoding="utf-8" ?> <results> <status code="ok"/> <Account account-id=integer> <name>String</name> <date-expired>Datetime</date-expired> </Account> </results>
Response values
Element |
Attribute |
Type |
Description |
results |
|
Container |
All results the action returns. |
|
Empty, with attributes |
The status of the response. |
|
|
code |
Allowed value |
A code indicating the response status (see status). |
Account |
|
Container |
Information about all fields describing the account. |
|
account-id |
BIGINT |
The ID of the account. |
name |
|
String |
The name of the account. |
date-expired |
|
Datetime |
The date the account expired. |
Sample request
https://example.com/api/xml?action=acount-expiry-info&account-id=7
Sample response
<?xml version="1.0" encoding="utf-8" ?> <results> <status code="ok"/> <Account account-id="7"> <name>Enterprise Account</name> <date-expired>2009-09-11T18:15:00.000+05:30</date-expired> </Account> </results>
See also
Sign in to your account