apidocs

UnarchiveDomain API

Un-archives a previously archived domain/library, making it an active online library again. This operation changes the library’s archive status flag, allowing regular user access and document operations to resume.

Endpoint


/srv.asmx/UnarchiveDomain

Methods

Parameters

Parameter Type Required Description
authenticationTicket string Yes Authentication ticket obtained from AuthenticateUser.
domainName string Yes Name of the domain/library to un-archive.

Response

Success Response


<response success="true" error="" />

Error Response


<response success="false" error="[ErrorCode] Error message" />


Required Permissions

Administrator only. Only the system administrator can un-archive domains/libraries. Non-administrator users will receive an error even if they are domain managers.


Example

GET Request


GET /srv.asmx/UnarchiveDomain

  ?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301

  &domainName=Finance

HTTP/1.1

POST Request


POST /srv.asmx/UnarchiveDomain HTTP/1.1

Content-Type: application/x-www-form-urlencoded



authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301

&domainName=Finance

SOAP Request


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

               xmlns:tns="http://tempuri.org/">

  <soap:Body>

    <tns:UnarchiveDomain>

      <tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>

      <tns:DomainName>Finance</tns:DomainName>

    </tns:UnarchiveDomain>

  </soap:Body>

</soap:Envelope>


Notes


Use Cases

  1. Seasonal Access: Un-archive libraries for active business periods (e.g., tax libraries during tax season).

  2. Project Reactivation: Restore access to archived project libraries when projects are reopened.

  3. Audit Preparation: Temporarily un-archive historical libraries for compliance audits.

  4. Data Recovery: Make archived content accessible again for reference or recovery purposes.



Error Codes

Error Description
[900] Authentication failed Invalid or missing authentication ticket.
[901] Session expired or Invalid ticket The ticket has expired or does not exist.
[1573] Only the system administrator can perform this operation The calling user is not a system administrator.
[1521] The domain is not currently archived (cannot un-archive an active domain).
[115] Domain not found The specified domainName does not exist.
SystemError:... An unexpected server-side error occurred.

Archive Status Workflow


-"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"-

-"-  Online Domain  -"-

-"-  (IsArchive=0)  -"-

-""-"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"-

         -"-

         -"- ArchiveDomain()

         ---

-"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"-

-"- Archived Domain -"-

-"-  (IsArchive=1)  -"-

-""-"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"-

         -"-

         -"- UnarchiveDomain() ----"--"- You are here

         ---

-"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"-

-"-  Online Domain  -"-

-"-  (IsArchive=0)  -"-

-""-"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"--"-