Approval - Get registration details
API Url
Used for loading details of a registration.
GET
http://localhost:16010/ProMarkREST/rest/Approval/registrations/{transSeq}/details
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| transSeq | Number | Transaction unique identifier |
Query parameters
| Field | Type | Description |
|---|---|---|
intermediateAccountsoptional | Boolean | If TRUE then postings on intermediate accounts are returned |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| details | Object | Collection of transaction detail lines |
| info | Object | Line information |
| no | Object | Line no. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Success example
HTTP/1.1 200 OK{"response": {"data": {"details": [{"no": 1,"info": "Time of entry: 2017-10-06 09:02:58"},{"no": 2,"info": "Clock-out 2017-09-29 15:00:00 Day profile: BH Bo Haslund, flex profile"},{"no": 3,"info": " Posting: A002 Sick 2 1:30 Hours Dep: AUTHOR"},{"no": 4,"info": " Posting: A005 Bereavement 1:30 Hours"},{"no": 5,"info": " Posting: HVBB Break time 0:30 Hours"}]},"errorCode": 0,"errorMessage": ""}}