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": "6dc421ad-df68-40dd-876c-510823ab4ac3",
"<TerminalId>k__BackingField": "75c86173-686e-4119-9112-5b5ab18b1010",
"<Terminal>k__BackingField": {
"$id": "2",
"Id": "44edd984-ea74-41f5-b124-533158bc2ec5",
"OutletId": "98316f45-f2fe-432b-b550-254297fe3efe",
"Outlet": {
"$id": "3",
"Id": "4d32acee-ea36-412d-a8b0-ec19431bad81",
"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-03-21T23:44:27.0081799+01:00",
"Updated": "2026-03-21T23:44:27.0081799+01:00",
"WarehouseID": "834bc176-909c-4fdc-836c-f997f70a7167",
"WhLocationId": "bc1412e2-555c-45f6-aea0-a513441198f7",
"ExpiryDate": "2026-03-21T23:44:27.0081799+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": "b155c621-393e-4b96-b7ac-55591649957a",
"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": "5a8e20ab-47b3-4cea-b05d-ad56bd68dc05",
"IsLoggedOut": true,
"IsDisabled": true,
"Created": "2026-03-21T23:44:27.0081799+01:00",
"Updated": "2026-03-21T23:44:27.0081799+01:00",
"LastClosed": "2026-03-21T23:44:27.0081799+01:00",
"StatusLog": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"CashDrawer": [
{
"$id": "4",
"Id": "7ee59e08-3d0b-46b1-91cd-c1e9fd29424a",
"Name": "sample string 2",
"Location": "sample string 3",
"UserId": "sample string 4",
"TerminalId": "9e10d7ce-6401-40d0-89de-36c665947e92",
"ConnectionString": "sample string 6",
"Logs": [
{
"$id": "5",
"<Id>k__BackingField": "9bc82016-d10a-433c-a82a-ea121f16d408",
"<CashDrawerId>k__BackingField": "6df9cda2-8083-4a00-b8a3-7f479099a39e",
"<CashDrawer>k__BackingField": {
"$ref": "4"
},
"<ActivityDate>k__BackingField": "2026-03-21T23:44:27.0081799+01:00",
"<ActivityType>k__BackingField": 1,
"<UserId>k__BackingField": "sample string 4",
"<Amount>k__BackingField": 5.0,
"<OrderId>k__BackingField": "a6a19e1b-8834-4094-8abe-47f67cb39fe0",
"<Synced>k__BackingField": 7
},
{
"$ref": "5"
}
]
},
{
"$ref": "4"
}
],
"InActive": true,
"IsOpen": false,
"IsExpired": true,
"TerminalType": "42aa9953-c7b0-43c9-8599-b5c1e2150883"
},
"<ActivityDate>k__BackingField": "2026-03-21T23:44:27.0081799+01:00",
"<UserId>k__BackingField": "sample string 4",
"<ReportId>k__BackingField": "e85c8bf1-2fdb-466c-9b52-1497f0ef41b9",
"<Status>k__BackingField": 0,
"<Synced>k__BackingField": 6,
"<ReportData>k__BackingField": [
{
"$id": "6",
"Id": "1e6a7e7f-d4e3-4d5b-a958-81c2dcfd222b",
"ReportId": "dd2ca51c-858c-404d-a696-e737a6546b75",
"DataType": "sample string 3",
"TextValue": "sample string 4",
"ForeignId": "sample string 5",
"Value": 1.0,
"TaxPercent": 1.0,
"DateValue": "2026-03-21T23:44:27.0081799+01:00",
"SortOrder": 6
},
{
"$ref": "6"
}
],
"<Report>k__BackingField": {
"$id": "7",
"Id": "acd7499b-8ce7-4036-a697-91626fd80109",
"CreationDate": "2026-03-21T23:44:27.0081799+01:00",
"ReportType": 3,
"ReportNumber": 4,
"TerminalId": "e59d0e0b-652c-43f3-b32e-08189689b24c",
"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.