-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
reqests.http
46 lines (38 loc) · 1.11 KB
/
reqests.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
POST https://{{host}}.mf.gov.pl/api/online/Payment/Identifier/Request
Accept: application/json
SessionToken: {{token}}
Content-Type: application/json
{
"ksefReferenceNumberList": [
"{{ksef_nr2}}"
]
}
###
GET https://{{host}}.mf.gov.pl/api/online/Session/Status
Accept: application/json
SessionToken: {{token}}
### Zapytanie o faktury
POST https://{{host}}.mf.gov.pl/api/online/Query/Invoice/Sync?PageSize=10&PageOffset=0
Content-Type: application/json
Accept: application/json
SessionToken: {{token}}
{
"queryCriteria": {
"subjectType": "subject2",
"type": "incremental",
"acquisitionTimestampThresholdFrom": "2023-08-01T00:00:00+00:00",
"acquisitionTimestampThresholdTo": "2023-08-31T23:59:59+00:00"
}
}
### Zapytanie o faktury drugi wariant daty
POST https://{{host}}.mf.gov.pl/api/online/Query/Invoice/Sync?PageSize=10&PageOffset=0
Content-Type: application/json
SessionToken: {{token}}
{
"queryCriteria": {
"subjectType": "subject2",
"type": "incremental",
"acquisitionTimestampThresholdFrom": "2023-08-01T00:00:00",
"acquisitionTimestampThresholdTo": "2023-09-01T00:00:00"
}
}