RemoveFromFavorites API

Removes the specified document or folder from the currently authenticated user's favorites list. If the item is not currently in the favorites list, the call completes successfully without making any changes.

Endpoint

/srv.asmx/RemoveFromFavorites

Methods

Parameters

Parameter Type Required Description
authenticationTicket string Yes Authentication ticket obtained from AuthenticateUser.
itemPath string Yes Full infoRouter path to the document or folder to remove from favorites (e.g. /Finance/Reports/Q1-Report.pdf or /Finance/Reports). Short document ID paths (~D{id} or ~D{id}.ext) are also accepted.

Response

Success Response

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

Error Response

<response success="false" error="Document/Folder not found." />

Required Permissions

No special permissions are required beyond authentication. The call always operates on the currently authenticated user's favorites list; a user cannot modify another user's favorites through this API.


Example

GET Request (document)

GET /srv.asmx/RemoveFromFavorites
  ?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
  &itemPath=/Finance/Reports/Q1-2024-Report.pdf
HTTP/1.1

GET Request (folder)

GET /srv.asmx/RemoveFromFavorites
  ?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
  &itemPath=/Finance/Reports
HTTP/1.1

POST Request

POST /srv.asmx/RemoveFromFavorites HTTP/1.1
Content-Type: application/x-www-form-urlencoded

authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&itemPath=/Finance/Reports/Q1-2024-Report.pdf

SOAP Request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:tns="http://tempuri.org/">
  <soap:Body>
    <tns:RemoveFromFavorites>
      <tns:authenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:authenticationTicket>
      <tns:itemPath>/Finance/Reports/Q1-2024-Report.pdf</tns:itemPath>
    </tns:RemoveFromFavorites>
  </soap:Body>
</soap:Envelope>

Notes



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.
Document/Folder not found The specified path does not resolve to an existing document or folder.
SystemError:... An unexpected server-side error occurred.

For detailed documentation visit: https://support.inforouter.com/api-docs/RemoveFromFavorites