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": "cd7e0225-4428-4e9e-855a-fbaa2a607613",
"<TerminalId>k__BackingField": "a0df23c9-53a7-45d2-941e-dbdf6c28a3bb",
"<Terminal>k__BackingField": {
"$id": "2",
"Id": "84a307f4-5324-4117-8092-c45afc55c035",
"OutletId": "bb5bc786-7f83-46f8-86c1-fdd17bdc9cbb",
"Outlet": {
"$id": "3",
"Id": "df863473-7ad9-49c7-bc99-f4944cdc2618",
"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-09-20T13:19:28.0151967+02:00",
"Updated": "2026-09-20T13:19:28.0151967+02:00",
"WarehouseID": "7d46df9b-5c5c-4987-910e-10f20a905846",
"WhLocationId": "13ed5755-14d9-44a2-9035-8fb86eb800c8",
"ExpiryDate": "2026-09-20T13:19:28.0151967+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": "eeaf454f-6d22-418a-aaad-050d7db162f5",
"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": "2082b6d4-002f-4d9a-8637-6c90c5a5f73d",
"IsLoggedOut": true,
"IsDisabled": true,
"Created": "2026-09-20T13:19:28.0151967+02:00",
"Updated": "2026-09-20T13:19:28.0151967+02:00",
"LastClosed": "2026-09-20T13:19:28.0151967+02:00",
"StatusLog": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"CashDrawer": [
{
"$id": "4",
"Id": "0727d54c-f98c-418b-8d48-02360abd4c44",
"Name": "sample string 2",
"Location": "sample string 3",
"UserId": "sample string 4",
"TerminalId": "6a0da36a-7d5b-4c5f-af14-de79581e9c88",
"ConnectionString": "sample string 6",
"Logs": [
{
"$id": "5",
"<Id>k__BackingField": "1a1aade7-45dc-4f5f-802f-885bbd59a393",
"<CashDrawerId>k__BackingField": "d7939a9b-db88-40b6-8e22-89c15203116d",
"<CashDrawer>k__BackingField": {
"$ref": "4"
},
"<ActivityDate>k__BackingField": "2026-09-20T13:19:28.0151967+02:00",
"<ActivityType>k__BackingField": 1,
"<UserId>k__BackingField": "sample string 4",
"<Amount>k__BackingField": 5.0,
"<OrderId>k__BackingField": "41255ab9-ea87-4dc3-9ad7-036239c77913",
"<Synced>k__BackingField": 7
},
{
"$ref": "5"
}
]
},
{
"$ref": "4"
}
],
"InActive": true,
"IsOpen": false,
"IsExpired": true,
"TerminalType": "3518310d-d23d-4c7b-84e2-85b4847b0725"
},
"<ActivityDate>k__BackingField": "2026-09-20T13:19:28.0151967+02:00",
"<UserId>k__BackingField": "sample string 4",
"<ReportId>k__BackingField": "76d76cbe-2186-40ea-a8e5-500c93fbff43",
"<Status>k__BackingField": 0,
"<Synced>k__BackingField": 6,
"<ReportData>k__BackingField": [
{
"$id": "6",
"Id": "ee6a7f97-e413-4c10-97e3-89b72476c06e",
"ReportId": "2db01217-1334-4ce3-99c1-f48869c176d3",
"DataType": "sample string 3",
"TextValue": "sample string 4",
"ForeignId": "sample string 5",
"Value": 1.0,
"TaxPercent": 1.0,
"DateValue": "2026-09-20T13:19:28.0151967+02:00",
"SortOrder": 6
},
{
"$ref": "6"
}
],
"<Report>k__BackingField": {
"$id": "7",
"Id": "813384b2-1515-4aa1-b405-3575d88157ce",
"CreationDate": "2026-09-20T13:19:28.0308195+02:00",
"ReportType": 3,
"ReportNumber": 4,
"TerminalId": "08ec2a37-e5ec-4e51-88ec-5aa41812ad73",
"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.