コンテンツにスキップ

仕入明細検索

POST
/api_v1_supplyorder_row/search
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_row_no,supply_order_row_goods_id,supply_order_row_goods_name,supply_order_row_goods_option,supply_order_row_surplus_quantity,supply_order_row_quantity,supply_order_row_unit_price,supply_order_row_sub_total_price,supply_order_row_order_id,supply_order_row_order_row_no,supply_order_row_receive_order_id,supply_order_row_receive_order_row_no,supply_order_row_status,supply_order_row_completed_flag,supply_order_row_note,supply_order_row_deleted_flag,supply_order_row_creation_date,supply_order_row_last_modified_date,supply_order_row_last_modified_null_safe_date,supply_order_row_creator_id,supply_order_row_creator_name,supply_order_row_last_modified_by_id,supply_order_row_last_modified_by_null_safe_id,supply_order_row_last_modified_by_name,supply_order_row_last_modified_by_null_safe_name&offset=0&limit=10&supply_order_id-eq=1' https://api.next-engine.org/api_v1_supplyorder_row/search
Media type application/x-www-form-urlencoded
object
access_token
required

OAuth2 アクセストークン (必須)

string
refresh_token

OAuth2 リフレッシュトークン (access_token 期限切れ時の自動更新に使用)

string
wait_flag

同期実行フラグ。“1” 指定で処理完了を待つ

string
Allowed values: 0 1
fields

取得するフィールドをカンマ区切りで指定 (search 系のみ)

string
offset

検索開始位置 (search 系のみ)

integer
limit

取得件数 (search 系のみ)

integer
>= 1

実行結果 (result が success / error / redirect のいずれか)

Media type application/json
object
result
required

実行結果ステータス

string
Allowed values: success error redirect
code

エラー時のエラーコード

string
message
One of:
string
access_token

更新後のアクセストークン

string
access_token_end_date

アクセストークン有効期限 (YYYY-MM-DD HH:MM:SS)

string
refresh_token

更新後のリフレッシュトークン

string
refresh_token_end_date

リフレッシュトークン有効期限

string
data

エンドポイント固有のレスポンスデータ

count

Count/search 系のヒット件数 (form-urlencoded レスポンスでは文字列で返ることがある)

integer | string
data
Array<object>
object
supply_order_row_supply_order_id

仕入伝票番号 / 数値型

string | integer | number | boolean | null
supply_order_row_no

仕入明細行 / 数値型

string | integer | number | boolean | null
supply_order_row_goods_id

商品コード / 文字列型

string | integer | number | boolean | null
supply_order_row_goods_name

商品名 / 文字列型

string | integer | number | boolean | null
supply_order_row_goods_option

商品オプション / 文字列型

string | integer | number | boolean | null
supply_order_row_surplus_quantity

余剰数 / 数値型

string | integer | number | boolean | null
supply_order_row_quantity

仕入数 / 数値型

string | integer | number | boolean | null
supply_order_row_unit_price

仕入単価 / 数値型

string | integer | number | boolean | null
supply_order_row_sub_total_price

小計金 / 数値型

string | integer | number | boolean | null
supply_order_row_order_id

発注伝票番号 / 数値型

string | integer | number | boolean | null
supply_order_row_order_row_no

発注明細行 / 数値型

string | integer | number | boolean | null
supply_order_row_receive_order_id

受注伝票番号 / 数値型

string | integer | number | boolean | null
supply_order_row_receive_order_row_no

受注明細行 / 数値型

string | integer | number | boolean | null
supply_order_row_status

仕入明細行区分 / 文字列型 / 0:通常仕入, 95:不良品振替

string | integer | number | boolean | null
supply_order_row_completed_flag

仕入完了状態 / 文字列型 / 0:未完了,1:完了

string | integer | number | boolean | null
supply_order_row_note

備考 / 文字列型

string | integer | number | boolean | null
supply_order_row_deleted_flag

削除フラグ / 文字列型 / 1:有効 1以外:無効

string | integer | number | boolean | null
supply_order_row_creation_date

作成日 / 日時型

string | integer | number | boolean | null
supply_order_row_last_modified_date

最終更新日 / 日時型

string | integer | number | boolean | null
supply_order_row_last_modified_null_safe_date

最終更新日 / 日時型 / NULLの場合作成日

string | integer | number | boolean | null
supply_order_row_creator_id

作成担当者ID / 数値型

string | integer | number | boolean | null
supply_order_row_creator_name

作成担当者名 / 文字列型

string | integer | number | boolean | null
supply_order_row_last_modified_by_id

最終更新者ID / 数値型

string | integer | number | boolean | null
supply_order_row_last_modified_by_null_safe_id

最終更新者ID / 数値型 / NULLの場合作成者ID

string | integer | number | boolean | null
supply_order_row_last_modified_by_name

最終更新者名 / 文字列型

string | integer | number | boolean | null
supply_order_row_last_modified_by_null_safe_name

最終更新者名 / 文字列型 / NULLの場合作成者名

