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": "d67dda60-88e1-495a-b634-e784904fa63d",
"<TerminalId>k__BackingField": "2bf1217f-f124-4963-b653-0d121f25c70e",
"<Terminal>k__BackingField": {
"$id": "2",
"Id": "c01c4ad7-e1cd-4726-bba0-900e5b999b82",
"OutletId": "1bbfde24-e582-4640-9270-6155db77dd22",
"Outlet": {
"$id": "3",
"Id": "1fe083ca-93c5-4a06-9e3b-81e6b816e82c",
"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-02-04T04:12:32.2860771+01:00",
"Updated": "2026-02-04T04:12:32.2860771+01:00",
"WarehouseID": "95e84189-3bd1-41db-8caf-876f2c5e74f2",
"WhLocationId": "3fca7008-0503-4837-9c90-c81bf7642d5a",
"ExpiryDate": "2026-02-04T04:12:32.2860771+01: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": "fa2d1282-45b0-47c1-9974-793e056c4f68",
"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": "d6ff1d33-b90c-4e1d-a66d-d83ca957b0e5",
"IsLoggedOut": true,
"IsDisabled": true,
"Created": "2026-02-04T04:12:32.2860771+01:00",
"Updated": "2026-02-04T04:12:32.2860771+01:00",
"LastClosed": "2026-02-04T04:12:32.2860771+01:00",
"StatusLog": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"CashDrawer": [
{
"$id": "4",
"Id": "a6e7222c-9769-4c77-9354-b9ee41ba2228",
"Name": "sample string 2",
"Location": "sample string 3",
"UserId": "sample string 4",
"TerminalId": "c0fafd31-c0f0-47b1-b07c-d864dd55706b",
"ConnectionString": "sample string 6",
"Logs": [
{
"$id": "5",
"<Id>k__BackingField": "0f0a35e5-5a88-4a4c-9791-4ea4a231c01d",
"<CashDrawerId>k__BackingField": "dd2dec3c-bac0-4fec-8c1b-88b93583e022",
"<CashDrawer>k__BackingField": {
"$ref": "4"
},
"<ActivityDate>k__BackingField": "2026-02-04T04:12:32.2860771+01:00",
"<ActivityType>k__BackingField": 1,
"<UserId>k__BackingField": "sample string 4",
"<Amount>k__BackingField": 5.0,
"<OrderId>k__BackingField": "d10f4a3a-7e8d-4938-a5a6-679c663b51f5",
"<Synced>k__BackingField": 7
},
{
"$ref": "5"
}
]
},
{
"$ref": "4"
}
],
"InActive": true,
"IsOpen": false,
"IsExpired": true,
"TerminalType": "58ba2b3f-ee2c-4be8-8ca1-2f4675d5c7b6"
},
"<ActivityDate>k__BackingField": "2026-02-04T04:12:32.2860771+01:00",
"<UserId>k__BackingField": "sample string 4",
"<ReportId>k__BackingField": "16b7666b-d061-4738-a0d0-abdd616182ac",
"<Status>k__BackingField": 0,
"<Synced>k__BackingField": 6,
"<ReportData>k__BackingField": [
{
"$id": "6",
"Id": "83f1ffe5-d2df-4f94-96f5-cbc898f9b383",
"ReportId": "83afe038-7856-409c-b12c-e8ddb58e5cf2",
"DataType": "sample string 3",
"TextValue": "sample string 4",
"ForeignId": "sample string 5",
"Value": 1.0,
"TaxPercent": 1.0,
"DateValue": "2026-02-04T04:12:32.2860771+01:00",
"SortOrder": 6
},
{
"$ref": "6"
}
],
"<Report>k__BackingField": {
"$id": "7",
"Id": "60d7fb6f-6030-445c-93dd-c0f1d4ca7484",
"CreationDate": "2026-02-04T04:12:32.2860771+01:00",
"ReportType": 3,
"ReportNumber": 4,
"TerminalId": "291d7d51-28e6-4e9d-8c4e-2bb206ddcad8",
"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.