POST api/Order/PostReports
Post z-reports
Request Information
URI Parameters
None.
Body Parameters
Terminal StatusLog includiing infor of Report and Report data
TerminalStatusLog| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| TerminalId | globally unique identifier |
None. |
|
| Terminal | Terminal |
None. |
|
| ActivityDate | date |
None. |
|
| UserId | string |
Max length: 36 |
|
| ReportId | globally unique identifier |
None. |
|
| Status | TerminalStatus |
None. |
|
| Synced | integer |
None. |
|
| ReportData | Collection of ReportData |
None. |
|
| Report | Report |
None. |
Request Formats
application/json, text/json
Sample:
{
"<Id>k__BackingField": "f42c8902-c21e-4ac4-9712-3388e1997099",
"<TerminalId>k__BackingField": "0c39dbdd-c8b4-4038-8f8d-8b51b06c557a",
"<Terminal>k__BackingField": {
"$id": "2",
"Id": "738a58bf-e279-4a79-acb4-7adc7b15515a",
"OutletId": "8c591181-f657-4e17-9df5-362a0f2678c9",
"Outlet": {
"$id": "3",
"Id": "8f90c5de-17ea-4c11-bc52-9079862fda3f",
"Name": "sample string 2",
"Address1": "sample string 3",
"Address2": "sample string 4",
"Address3": "sample string 5",
"City": "sample string 6",
"PostalCode": "sample string 7",
"BillPrinterId": 8,
"KitchenPrinterId": 9,
"IsDeleted": true,
"Email": "sample string 11",
"WebUrl": "sample string 12",
"Phone": "sample string 13",
"OrgNo": "sample string 14",
"HeaderText": "sample string 15",
"FooterText": "sample string 16",
"TaxDescription": "sample string 17",
"Created": "2026-05-06T16:19:40.08198+02:00",
"Updated": "2026-05-06T16:19:40.08198+02:00",
"WarehouseID": "930d682a-bbdf-4ecc-b64c-3080acd75ffc",
"WhLocationId": "cf6caae3-04c7-4ce5-859b-8b78e73f577d",
"ExpiryDate": "2026-05-06T16:19:40.08198+02:00",
"SaleType": 22,
"SubscriptionMode": true,
"Currency": "sample string 24",
"JournalNumber": 25,
"RootCategoryId": 26,
"ShortCode": "sample string 27",
"PortalAccessToken": "sample string 28",
"LoginMessage": "sample string 29",
"PriceListId": "3f9711a9-bc51-4fd4-991f-4a783d392b91",
"HasAddress": true,
"Address": "sample string 3, sample string 7, sample string 6",
"Terminals": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
"TerminalNo": 64,
"TypeId": 4,
"UniqueIdentification": "sample string 5",
"HardwareAddress": "sample string 6",
"Alias": "sample string 7",
"Description": "sample string 8",
"CostCenterId": 9,
"Status": 0,
"RootCategoryId": 10,
"BillPrinterId": 11,
"LicenseKey": "sample string 12",
"ExpiryDate": "sample string 13",
"LicenseType": "sample string 14",
"LicenseStatus": true,
"IsDeleted": true,
"IsDataSynced": true,
"PriceListId": "6db97e86-2e24-484c-b479-1716a63c09ef",
"IsLoggedOut": true,
"IsDisabled": true,
"Created": "2026-05-06T16:19:40.08198+02:00",
"Updated": "2026-05-06T16:19:40.08198+02:00",
"LastClosed": "2026-05-06T16:19:40.08198+02:00",
"StatusLog": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"CashDrawer": [
{
"$id": "4",
"Id": "b8e9f5a0-31aa-4dd3-8a03-c6b63852b27e",
"Name": "sample string 2",
"Location": "sample string 3",
"UserId": "sample string 4",
"TerminalId": "d42e79a7-9df3-4a05-948f-0478324e1510",
"ConnectionString": "sample string 6",
"Logs": [
{
"$id": "5",
"<Id>k__BackingField": "1bc951d1-330b-403d-8479-399cb6bd9163",
"<CashDrawerId>k__BackingField": "352e3b18-dd2c-4543-ad23-6ceab6dfe18e",
"<CashDrawer>k__BackingField": {
"$ref": "4"
},
"<ActivityDate>k__BackingField": "2026-05-06T16:19:40.08198+02:00",
"<ActivityType>k__BackingField": 1,
"<UserId>k__BackingField": "sample string 4",
"<Amount>k__BackingField": 5.0,
"<OrderId>k__BackingField": "573e56c4-d970-4249-9a87-c91f14cbbbf8",
"<Synced>k__BackingField": 7
},
{
"$ref": "5"
}
]
},
{
"$ref": "4"
}
],
"InActive": true,
"IsOpen": false,
"IsExpired": true,
"TerminalType": "fe3a7095-5870-4d7e-a2fa-9a39307f91d6"
},
"<ActivityDate>k__BackingField": "2026-05-06T16:19:40.08198+02:00",
"<UserId>k__BackingField": "sample string 4",
"<ReportId>k__BackingField": "928aad49-8e93-49c2-b866-4fb893da71f1",
"<Status>k__BackingField": 0,
"<Synced>k__BackingField": 6,
"<ReportData>k__BackingField": [
{
"$id": "6",
"Id": "8ddeb97a-c5d0-49ac-8b6b-a41ded0b81ff",
"ReportId": "e0f68ccf-5655-429a-8945-e798239072da",
"DataType": "sample string 3",
"TextValue": "sample string 4",
"ForeignId": "sample string 5",
"Value": 1.0,
"TaxPercent": 1.0,
"DateValue": "2026-05-06T16:19:40.08198+02:00",
"SortOrder": 6
},
{
"$ref": "6"
}
],
"<Report>k__BackingField": {
"$id": "7",
"Id": "7246e829-ea72-492a-801b-9b1641d43224",
"CreationDate": "2026-05-06T16:19:40.08198+02:00",
"ReportType": 3,
"ReportNumber": 4,
"TerminalId": "93e7855d-b3b5-40cf-b20b-d97925fa4c56",
"Terminal": {
"$ref": "2"
}
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.