SendRegning

Get sending history

Verison: 1.0 (read more)

Will return a list of the different ways the offer and its successors (invoice, order confirmation) have been sent with a delivery status for each. Possible statuses are IN_PROGRESS, DELIVERED and NOT_DELIVERED.

1
GET /offer/{number}/history

Response

HTTP/1.1 200 OK

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[{
    "description": "Tilbud på papir",
    "recipientAddress": "",
    "date": "2016-06-27 12:56",
    "status": "DELIVERED"
}, {
    "description": "Tilbud på SMS",
    "recipientAddress": "47222222",
    "date": "2016-06-27 12:56",
    "status": "DELIVERED"
}, {
    "description": "Tilbud på papir",
    "recipientAddress": "",
    "date": "2016-06-27 15:03",
    "status": "NOT_DELIVERED"
}, {
    "description": "Faktura på e-post",
    "recipientAddress": "adam@sendregning.no",
    "date": "2016-01-06 14:09",
    "status": "DELIVERED"
}]