サンプル
リクエスト
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'access_token=xxxxx&refresh_token=xxxxx&wait_flag=1&fields=supply_order_id,supply_order_supplier_id,supply_order_type_id,supply_order_type_name,supply_order_date,supply_order_delivery_id,supply_order_correspond_order_id,supply_order_original_order_id,supply_order_amount,supply_order_status_id,supply_order_status_name,supply_order_deleted_flag,supply_order_creation_date,supply_order_last_modified_date,supply_order_last_modified_null_safe_date,supply_order_creator_id,supply_order_creator_name,supply_order_last_modified_by_id,supply_order_last_modified_by_null_safe_id,supply_order_last_modified_by_name,supply_order_last_modified_by_null_safe_name&offset=0&limit=10&supply_order_last_modified_null_safe_date-gt=2018-01-23 13:53:52' https://api.next-engine.org/api_v1_supplyorder_base/search
レスポンス
{
"result": "success",
"count": "2",
"data": [
{
"supply_order_id": "1",
"supply_order_supplier_id": "5555",
"supply_order_type_id": "0",
"supply_order_type_name": "通常仕入",
"supply_order_date": "2018-02-23 13:51:57",
"supply_order_delivery_id": "",
"supply_order_correspond_order_id": "0",
"supply_order_original_order_id": null,
"supply_order_amount": "1050.00",
"supply_order_status_id": "0",
"supply_order_status_name": "条件未達成",
"supply_order_deleted_flag": "0",
"supply_order_creation_date": "2018-02-23 13:51:57",
"supply_order_last_modified_date": "2018-02-23 13:51:57",
"supply_order_last_modified_null_safe_date": "2018-02-23 13:51:57",
"supply_order_creator_id": "10012",
"supply_order_creator_name": "Le Hung",
"supply_order_last_modified_by_id": "10012",
"supply_order_last_modified_by_name": "Le Hung",
"supply_order_last_modified_by_null_safe_name": "Le Hung"
},
{
"supply_order_id": "2",
"supply_order_supplier_id": "5555",
"supply_order_type_id": "0",
"supply_order_type_name": "通常仕入",
"supply_order_date": "2018-02-23 13:53:52",
"supply_order_delivery_id": "",
"supply_order_correspond_order_id": "0",
"supply_order_original_order_id": null,
"supply_order_amount": "350000.00",
"supply_order_status_id": "0",
"supply_order_status_name": "条件未達成",
"supply_order_deleted_flag": "0",
"supply_order_creation_date": "2018-02-23 13:53:52",
"supply_order_last_modified_date": "2018-02-23 13:53:52",
"supply_order_last_modified_null_safe_date": "2018-02-23 13:53:52",
"supply_order_creator_id": "10012",
"supply_order_creator_name": "Le Hung",
"supply_order_last_modified_by_id": "10012",
"supply_order_last_modified_by_name": "Le Hung",
"supply_order_last_modified_by_null_safe_name": "Le Hung"
}
],
"access_token": "xxxxxxxxxx",
"access_token_end_date": "2018-02-24 12:13:16",
"refresh_token": "xxxxxxxxxx",
"refresh_token_end_date": "2018-02-26 12:13:16"
}