GET pxapi/Trans?changedSince={changedSince}&inclNotActiveProjects={inclNotActiveProjects}&companyId={companyId}
Retrieves transactions on projects for presence
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| changedSince | Break datetime for only listing data changed afterwards |
Define this parameter in the request URI. |
| inclNotActiveProjects | false for only active projects or true for all, no matter status |
Define this parameter in the request URI. |
| companyId | ID for the current company/PX database received by the PX Administrator |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Servertime": "2026-05-09T17:14:19.0859624+02:00",
"Transactions": [
{
"Transno": 1,
"Transtype": 2,
"Transexists": 3,
"Projectclasstype": 4,
"Project": "sample string 5",
"Activity": "sample string 6",
"Task": "sample string 7",
"Employeeid": "sample string 8",
"Employmenttype": 1,
"Timeaccperiod": "sample string 9",
"Intenddate": "2026-05-09T17:14:19.0859624+02:00",
"Timecode": "sample string 11",
"Role": "sample string 12",
"Expensecode": "sample string 13",
"Articlecode": "sample string 14",
"Profitlossid": "sample string 15",
"Hoursreported": 16.0,
"Textreported": "sample string 17",
"Namereported": "sample string 18",
"Cost": 19.0,
"Numbertoinvoice": 20.0,
"Invoiceunit": "sample string 21",
"Pricelocalcurrency": 1.0,
"Projectcurrency": "sample string 22",
"Exchangerate": 1.0,
"Price": 1.0,
"Priceeach": 23.0,
"Pricesetmanually": 24,
"Nodeb": 25,
"Internalprice": 26.0,
"Costcenterproject": "sample string 27",
"Companycodeproject": "sample string 28",
"Object2project": "sample string 29",
"Object6project": "sample string 30",
"Object7project": "sample string 31",
"Object8project": "sample string 32",
"Costcenteremployee": "sample string 33",
"Companycodeemployee": "sample string 34",
"Object2employee": "sample string 35",
"Object6employee": "sample string 36",
"Object7employee": "sample string 37",
"Object8employee": "sample string 38",
"Invoiced": 1,
"Postedinaccounting": 1
},
{
"Transno": 1,
"Transtype": 2,
"Transexists": 3,
"Projectclasstype": 4,
"Project": "sample string 5",
"Activity": "sample string 6",
"Task": "sample string 7",
"Employeeid": "sample string 8",
"Employmenttype": 1,
"Timeaccperiod": "sample string 9",
"Intenddate": "2026-05-09T17:14:19.0859624+02:00",
"Timecode": "sample string 11",
"Role": "sample string 12",
"Expensecode": "sample string 13",
"Articlecode": "sample string 14",
"Profitlossid": "sample string 15",
"Hoursreported": 16.0,
"Textreported": "sample string 17",
"Namereported": "sample string 18",
"Cost": 19.0,
"Numbertoinvoice": 20.0,
"Invoiceunit": "sample string 21",
"Pricelocalcurrency": 1.0,
"Projectcurrency": "sample string 22",
"Exchangerate": 1.0,
"Price": 1.0,
"Priceeach": 23.0,
"Pricesetmanually": 24,
"Nodeb": 25,
"Internalprice": 26.0,
"Costcenterproject": "sample string 27",
"Companycodeproject": "sample string 28",
"Object2project": "sample string 29",
"Object6project": "sample string 30",
"Object7project": "sample string 31",
"Object8project": "sample string 32",
"Costcenteremployee": "sample string 33",
"Companycodeemployee": "sample string 34",
"Object2employee": "sample string 35",
"Object6employee": "sample string 36",
"Object7employee": "sample string 37",
"Object8employee": "sample string 38",
"Invoiced": 1,
"Postedinaccounting": 1
},
{
"Transno": 1,
"Transtype": 2,
"Transexists": 3,
"Projectclasstype": 4,
"Project": "sample string 5",
"Activity": "sample string 6",
"Task": "sample string 7",
"Employeeid": "sample string 8",
"Employmenttype": 1,
"Timeaccperiod": "sample string 9",
"Intenddate": "2026-05-09T17:14:19.0859624+02:00",
"Timecode": "sample string 11",
"Role": "sample string 12",
"Expensecode": "sample string 13",
"Articlecode": "sample string 14",
"Profitlossid": "sample string 15",
"Hoursreported": 16.0,
"Textreported": "sample string 17",
"Namereported": "sample string 18",
"Cost": 19.0,
"Numbertoinvoice": 20.0,
"Invoiceunit": "sample string 21",
"Pricelocalcurrency": 1.0,
"Projectcurrency": "sample string 22",
"Exchangerate": 1.0,
"Price": 1.0,
"Priceeach": 23.0,
"Pricesetmanually": 24,
"Nodeb": 25,
"Internalprice": 26.0,
"Costcenterproject": "sample string 27",
"Companycodeproject": "sample string 28",
"Object2project": "sample string 29",
"Object6project": "sample string 30",
"Object7project": "sample string 31",
"Object8project": "sample string 32",
"Costcenteremployee": "sample string 33",
"Companycodeemployee": "sample string 34",
"Object2employee": "sample string 35",
"Object6employee": "sample string 36",
"Object7employee": "sample string 37",
"Object8employee": "sample string 38",
"Invoiced": 1,
"Postedinaccounting": 1
}
],
"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:
<TransHead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Visma.PXWebApi.Domain.Entities.Registration">
<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:19.0859624+02:00</Servertime>
<Transactions>
<Trans>
<Activity>sample string 6</Activity>
<Articlecode>sample string 14</Articlecode>
<Companycodeemployee>sample string 34</Companycodeemployee>
<Companycodeproject>sample string 28</Companycodeproject>
<Cost>19</Cost>
<Costcenteremployee>sample string 33</Costcenteremployee>
<Costcenterproject>sample string 27</Costcenterproject>
<Employeeid>sample string 8</Employeeid>
<Employmenttype>1</Employmenttype>
<Exchangerate>1</Exchangerate>
<Expensecode>sample string 13</Expensecode>
<Hoursreported>16</Hoursreported>
<Intenddate>2026-05-09T17:14:19.0859624+02:00</Intenddate>
<Internalprice>26</Internalprice>
<Invoiced>1</Invoiced>
<Invoiceunit>sample string 21</Invoiceunit>
<Namereported>sample string 18</Namereported>
<Nodeb>25</Nodeb>
<Numbertoinvoice>20</Numbertoinvoice>
<Object2employee>sample string 35</Object2employee>
<Object2project>sample string 29</Object2project>
<Object6employee>sample string 36</Object6employee>
<Object6project>sample string 30</Object6project>
<Object7employee>sample string 37</Object7employee>
<Object7project>sample string 31</Object7project>
<Object8employee>sample string 38</Object8employee>
<Object8project>sample string 32</Object8project>
<Postedinaccounting>1</Postedinaccounting>
<Price>1</Price>
<Priceeach>23</Priceeach>
<Pricelocalcurrency>1</Pricelocalcurrency>
<Pricesetmanually>24</Pricesetmanually>
<Profitlossid>sample string 15</Profitlossid>
<Project>sample string 5</Project>
<Projectclasstype>4</Projectclasstype>
<Projectcurrency>sample string 22</Projectcurrency>
<Role>sample string 12</Role>
<Task>sample string 7</Task>
<Textreported>sample string 17</Textreported>
<Timeaccperiod>sample string 9</Timeaccperiod>
<Timecode>sample string 11</Timecode>
<Transexists>3</Transexists>
<Transno>1</Transno>
<Transtype>2</Transtype>
</Trans>
<Trans>
<Activity>sample string 6</Activity>
<Articlecode>sample string 14</Articlecode>
<Companycodeemployee>sample string 34</Companycodeemployee>
<Companycodeproject>sample string 28</Companycodeproject>
<Cost>19</Cost>
<Costcenteremployee>sample string 33</Costcenteremployee>
<Costcenterproject>sample string 27</Costcenterproject>
<Employeeid>sample string 8</Employeeid>
<Employmenttype>1</Employmenttype>
<Exchangerate>1</Exchangerate>
<Expensecode>sample string 13</Expensecode>
<Hoursreported>16</Hoursreported>
<Intenddate>2026-05-09T17:14:19.0859624+02:00</Intenddate>
<Internalprice>26</Internalprice>
<Invoiced>1</Invoiced>
<Invoiceunit>sample string 21</Invoiceunit>
<Namereported>sample string 18</Namereported>
<Nodeb>25</Nodeb>
<Numbertoinvoice>20</Numbertoinvoice>
<Object2employee>sample string 35</Object2employee>
<Object2project>sample string 29</Object2project>
<Object6employee>sample string 36</Object6employee>
<Object6project>sample string 30</Object6project>
<Object7employee>sample string 37</Object7employee>
<Object7project>sample string 31</Object7project>
<Object8employee>sample string 38</Object8employee>
<Object8project>sample string 32</Object8project>
<Postedinaccounting>1</Postedinaccounting>
<Price>1</Price>
<Priceeach>23</Priceeach>
<Pricelocalcurrency>1</Pricelocalcurrency>
<Pricesetmanually>24</Pricesetmanually>
<Profitlossid>sample string 15</Profitlossid>
<Project>sample string 5</Project>
<Projectclasstype>4</Projectclasstype>
<Projectcurrency>sample string 22</Projectcurrency>
<Role>sample string 12</Role>
<Task>sample string 7</Task>
<Textreported>sample string 17</Textreported>
<Timeaccperiod>sample string 9</Timeaccperiod>
<Timecode>sample string 11</Timecode>
<Transexists>3</Transexists>
<Transno>1</Transno>
<Transtype>2</Transtype>
</Trans>
<Trans>
<Activity>sample string 6</Activity>
<Articlecode>sample string 14</Articlecode>
<Companycodeemployee>sample string 34</Companycodeemployee>
<Companycodeproject>sample string 28</Companycodeproject>
<Cost>19</Cost>
<Costcenteremployee>sample string 33</Costcenteremployee>
<Costcenterproject>sample string 27</Costcenterproject>
<Employeeid>sample string 8</Employeeid>
<Employmenttype>1</Employmenttype>
<Exchangerate>1</Exchangerate>
<Expensecode>sample string 13</Expensecode>
<Hoursreported>16</Hoursreported>
<Intenddate>2026-05-09T17:14:19.0859624+02:00</Intenddate>
<Internalprice>26</Internalprice>
<Invoiced>1</Invoiced>
<Invoiceunit>sample string 21</Invoiceunit>
<Namereported>sample string 18</Namereported>
<Nodeb>25</Nodeb>
<Numbertoinvoice>20</Numbertoinvoice>
<Object2employee>sample string 35</Object2employee>
<Object2project>sample string 29</Object2project>
<Object6employee>sample string 36</Object6employee>
<Object6project>sample string 30</Object6project>
<Object7employee>sample string 37</Object7employee>
<Object7project>sample string 31</Object7project>
<Object8employee>sample string 38</Object8employee>
<Object8project>sample string 32</Object8project>
<Postedinaccounting>1</Postedinaccounting>
<Price>1</Price>
<Priceeach>23</Priceeach>
<Pricelocalcurrency>1</Pricelocalcurrency>
<Pricesetmanually>24</Pricesetmanually>
<Profitlossid>sample string 15</Profitlossid>
<Project>sample string 5</Project>
<Projectclasstype>4</Projectclasstype>
<Projectcurrency>sample string 22</Projectcurrency>
<Role>sample string 12</Role>
<Task>sample string 7</Task>
<Textreported>sample string 17</Textreported>
<Timeaccperiod>sample string 9</Timeaccperiod>
<Timecode>sample string 11</Timecode>
<Transexists>3</Transexists>
<Transno>1</Transno>
<Transtype>2</Transtype>
</Trans>
</Transactions>
</TransHead>