SpecialDialog - Create special dialog registrations
API Url
Use it to create special dialog registrations for slaughter house solution
POST
http://localhost:16010/ProMarkRESTweb/Terminal/special-dialog
Permissions: user
Request headers
| Field | Type | Description |
|---|---|---|
Accept-Languageoptional | String | =en-GB Language use for localization. |
X-Clientoptional | String | =Client type. "Portal""Mobile""Admin" |
X-Roleoptional | Number | ProMark role (1: Employee, 2: User). {12} |
X-WebPart-Idoptional | Number | Unique web-part identifier. |
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | |
| registrations | Object[] | Terminal registrations |
| date | Date | Date of registration |
| resultLine | String | Data line |
| stateId | Number | State/condition identifier |
| time | Number | Time of registration |
| specialDialogue | Number | Special dialogue number |
| terminal | Number | Terminal identifier |
Request example:
{"request":{"data":{"terminal": 1301,"specialDialogue": 1,"registrations":[{"time": 28800,"date": "2020-12-02","stateId": 7,"resultLine": " JOB40001234 ID80000321"}]}}}
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |