Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (50 sloc) 2.102 kb
c11e013 @alloy Add a reference for deletions.
alloy authored
1 Deletions
2 ---------
3
b62b954 @alloy Update deletions.md with all resources that can be listed.
alloy authored
4
b772981 @jeremy Deals sync
jeremy authored
5 * `GET /deletions.xml` returns a list of deleted resources (companies, people, deals, tasks, notes, emails, comments, task recordings, deal recordings, project recordings).
c11e013 @alloy Add a reference for deletions.
alloy authored
6 * `GET /deletions.xml?since=20070425154546` returns the deletions that have ocurred since the time in the query parameter.
7
8 The collection is ordered from oldest to newest. The `since` parameter is expressed as `yyyymmddhhmmss` in the UTC timezone. Deletions are paginated using offsets. If 500 elements are returned (the page limit), use `?n=500` to fetch the next 500, and so on.
9
10 **Response:**
11
12 ``` xml
13 <deletions type="array">
14 <deletion type="Company">
15 <id type="integer">88602616</id>
16 <deleted-at type="datetime">2011-10-06T10:03:41Z</deleted-at>
17 </deletion>
18 <deletion type="Person">
19 <id type="integer">88602673</id>
20 <deleted-at type="datetime">2011-10-06T10:05:31Z</deleted-at>
21 </deletion>
b772981 @jeremy Deals sync
jeremy authored
22 <deletion type="Deal">
23 <id type="integer">88602677</id>
24 <deleted-at type="datetime">2011-10-06T10:06:31Z</deleted-at>
25 </deletion>
b62b954 @alloy Update deletions.md with all resources that can be listed.
alloy authored
26 <deletion type="Task">
27 <id type="integer">88602694</id>
28 <deleted-at type="datetime">2011-10-06T10:07:19Z</deleted-at>
29 </deletion>
30 <deletion type="Note">
31 <id type="integer">88602703</id>
32 <deleted-at type="datetime">2011-10-06T10:13:36Z</deleted-at>
33 </deletion>
34 <deletion type="Email">
35 <id type="integer">88602718</id>
36 <deleted-at type="datetime">2011-10-06T10:20:54Z</deleted-at>
37 </deletion>
38 <deletion type="Comment">
39 <id type="integer">88602723</id>
40 <deleted-at type="datetime">2011-10-06T10:28:06Z</deleted-at>
41 </deletion>
42 <deletion type="TaskRecording">
43 <id type="integer">88602734</id>
44 <deleted-at type="datetime">2011-10-06T10:33:23Z</deleted-at>
45 </deletion>
46 <deletion type="DealRecording">
47 <id type="integer">88602741</id>
48 <deleted-at type="datetime">2011-10-06T10:39:31Z</deleted-at>
49 </deletion>
50 <deletion type="ProjectRecording">
51 <id type="integer">88602750</id>
52 <deleted-at type="datetime">2011-10-06T10:45:12Z</deleted-at>
53 </deletion>
c11e013 @alloy Add a reference for deletions.
alloy authored
54 </deletions>
55 ```
Something went wrong with that request. Please try again.