REST API - getDeletedResources

The table summarizes the REST API - getDeletedResources.

Request

Format
GET <baseurl>/orgresource/archived?<page>&<page-size>
Parameter notes The "page" and "page-size" are optional. If either parameter is not given, or passed as zero, the result will not be paged.

Response

JSON Returns a JSON representation of the content of the getDeletedResourcesResponse element.
XML Returns the content of the getDeletedResourcesResponse element (from the OrgResourceService schema).

Example

Request
GET <baseurl>/orgresource/archived?page=2&page-size=10
Response (with paging control)
{
   "xml-fragment":
   {
       "page-control":
       {
           "@page": "2",
           "@page-size": "4",
           "@total-entries": "1318"
       },
       "resource":
       [
           {
               "@guid": "75A2575F-F321-4B1A-D3E0-90C14B0D7BCB",
               "@name": "aarmstrong",
               "@label": "aarmstrong",
               "@date-deleted": "2014-07-15T12:29:55.380Z",
               "@ldap-alias": "deLdap5",
               "@ldap-dn": "UID=aarmstrong, OU=employees, O=goCarInsuranceHeadOffice"
           },
           {
               "@guid": "E14844E0-77F1-F985-7D66-5247B32CBC2E",
               "@name": "abailey",
               "@label": "abailey",
               "@date-deleted": "2014-07-15T12:29:59.103Z",
               "@ldap-alias": "deLdap5",
               "@ldap-dn": "UID=abailey, OU=employees, O=goCarInsuranceHeadOffice"
           },
           {
               "@guid": "F8C3DD43-2C3F-2401-A17E-FCC0AD3A038C",
               "@name": "abain",
               "@label": "abain",
               "@date-deleted": "2014-07-15T12:30:06.227Z",
               "@ldap-alias": "deLdap5",
               "@ldap-dn": "UID=abain, OU=employees, O=goCarInsuranceHeadOffice"
           },
           {
               "@guid": "807200B0-617F-7CAD-F54C-0D3E9F23E855",
               "@name": "abateman",
               "@label": "abateman",
               "@date-deleted": "2014-07-15T12:30:05.020Z",
               "@ldap-alias": "deLdap5",
               "@ldap-dn": "UID=abateman, OU=employees, O=goCarInsuranceHeadOffice"
           }
       ]
   }
}
Response (without paging control)
{
   "xml-fragment":
   {
       "resource":
       [
           {
               "@guid": "75A2575F-F321-4B1A-D3E0-90C14B0D7BCB",
               "@name": "aarmstrong",
               "@label": "aarmstrong",
               "@date-deleted": "2014-07-15T12:29:55.380Z",
               "@ldap-alias": "deLdap5",
               "@ldap-dn": "UID=aarmstrong, OU=employees, O=goCarInsuranceHeadOffice"
           },
           {
               "@guid": "E14844E0-77F1-F985-7D66-5247B32CBC2E",
               "@name": "abailey",
               "@label": "abailey",
               "@date-deleted": "2014-07-15T12:29:59.103Z",
               "@ldap-alias": "deLdap5",
               "@ldap-dn": "UID=abailey, OU=employees, O=goCarInsuranceHeadOffice"
           },
           {
               "@guid": "F8C3DD43-2C3F-2401-A17E-FCC0AD3A038C",
               "@name": "abain",
               "@label": "abain",
               "@date-deleted": "2014-07-15T12:30:06.227Z",
               "@ldap-alias": "deLdap5",
               "@ldap-dn": "UID=abain, OU=employees, O=goCarInsuranceHeadOffice"
           },
           {
               "@guid": "807200B0-617F-7CAD-F54C-0D3E9F23E855",
               "@name": "abateman",
               "@label": "abateman",
               "@date-deleted": "2014-07-15T12:30:05.020Z",
               "@ldap-alias": "deLdap5",
               "@ldap-dn": "UID=abateman, OU=employees, O=goCarInsuranceHeadOffice"
           }
       ]
   }
}