ข้ามไปยังเนื้อหาหลัก

What method/object do I call from the MyAdmin SDK to get the current billing costs per device for all of the current devices in our account?

Seth-1151
ผู้โพสต์ต้นฉบับ

I need to pull this information via Javascript or PHP into an excel sheet on a monthly basis automatically for KPI purposes.

เข้าร่วมการสนทนา

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

คำตอบที่ดีที่สุด

jpaz-1560
จีโอแท็บเบอร์

Hi @Seth-1151​,

You can use the GetDeviceContractTransactions api call providing the necessary filters for the billing period you're looking for, this will return an array of ApiDeviceContractTransaction objects with the billing details for each device.

 

You can review more about these calls in the MyAdmin SDK reference site and a guide on how to make the calls in JavaScript here.

3 การตอบกลับ

jpaz-1560
จีโอแท็บเบอร์

Hi @Seth-1151​,

You can use the GetDeviceContractTransactions api call providing the necessary filters for the billing period you're looking for, this will return an array of ApiDeviceContractTransaction objects with the billing details for each device.

 

You can review more about these calls in the MyAdmin SDK reference site and a guide on how to make the calls in JavaScript here.

Seth-1151
ผู้โพสต์ต้นฉบับ

Thank you, @jpaz-1560​ ​

Hi,

Were you able to get multiple ERP codes with this or just one ERP Code?

ยังมีคำถามอีกไหม