dongxia1390 2017-11-20 22:40
浏览 11
已采纳

CLIO只按显示号码返回物号

Clio seems to have no solution but to ask it here. So here I go.

I have the display number and I want to query the Matter ID. This does not seem to be possible unless I do I x-bulk query the loop throw the results.

Does anyone have a simple query to do this?

here is what I have for PHP so far.

function matter_one ( $token,$refresh_toke ) {
    $header = 'Authorization: bearer '.$token."
";
    //echo $header."
";
    $offset = 0;
    $url = 'https://app.clio.com/api/v4/matters.json?&fields=id,description,display_number';
    //echo $url."
";
    $ch = curl_init();
    //curl_setopt($ch, CURLOPT_VERBOSE, true); //used for trouble shooting.
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_HTTPHEADER, array($header));
    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_HEADER, true);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $resp = curl_exec($ch);
    print "curl response is:" . $resp;
    die();
  • 写回答

3条回答 默认 最新

  • duangengruan2144 2017-11-29 23:17
    关注

    There is a better way, use https://app.clio.com/api/v4/matters?fields=id,display_number&query=100140

    you will need to loop and check the display number does actualy match as 100140 and 100140B and 10014000 would be returned also.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探