POST api/Order/PostReports
Post z-reports
Request Information
URI Parameters
None.
Body Parameters
Terminal StatusLog includiing infor of Report and Report data
TerminalStatusLogName | 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": "4aec1ea9-131a-4382-b934-e8d91b502161", "<TerminalId>k__BackingField": "8b43392f-4e53-41dc-ab09-71692ac0b3f1", "<Terminal>k__BackingField": { "$id": "2", "Id": "33b8309f-05d9-497f-9611-e458b0a96cc2", "OutletId": "c08f840d-3cd6-4b90-b476-51c7b8a475b7", "Outlet": { "$id": "3", "Id": "1e20da54-2290-4e52-8393-b4252d51470e", "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": "2024-05-16T16:45:24.6584432+02:00", "Updated": "2024-05-16T16:45:24.6584432+02:00", "WarehouseID": "55783852-cff7-43b7-b0d8-cf2641600d87", "WhLocationId": "42a7207c-6bb3-4dea-9dbc-7fd1d1e24eb3", "ExpiryDate": "2024-05-16T16:45:24.6594442+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": "a2721bab-df84-428a-8d5e-9addfdb14d52", "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": "2ebe0379-b71f-4713-8bfb-3a6fef291a66", "IsLoggedOut": true, "Created": "2024-05-16T16:45:24.6624436+02:00", "Updated": "2024-05-16T16:45:24.6624436+02:00", "LastClosed": "2024-05-16T16:45:24.6624436+02:00", "StatusLog": [ { "$ref": "1" }, { "$ref": "1" } ], "CashDrawer": [ { "$id": "4", "Id": "a7df5cec-5df6-4cf8-a4ce-71f475b6318e", "Name": "sample string 2", "Location": "sample string 3", "UserId": "sample string 4", "TerminalId": "a9c42ee9-1630-4a2a-90ab-02649d6bdc2c", "ConnectionString": "sample string 6", "Logs": [ { "$id": "5", "<Id>k__BackingField": "e616ddc9-5e96-4247-b87b-cd4e9da474f1", "<CashDrawerId>k__BackingField": "6f295a5b-f5dc-4ecf-841d-9300c45e99c1", "<CashDrawer>k__BackingField": { "$ref": "4" }, "<ActivityDate>k__BackingField": "2024-05-16T16:45:24.6634446+02:00", "<ActivityType>k__BackingField": 1, "<UserId>k__BackingField": "sample string 4", "<Amount>k__BackingField": 5.0, "<OrderId>k__BackingField": "c7e2a2f5-428a-466f-ba12-b67abaa91b59", "<Synced>k__BackingField": 7 }, { "$ref": "5" } ] }, { "$ref": "4" } ], "IsOpen": false, "IsExpired": true, "TerminalType": "acc34ee0-e3a0-4fd6-94ea-2cda1d6d7d39" }, "<ActivityDate>k__BackingField": "2024-05-16T16:45:24.6644443+02:00", "<UserId>k__BackingField": "sample string 4", "<ReportId>k__BackingField": "860ab1be-950b-4343-a513-c6cd8ebca808", "<Status>k__BackingField": 0, "<Synced>k__BackingField": 6, "<ReportData>k__BackingField": [ { "$id": "6", "Id": "e9af501b-60ba-40ad-a309-609d7c758abf", "ReportId": "445cc10a-6dd8-4339-b297-b74005139460", "DataType": "sample string 3", "TextValue": "sample string 4", "ForeignId": "sample string 5", "Value": 1.0, "TaxPercent": 1.0, "DateValue": "2024-05-16T16:45:24.6664445+02:00", "SortOrder": 6 }, { "$ref": "6" } ], "<Report>k__BackingField": { "$id": "7", "Id": "f0c0aaa5-d433-477b-a24a-d3c319d9f4a8", "CreationDate": "2024-05-16T16:45:24.6664445+02:00", "ReportType": 3, "ReportNumber": 4, "TerminalId": "816d0518-92f9-423b-9a7c-17253709e334", "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.