string | integer | number | boolean | null
key
additional properties
any
Example
{
"result": "success",
"count": "3",
"data": [
{
"supply_order_id": "1",
"supply_order_row_no": "1",
"supply_order_row_goods_id": "bn,nm",
"supply_order_row_goods_name": "2",
"supply_order_row_goods_option": "",
"supply_order_row_surplus_quantity": "250",
"supply_order_row_quantity": "250",
"supply_order_row_unit_price": "1.00",
"supply_order_row_sub_total_price": "250.00",
"supply_order_row_order_id": "0",
"supply_order_row_order_row_no": "1",
"supply_order_row_receive_order_id": "0",
"supply_order_row_receive_order_row_no": "0",
"supply_order_row_status": "0",
"supply_order_row_completed_flag": "0",
"supply_order_row_note": "",
"supply_order_row_deleted_flag": "0",
"supply_order_row_creation_date": "2018-02-23 13:51:57",
"supply_order_row_last_modified_date": "2018-02-23 13:51:57",
"supply_order_row_last_modified_null_safe_date": "2018-02-23 13:51:57",
"supply_order_row_creator_id": "10012",
"supply_order_row_creator_name": "Le Hung",
"supply_order_row_last_modified_by_id": "10012",
"supply_order_row_last_modified_by_null_safe_id": "10012",
"supply_order_row_last_modified_by_name": "Le Hung",
"supply_order_row_last_modified_by_null_safe_name": "Le Hung"
},
{
"supply_order_id": "1",
"supply_order_row_no": "2",
"supply_order_row_goods_id": ",,inverter300-12v60hz_fuse",
"supply_order_row_goods_name": "インバーター定格300W 12DCV 60Hz用予備ヒューズ",
"supply_order_row_goods_option": "",
"supply_order_row_surplus_quantity": "350",
"supply_order_row_quantity": "350",
"supply_order_row_unit_price": "1.00",
"supply_order_row_sub_total_price": "350.00",
"supply_order_row_order_id": "0",
"supply_order_row_order_row_no": "2",
"supply_order_row_receive_order_id": "0",
"supply_order_row_receive_order_row_no": "0",
"supply_order_row_status": "0",
"supply_order_row_completed_flag": "0",
"supply_order_row_note": "",
"supply_order_row_deleted_flag": "0",
"supply_order_row_creation_date": "2018-02-23 13:51:57",
"supply_order_row_last_modified_date": "2018-02-23 13:51:57",
"supply_order_row_last_modified_null_safe_date": "2018-02-23 13:51:57",
"supply_order_row_creator_id": "10012",
"supply_order_row_creator_name": "Le Hung",
"supply_order_row_last_modified_by_id": "10012",
"supply_order_row_last_modified_by_null_safe_id": "10012",
"supply_order_row_last_modified_by_name": "Le Hung",
"supply_order_row_last_modified_by_null_safe_name": "Le Hung"
},
{
"supply_order_id": "1",
"supply_order_row_no": "3",
"supply_order_row_goods_id": ",,,,,bnnnm",
"supply_order_row_goods_name": "1",
"supply_order_row_goods_option": "",
"supply_order_row_surplus_quantity": "450",
"supply_order_row_quantity": "450",
"supply_order_row_unit_price": "1.00",
"supply_order_row_sub_total_price": "450.00",
"supply_order_row_order_id": "0",
"supply_order_row_order_row_no": "3",
"supply_order_row_receive_order_id": "0",
"supply_order_row_receive_order_row_no": "0",
"supply_order_row_status": "0",
"supply_order_row_completed_flag": "0",
"supply_order_row_note": "",
"supply_order_row_deleted_flag": "0",
"supply_order_row_creation_date": "2018-02-23 13:51:57",
"supply_order_row_last_modified_date": "2018-02-23 13:51:57",
"supply_order_row_last_modified_null_safe_date": "2018-02-23 13:51:57",
"supply_order_row_creator_id": "10012",
"supply_order_row_creator_name": "Le Hung",
"supply_order_row_last_modified_by_id": "10012",
"supply_order_row_last_modified_by_null_safe_id": "10012",
"supply_order_row_last_modified_by_name": "Le Hung",
"supply_order_row_last_modified_by_null_safe_name": "Le Hung"
}
],
"access_token": "xxxxx",
"access_token_end_date": "2018-02-24 12:13:16",
"refresh_token": "xxxxx",
"refresh_token_end_date": "2018-02-26 12:13:16"
}

クライアントエラー (HTTP ステータス自体は 200 + result=error で返ることが多い)

Media type application/json
object
result
required

実行結果ステータス

string
Allowed values: success error redirect
code

エラー時のエラーコード

string
message
One of:
string
access_token

更新後のアクセストークン

string
access_token_end_date

アクセストークン有効期限 (YYYY-MM-DD HH:MM:SS)

string
refresh_token

更新後のリフレッシュトークン

string
refresh_token_end_date

リフレッシュトークン有効期限

string
data

エンドポイント固有のレスポンスデータ

count

Count/search 系のヒット件数 (form-urlencoded レスポンスでは文字列で返ることがある)

integer | string
Example
{
"result": "success"
}