コンテンツにスキップ

発注明細検索

POST
/api_v1_placeorder_row/search
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'access_token=xxxxx&refresh_token=xxxxx&wait_flag=1&fields=place_order_row_place_order_id,place_order_row_no,place_order_row_goods_id,place_order_row_goods_type_id,place_order_row_goods_type_name,place_order_row_goods_name,place_order_row_goods_option,place_order_row_unit_price,place_order_row_place_quantity,place_order_row_sub_total_price,place_order_row_receive_order_id,place_order_row_receive_order_row_no,place_order_row_supply_quantity,place_order_row_cancel_flag,place_order_row_completed_flag,place_order_row_confirmed_flag,place_order_row_type_id,place_order_row_type_name,place_order_row_note,place_order_row_delivery_date,place_order_row_creation_date,place_order_row_creator_id,place_order_row_creator_name,place_order_row_last_modified_date,place_order_row_last_modified_by_id,place_order_row_last_modified_by_name&offset=0&limit=10' https://api.next-engine.org/api_v1_placeorder_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
place_order_row_place_order_id

発注伝票番号 / 数値型

string | integer | number | boolean | null
place_order_row_no

発注明細行 / 数値型

string | integer | number | boolean | null
place_order_row_goods_id

商品コード / 文字列型

string | integer | number | boolean | null
place_order_row_goods_type_id

商品区分 / 文字列型

string | integer | number | boolean | null
place_order_row_goods_type_name

商品区分名 / 文字列型

string | integer | number | boolean | null
place_order_row_goods_name

商品名 / 文字列型

string | integer | number | boolean | null
place_order_row_goods_option

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

string | integer | number | boolean | null
place_order_row_unit_price

発注単価 / 数値型

string | integer | number | boolean | null
place_order_row_place_quantity

発注数 / 数値型

string | integer | number | boolean | null
place_order_row_sub_total_price

小計金 / 数値型

string | integer | number | boolean | null
place_order_row_receive_order_id

受注伝票番号 / 数値型

string | integer | number | boolean | null
place_order_row_receive_order_row_no

受注明細行 / 数値型

string | integer | number | boolean | null
place_order_row_supply_quantity

仕入数 / 数値型

string | integer | number | boolean | null
place_order_row_cancel_flag

キャンセルフラグ / 文字列型 / 1:キャンセル 1以外:キャンセルでない

string | integer | number | boolean | null
place_order_row_completed_flag

完了フラグ / 文字列型 / 1:完了 1以外:完了でない

string | integer | number | boolean | null
place_order_row_type_id

発注種別区分 / 文字列型

string | integer | number | boolean | null
place_order_row_type_name

発注種別区分名 / 文字列型

string | integer | number | boolean | null
place_order_row_note

備考 / 文字列型

string | integer | number | boolean | null
place_order_row_delivery_date

予定納期 / 日時型

string | integer | number | boolean | null
place_order_row_creation_date

作成日 / 日時型

string | integer | number | boolean | null
place_order_row_last_modified_date

最終更新日 / 日時型

string | integer | number | boolean | null
place_order_row_last_modified_null_safe_date

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

string | integer | number | boolean | null
place_order_row_creator_id

作成担当者ID / 数値型

string | integer | number | boolean | null
place_order_row_creator_name

作成担当者名 / 文字列型

string | integer | number | boolean | null
place_order_row_last_modified_by_id

最終更新者ID / 数値型

string | integer | number | boolean | null
place_order_row_last_modified_by_null_safe_id

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

string | integer | number | boolean | null
place_order_row_last_modified_by_name

最終更新者名 / 文字列型

string | integer | number | boolean | null
place_order_row_last_modified_by_null_safe_name

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

string | integer | number | boolean | null
key
additional properties
any
Example
{
"result": "success",
"count": "1",
"data": [
{
"place_order_row_place_order_id": "1",
"place_order_row_no": "1",
"place_order_row_goods_id": "test",
"place_order_row_goods_type_id": "0",
"place_order_row_goods_type_name": "通常",
"place_order_row_goods_name": "test",
"place_order_row_goods_option": " ",
"place_order_row_unit_price": "1.00",
"place_order_row_place_quantity": "2",
"place_order_row_sub_total_price": "2.00",
"place_order_row_receive_order_id": "0",
"place_order_row_receive_order_row_no": "0",
"place_order_row_supply_quantity": "0",
"place_order_row_cancel_flag": "0",
"place_order_row_completed_flag": "0",
"place_order_row_confirmed_flag": "1",
"place_order_row_type_id": "2",
"place_order_row_type_name": "手入力",
"place_order_row_note": "",
"place_order_row_delivery_date": "2019-09-24 00:00:00",
"place_order_row_creation_date": "2019-09-24 14:50:01",
"place_order_row_creator_id": "2",
"place_order_row_creator_name": "2019-03-26のユーザー",
"place_order_row_last_modified_date": "2019-09-24 14:50:01",
"place_order_row_last_modified_by_id": "2",
"place_order_row_last_modified_by_name": "2019-03-26のユーザー"
}
],
"access_token": "xxxx",
"access_token_end_date": "2022-10-01 14:55:24",
"refresh_token": "xxxx",
"refresh_token_end_date": "2022-10-03 14:55:24"
}

クライアントエラー (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"
}