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": "28197b29-0c77-4916-9b18-2153efbfbe39",
"<TerminalId>k__BackingField": "29bfd3cf-bf2d-46d8-a8a0-4d5d53e98838",
"<Terminal>k__BackingField": {
"$id": "2",
"Id": "312bff4e-e721-4b8e-b146-ef21036e02fe",
"OutletId": "28d17f0f-23fd-4af6-9a03-2799f2bfaf54",
"Outlet": {
"$id": "3",
"Id": "789e88f5-a15b-42d7-9f02-f630d5db78f2",
"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-06-21T22:50:28.7675958+02:00",
"Updated": "2026-06-21T22:50:28.7675958+02:00",
"WarehouseID": "e8ae8301-9494-4828-b278-5c240cb7ef72",
"WhLocationId": "5754482e-32a7-4060-a890-bbf7b5affa23",
"ExpiryDate": "2026-06-21T22:50:28.7675958+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": "6ffeb562-8a4c-4819-a237-a9b04432a258",
"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": "a0bde70a-7c71-4dba-bee2-6dfd302e6f10",
"IsLoggedOut": true,
"IsDisabled": true,
"Created": "2026-06-21T22:50:28.7675958+02:00",
"Updated": "2026-06-21T22:50:28.7675958+02:00",
"LastClosed": "2026-06-21T22:50:28.7675958+02:00",
"StatusLog": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"CashDrawer": [
{
"$id": "4",
"Id": "60b2f431-78bb-4d26-b1b6-272be2393f98",
"Name": "sample string 2",
"Location": "sample string 3",
"UserId": "sample string 4",
"TerminalId": "41a0fc96-2f5a-40b7-9460-ff95118ddbce",
"ConnectionString": "sample string 6",
"Logs": [
{
"$id": "5",
"<Id>k__BackingField": "e139ef4d-612e-4ec9-9fd3-cc5be0542bd0",
"<CashDrawerId>k__BackingField": "e3c83b8d-7465-4193-885b-52fcedb2afcc",
"<CashDrawer>k__BackingField": {
"$ref": "4"
},
"<ActivityDate>k__BackingField": "2026-06-21T22:50:28.7675958+02:00",
"<ActivityType>k__BackingField": 1,
"<UserId>k__BackingField": "sample string 4",
"<Amount>k__BackingField": 5.0,
"<OrderId>k__BackingField": "6624aec4-a355-423d-a5c0-e95067546022",
"<Synced>k__BackingField": 7
},
{
"$ref": "5"
}
]
},
{
"$ref": "4"
}
],
"InActive": true,
"IsOpen": false,
"IsExpired": true,
"TerminalType": "03d22cbd-2493-4949-8156-5467987119f5"
},
"<ActivityDate>k__BackingField": "2026-06-21T22:50:28.7675958+02:00",
"<UserId>k__BackingField": "sample string 4",
"<ReportId>k__BackingField": "7acf807e-e960-411e-9350-d14de1439fbd",
"<Status>k__BackingField": 0,
"<Synced>k__BackingField": 6,
"<ReportData>k__BackingField": [
{
"$id": "6",
"Id": "fd89093c-09ad-420f-9e4f-df22ee22739f",
"ReportId": "81d14bbb-8899-47bd-ba5d-e4bdfb4a6e27",
"DataType": "sample string 3",
"TextValue": "sample string 4",
"ForeignId": "sample string 5",
"Value": 1.0,
"TaxPercent": 1.0,
"DateValue": "2026-06-21T22:50:28.7675958+02:00",
"SortOrder": 6
},
{
"$ref": "6"
}
],
"<Report>k__BackingField": {
"$id": "7",
"Id": "b167e45a-231d-4929-993b-34fe7559f9ca",
"CreationDate": "2026-06-21T22:50:28.7675958+02:00",
"ReportType": 3,
"ReportNumber": 4,
"TerminalId": "a1c1cc48-7255-4988-906e-e22fb991b597",
"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.