douzhuo1858 2015-09-23 19:55
浏览 53
已采纳

Quickbooks Web API - 从quickbooks中提取数据[关闭]

I would like to be able to pull data from an existing online QB setup that I have access to, specifically all customers data that are sub accounts of a specific parent account. I would then like to add the data to a html table. Is this possible and if so where do I start? Thanks.

  • 写回答

1条回答 默认 最新

  • dsuxcxqep31023992 2015-09-24 01:53
    关注

    Is this possible

    Yes.

    where do I start?

    If I was you... I would start by searching. This question gets answered over and over and over again on StackOverflow, and there's tons of Google results too.

    But... here's an overview:

    Look in the docs/ directory of the above QuickBooks PHP open-source code. There's lot of examples of querying QuickBooks Online for data. Specifically, you're probably going to want some code that looks like this:

    $CustomerService = new QuickBooks_IPP_Service_Customer();
    $customers = $CustomerService->query($Context, $realm, "SELECT * FROM Customer MAXRESULTS 25");
    foreach ($customers as $Customer)
    {
        print('Customer Id=' . $Customer->getId() . ' is named: ' . $Customer->getFullyQualifiedName() . '<br>');
    }
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#java#的问题,请各位专家解答!
  • ¥15 急matlab编程仿真二阶震荡系统
  • ¥20 TEC-9的数据通路实验
  • ¥15 ue5 .3之前好好的现在只要是激活关卡就会崩溃
  • ¥50 MATLAB实现圆柱体容器内球形颗粒堆积
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件