GET pxapi/TimeAccountEvent?originapplicationid={originapplicationid}&changedSince={changedSince}&selection={selection}&companyId={companyId}
Gets timeaccount events for time and travel
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| originapplicationid |
Define this parameter in the request URI. |
|
| changedSince |
Define this parameter in the request URI. |
|
| selection |
Define this parameter in the request URI. |
|
| companyId |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Servertime": "2026-05-09T17:14:12.0548126+02:00",
"Timeaccountreports": [
{
"Employeeid": "sample string 1",
"Timeaccperiod": "sample string 2",
"Versioncode": "sample string 3",
"Events": [
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
},
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
},
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
}
]
},
{
"Employeeid": "sample string 1",
"Timeaccperiod": "sample string 2",
"Versioncode": "sample string 3",
"Events": [
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
},
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
},
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
}
]
},
{
"Employeeid": "sample string 1",
"Timeaccperiod": "sample string 2",
"Versioncode": "sample string 3",
"Events": [
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
},
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
},
{
"Eventtype": 1,
"Eventby": "sample string 2",
"Eventwhen": "2026-05-09T17:14:12.0548126+02:00"
}
]
}
],
"Message": {
"Messagetype": 1,
"Datareference": "sample string 2",
"Messagetext": "sample string 3",
"Created": "sample string 4",
"Noofrowssub1": 1,
"Noofrowssub2": 1,
"Noofrowssub3": 1,
"Noofrowssub4": 1,
"Noofrowssub5": 1,
"Noofrowssub6": 1,
"AutoInvoiceData": {
"Status": 1,
"Documentid": 2,
"Errortext": "sample string 3",
"Xmlfilesuffix": "sample string 4",
"Filereference": "sample string 5",
"Document": "QEBA",
"Attachments": [
{
"Attachmenttype": 1,
"Documentid": 2,
"Attachmentid": 1,
"Filereference": "sample string 3",
"Filename": "sample string 4",
"DceInvoice": "QEBA"
},
{
"Attachmenttype": 1,
"Documentid": 2,
"Attachmentid": 1,
"Filereference": "sample string 3",
"Filename": "sample string 4",
"DceInvoice": "QEBA"
},
{
"Attachmenttype": 1,
"Documentid": 2,
"Attachmentid": 1,
"Filereference": "sample string 3",
"Filename": "sample string 4",
"DceInvoice": "QEBA"
}
]
}
}
}
application/xml, text/xml
Sample:
<TimeAccountReportEventHead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Visma.PXWebApi.Domain.Entities.Registration.TimeAccount">
<Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/Visma.PXWebApi.Domain.Entities.Misc">
<d2p1:AutoInvoiceData>
<d2p1:Attachments>
<d2p1:AutoInvoiceAttachment>
<d2p1:Attachmentid>1</d2p1:Attachmentid>
<d2p1:Attachmenttype>1</d2p1:Attachmenttype>
<d2p1:DceInvoice>QEBA</d2p1:DceInvoice>
<d2p1:Documentid>2</d2p1:Documentid>
<d2p1:Filename>sample string 4</d2p1:Filename>
<d2p1:Filereference>sample string 3</d2p1:Filereference>
</d2p1:AutoInvoiceAttachment>
<d2p1:AutoInvoiceAttachment>
<d2p1:Attachmentid>1</d2p1:Attachmentid>
<d2p1:Attachmenttype>1</d2p1:Attachmenttype>
<d2p1:DceInvoice>QEBA</d2p1:DceInvoice>
<d2p1:Documentid>2</d2p1:Documentid>
<d2p1:Filename>sample string 4</d2p1:Filename>
<d2p1:Filereference>sample string 3</d2p1:Filereference>
</d2p1:AutoInvoiceAttachment>
<d2p1:AutoInvoiceAttachment>
<d2p1:Attachmentid>1</d2p1:Attachmentid>
<d2p1:Attachmenttype>1</d2p1:Attachmenttype>
<d2p1:DceInvoice>QEBA</d2p1:DceInvoice>
<d2p1:Documentid>2</d2p1:Documentid>
<d2p1:Filename>sample string 4</d2p1:Filename>
<d2p1:Filereference>sample string 3</d2p1:Filereference>
</d2p1:AutoInvoiceAttachment>
</d2p1:Attachments>
<d2p1:Document>QEBA</d2p1:Document>
<d2p1:Documentid>2</d2p1:Documentid>
<d2p1:Errortext>sample string 3</d2p1:Errortext>
<d2p1:Filereference>sample string 5</d2p1:Filereference>
<d2p1:Status>1</d2p1:Status>
<d2p1:Xmlfilesuffix>sample string 4</d2p1:Xmlfilesuffix>
</d2p1:AutoInvoiceData>
<d2p1:Created>sample string 4</d2p1:Created>
<d2p1:Datareference>sample string 2</d2p1:Datareference>
<d2p1:Messagetext>sample string 3</d2p1:Messagetext>
<d2p1:Messagetype>1</d2p1:Messagetype>
<d2p1:Noofrowssub1>1</d2p1:Noofrowssub1>
<d2p1:Noofrowssub2>1</d2p1:Noofrowssub2>
<d2p1:Noofrowssub3>1</d2p1:Noofrowssub3>
<d2p1:Noofrowssub4>1</d2p1:Noofrowssub4>
<d2p1:Noofrowssub5>1</d2p1:Noofrowssub5>
<d2p1:Noofrowssub6>1</d2p1:Noofrowssub6>
</Message>
<Servertime>2026-05-09T17:14:12.0548126+02:00</Servertime>
<Timeaccountreports>
<TimeAccountReportEvent>
<Employeeid>sample string 1</Employeeid>
<Events xmlns:d4p1="http://schemas.datacontract.org/2004/07/Visma.PXWebApi.Domain.Entities.Registration">
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
</Events>
<Timeaccperiod>sample string 2</Timeaccperiod>
<Versioncode>sample string 3</Versioncode>
</TimeAccountReportEvent>
<TimeAccountReportEvent>
<Employeeid>sample string 1</Employeeid>
<Events xmlns:d4p1="http://schemas.datacontract.org/2004/07/Visma.PXWebApi.Domain.Entities.Registration">
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
</Events>
<Timeaccperiod>sample string 2</Timeaccperiod>
<Versioncode>sample string 3</Versioncode>
</TimeAccountReportEvent>
<TimeAccountReportEvent>
<Employeeid>sample string 1</Employeeid>
<Events xmlns:d4p1="http://schemas.datacontract.org/2004/07/Visma.PXWebApi.Domain.Entities.Registration">
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
<d4p1:Event>
<d4p1:Eventby>sample string 2</d4p1:Eventby>
<d4p1:Eventtype>1</d4p1:Eventtype>
<d4p1:Eventwhen>2026-05-09T17:14:12.0548126+02:00</d4p1:Eventwhen>
</d4p1:Event>
</Events>
<Timeaccperiod>sample string 2</Timeaccperiod>
<Versioncode>sample string 3</Versioncode>
</TimeAccountReportEvent>
</Timeaccountreports>
</TimeAccountReportEventHead>