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": "a78941c1-0e7d-4ca0-9572-20e9f137424b",
"<TerminalId>k__BackingField": "98028064-582c-4c33-8411-8450c3aa039e",
"<Terminal>k__BackingField": {
"$id": "2",
"Id": "6b38e923-d24d-4845-90d5-daa97cb297f5",
"OutletId": "854ca4be-1411-4658-88e5-bdf5870a3160",
"Outlet": {
"$id": "3",
"Id": "06ef70b3-4c86-4848-86f1-32c47b2e4b83",
"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-11-04T13:36:39.2283364+01:00",
"Updated": "2026-11-04T13:36:39.2283364+01:00",
"WarehouseID": "c480aa27-1ca1-40f4-a7a7-eb834f4d0a5f",
"WhLocationId": "b4cd7145-bed8-4938-bee9-38797a247aa8",
"ExpiryDate": "2026-11-04T13:36:39.2283364+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": "5405d5aa-7605-4b99-8d95-93839e7c124f",
"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": "e20063f3-5618-4577-ab1f-780638ad180b",
"IsLoggedOut": true,
"IsDisabled": true,
"Created": "2026-11-04T13:36:39.2283364+01:00",
"Updated": "2026-11-04T13:36:39.2283364+01:00",
"LastClosed": "2026-11-04T13:36:39.2283364+01:00",
"StatusLog": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"CashDrawer": [
{
"$id": "4",
"Id": "305fa0ea-2e3a-46de-af2c-91956cff9f84",
"Name": "sample string 2",
"Location": "sample string 3",
"UserId": "sample string 4",
"TerminalId": "561172a2-8707-4f68-82cc-35018340aaa3",
"ConnectionString": "sample string 6",
"Logs": [
{
"$id": "5",
"<Id>k__BackingField": "8155435e-5fa4-4ded-888c-4e98a637a27e",
"<CashDrawerId>k__BackingField": "55a0b96b-c2b1-4d51-b81f-e5c136b9e6da",
"<CashDrawer>k__BackingField": {
"$ref": "4"
},
"<ActivityDate>k__BackingField": "2026-11-04T13:36:39.2283364+01:00",
"<ActivityType>k__BackingField": 1,
"<UserId>k__BackingField": "sample string 4",
"<Amount>k__BackingField": 5.0,
"<OrderId>k__BackingField": "00d961cd-24f4-4ef0-a122-39ae3a68f96a",
"<Synced>k__BackingField": 7
},
{
"$ref": "5"
}
]
},
{
"$ref": "4"
}
],
"InActive": true,
"IsOpen": false,
"IsExpired": true,
"TerminalType": "19edeaaa-fb9d-4a7f-a56d-634a5c60c9a0"
},
"<ActivityDate>k__BackingField": "2026-11-04T13:36:39.2283364+01:00",
"<UserId>k__BackingField": "sample string 4",
"<ReportId>k__BackingField": "f225b733-d43b-4eff-a443-df4ead40cab7",
"<Status>k__BackingField": 0,
"<Synced>k__BackingField": 6,
"<ReportData>k__BackingField": [
{
"$id": "6",
"Id": "acacc1dc-2e63-4be4-b007-34830a1af1e9",
"ReportId": "4545a763-054e-47c9-8c12-3249a0e6753c",
"DataType": "sample string 3",
"TextValue": "sample string 4",
"ForeignId": "sample string 5",
"Value": 1.0,
"TaxPercent": 1.0,
"DateValue": "2026-11-04T13:36:39.2283364+01:00",
"SortOrder": 6
},
{
"$ref": "6"
}
],
"<Report>k__BackingField": {
"$id": "7",
"Id": "c6a0c801-709e-44ce-9660-8a1e1e8c2bad",
"CreationDate": "2026-11-04T13:36:39.2283364+01:00",
"ReportType": 3,
"ReportNumber": 4,
"TerminalId": "4030888f-d769-4ac5-a07d-63e0d33501d2",
"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.