Global property history reporting and due-diligence API

Calls to the API must be for genuine use and responses from the API must not be stored for the purpose of creating an offline copy of the information stored. Failure to comply with this requirement will infringe the API License.

Transaction Log API Calls

Register Item Possession

POST /transactionlog/registerpossession

Purpose

To record the details of a transaction taking place when an item is sold to or aquired by a store.

Inputs

All optional parameters must be valid if they are supplied.

Example Request


POST /transactionlog/registerpossession HTTP/1.1
Accept: application/json
Content-Type: application/json

{
    "storeid": 1,
    "manufacturer": "Samsung",
    "model": "Galaxy",
    "serials": ["7837492049023842"],
    "category": 1,
    "transactiondate": "2014-01-01 10:01:02",
    "acquiredfrom": {
        "firstname": "Joe",
        "lastname": "Bloggs",
        "address": "House 4, Street, City, Florida State, US",
        "postcode": "OR3 2JS",
        "email": "joe@bloggs.com",
        "telephone": "325255324243"
    },
    "additional": "White Handset"
}

Output

A unique transaction ID and a 201 HTTP response code.

Example Response


HTTP/1.1 201 Created
Content-Type: application/json

{
    "transactionid": "4234234-2-3523-3223423523-234234"
}