サンプル
リクエスト
curl -X POST https://api.next-engine.org/api_v1_master_stock/search -H 'cache-control: no-cache' -F access_token=xxxxxx -F refresh_token=xxxxxx -F wait_flag=1 -F 'fields=stock_goods_id,stock_quantity,stock_allocation_quantity,stock_defective_quantity,stock_remaining_order_quantity,stock_out_quantity,stock_free_quantity,stock_advance_order_quantity,stock_advance_order_allocation_quantity,stock_advance_order_free_quantity,stock_deleted_flag,stock_creation_date,stock_last_modified_date,stock_last_modified_null_safe_date,stock_creator_id,stock_creator_name,stock_last_modified_by_id,stock_last_modified_by_null_safe_id,stock_last_modified_by_name,stock_last_modified_by_null_safe_name' -F stock_goods_id-eq="abcd" -F offset=0 -F limit=1
レスポンス
{
"result": "success",
"count": "1",
"data": [
{
"stock_goods_id": "abcd",
"stock_quantity": "170",
"stock_allocation_quantity": "0",
"stock_defective_quantity": "0",
"stock_remaining_order_quantity": "0",
"stock_out_quantity": "0",
"stock_free_quantity": "170",
"stock_advance_order_quantity": "102",
"stock_advance_order_allocation_quantity": "0",
"stock_advance_order_free_quantity": "102",
"stock_deleted_flag": "0",
"stock_creation_date": "2017-02-09 17:04:44",
"stock_last_modified_date": "2017-02-23 15:06:55",
"stock_last_modified_null_safe_date": "2017-02-23 15:06:55",
"stock_creator_id": "10003",
"stock_creator_name": "xxxxxxxx",
"stock_last_modified_by_id": "10003",
"stock_last_modified_by_null_safe_id": "10003",
"stock_last_modified_by_name": "xxxxxxxx",
"stock_last_modified_by_null_safe_name": "xxxxxxxxx"
}
],
"access_token":"xxxxxxxxxxx",
"access_token_end_date":"2017-04-13 18:24:53",
"refresh_token":"xxxxxxxxxxx",
"refresh_token_end_date":"2017-04-15 18:24:53"
}