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": "22c11356-8440-479c-89ff-8c4552c30747",
"<TerminalId>k__BackingField": "f8e2ff62-dbdd-415b-96a9-0ab2081529bf",
"<Terminal>k__BackingField": {
"$id": "2",
"Id": "d7981e53-94e3-430b-b325-79767cbf51c7",
"OutletId": "ff70eb37-62eb-4435-91da-81b1eb8cc40e",
"Outlet": {
"$id": "3",
"Id": "7246b6f0-8d6b-4373-95fb-2701625629bf",
"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-08-06T01:31:39.2048613+02:00",
"Updated": "2026-08-06T01:31:39.2048613+02:00",
"WarehouseID": "ef6b70f9-24d0-4074-942e-fa38d740ca49",
"WhLocationId": "731cbb46-1005-47d3-b73f-5b3758d18664",
"ExpiryDate": "2026-08-06T01:31:39.2048613+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": "8fb1c0fc-9f16-47c8-93b2-2c9bc06e6757",
"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,
"KitchenPrinterId": 12,
"LicenseKey": "sample string 13",
"ExpiryDate": "sample string 14",
"LicenseType": "sample string 15",
"LicenseStatus": true,
"IsDeleted": true,
"IsDataSynced": true,
"PriceListId": "c7d648d3-2adb-476e-aa96-46ac461e8981",
"IsLoggedOut": true,
"IsDisabled": true,
"Created": "2026-08-06T01:31:39.2048613+02:00",
"Updated": "2026-08-06T01:31:39.2048613+02:00",
"LastClosed": "2026-08-06T01:31:39.2048613+02:00",
"StatusLog": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"CashDrawer": [
{
"$id": "4",
"Id": "751cf017-67ee-4529-a3d3-860740e568a4",
"Name": "sample string 2",
"Location": "sample string 3",
"UserId": "sample string 4",
"TerminalId": "cde2ec94-ddd8-498f-a630-5dd4956de3b3",
"ConnectionString": "sample string 6",
"Logs": [
{
"$id": "5",
"<Id>k__BackingField": "a70805e9-d246-4013-9016-9900f1baf35c",
"<CashDrawerId>k__BackingField": "e5131479-23c2-4b7f-821a-13fd81587cfd",
"<CashDrawer>k__BackingField": {
"$ref": "4"
},
"<ActivityDate>k__BackingField": "2026-08-06T01:31:39.2048613+02:00",
"<ActivityType>k__BackingField": 1,
"<UserId>k__BackingField": "sample string 4",
"<Amount>k__BackingField": 5.0,
"<OrderId>k__BackingField": "db000533-9945-4654-b92b-810109e0d103",
"<Synced>k__BackingField": 7
},
{
"$ref": "5"
}
]
},
{
"$ref": "4"
}
],
"InActive": true,
"IsOpen": false,
"IsExpired": true,
"TerminalType": "d7f56488-d39b-4a0c-b536-ca5409cb92f7"
},
"<ActivityDate>k__BackingField": "2026-08-06T01:31:39.2048613+02:00",
"<UserId>k__BackingField": "sample string 4",
"<ReportId>k__BackingField": "7b817824-9dfb-4943-87da-2302a621aca2",
"<Status>k__BackingField": 0,
"<Synced>k__BackingField": 6,
"<ReportData>k__BackingField": [
{
"$id": "6",
"Id": "6e5f8153-59ca-4751-ae39-8181d72b31bf",
"ReportId": "36902838-7984-4b74-8ca2-29174470ab5d",
"DataType": "sample string 3",
"TextValue": "sample string 4",
"ForeignId": "sample string 5",
"Value": 1.0,
"TaxPercent": 1.0,
"DateValue": "2026-08-06T01:31:39.2048613+02:00",
"SortOrder": 6
},
{
"$ref": "6"
}
],
"<Report>k__BackingField": {
"$id": "7",
"Id": "a7533046-4e18-4972-92eb-2a67c0b3472b",
"CreationDate": "2026-08-06T01:31:39.2048613+02:00",
"ReportType": 3,
"ReportNumber": 4,
"TerminalId": "9c7975f0-bf1e-4976-86ce-01880143061c",
"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.