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

FieldTypeDescription
transSeqNumber

Transaction unique identifier

Query parameters

FieldTypeDescription
intermediateAccountsoptionalBoolean

If TRUE then postings on intermediate accounts are returned

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    detailsObject

Collection of transaction detail lines

      infoObject

Line information

      noObject

Line no.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"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": ""
}
}