GET /identifiers¶
Get Identifiers ordered by update_timestamp.
Name |
Type |
Description |
---|---|---|
|
boolean, optional, default: false |
readable output formatting |
|
integer, optional, min: 1, max: 100, default: 10 |
number of returned identifiers |
Examples¶
Get the latest identifiers with the latest one at the top of the list.¶
Example request:
GET /identifiers?count=2 HTTP/1.1
Host: api.ereceipts.co.uk
Accept: application/json
Example response:
HTTP/1.1 200 OK
Content-Length: 1227
Content-Type: application/json; charset=UTF-8
[
{
"created_timestamp": "2016-09-14T13:57:38+00:00",
"identifier": "03113456",
"properties": {
"address": [
"10",
"Lipton",
"Cres"
],
"birthdate": "1981-01-01",
"city": "London",
"email": "bob@example.com",
"gender": "male",
"name": {
"first": "bob",
"last": "roberts",
"middle": "s",
"title": "mr"
},
"opt-out": [],
"postcode": "w25pt"
},
"source_updated_timestamp": "2016-09-14T13:57:38+00:00",
"summary": {},
"updated_timestamp": "2016-09-14T13:57:38+00:00"
},
{
"created_timestamp": "2016-09-14T13:57:38+00:00",
"identifier": "03110000",
"properties": {
"address": [
"101",
"Walrus",
"St"
],
"birthdate": "1978-04-08",
"city": "London",
"email": "mike@example.com",
"gender": "male",
"name": {
"first": "mike",
"last": "roberts",
"middle": "s",
"title": "mr"
},
"opt-out": [],
"postcode": "wc1x8jt"
},
"source_updated_timestamp": "2016-09-14T13:57:38+00:00",
"summary": {},
"updated_timestamp": "2016-09-14T13:57:38+00:00"
}
]