コンテンツにスキップ
お問い合わせ

受注伝票オプション検索

POST
/api_v1_receiveorder_option/search
curl -X POST -H 'content-type: application/x-www-form-urlencoded' \ -d 'access_token=xxx&refresh_token=xxx8&wait_flag=1&fields=xxx&receive_order_option_receive_order_id-eq=xxx&offset=0&limit=10' \ https://api.next-engine.org/api_v1_receiveorder_option/search
Media typeapplication/x-www-form-urlencoded
object
access_token
required

Access_token取得により取得した値

string
refresh_token

Access_token取得により取得した値 / 【指定してaccess_tokenの有効期限が切れた場合】 正常に出力パラメータが設定されaccess_tokenとrefresh_tokenが新しい値に更新されます 【省略してaccess_tokenの有効期限が切れた場合】 出力パラメータ「result」の値がredirectになります(成功時以外の出力パラメータ参照)

string
wait_flag

1:メイン機能過負荷でも可能な限りエラーにせず実行1以外:メイン機能過負荷の場合、003002のエラーを返却 / 詳細はパラメータ共通事項「待機フラグについて」を参照して下さい / 省略時: 1以外とする

string
fields
required

検索結果で取得するフィールドをカンマ区切りで指定(SELECT句相当) / 例:商品マスタ検索で「goods_id, goods_name, stock_quantity, supplier_name」を指定した場合、「商品コード、商品名、在庫数、仕入先名」を検索結果として取得します / 指定できる項目名: receive_order_option_receive_order_id, receive_order_option_single_word_memo, receive_order_option_message, receive_order_option_noshi, receive_order_option_rapping, receive_order_option_1, receive_order_option_2, receive_order_option_3, receive_order_option_4, receive_order_option_5, receive_order_option_6, receive_order_option_7, receive_order_option_8, receive_order_option_9, receive_order_option_10, receive_order_option_received_time_shop_coupon, receive_order_option_received_time_mall_coupon, receive_order_option_creation_date, receive_order_option_last_modified_date, receive_order_option_last_modified_null_safe_date, receive_order_option_creator_id, receive_order_option_creator_name, receive_order_option_last_modified_by_id, receive_order_option_last_modified_by_null_safe_id, receive_order_option_last_modified_by_name, receive_order_option_last_modified_by_null_safe_name

string
offset

オフセットの数値(OFFSET句相当) / 0:一番最初の検索結果から取得、1:2番めの検索結果から取得・・・ / 省略時: 0

integer
0
limit

取得数の数値(LIMIT句相当) / 省略時: 10000

integer
default: 10000 >= 1
key
additional properties

キーは「フィールド名-比較演算子」(WHERE句のカラムと比較演算子相当) / 検索条件の値(WHERE句の値相当) / 例:商品マスタ検索でパラメータ:goods_id-like、値:“%-red”と指定した場合、商品コードが*-redの商品マスタを検索します

string

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

Media typeapplication/json
object
result
required

success / success以外の場合の出力パラメータは成功時以外の出力パラメータ参照

string
access_token

入力パラメータで指定したaccess_token/新たに発行されたaccess_token / 有効なrefresh_tokenを指定してaccess_tokenの有効期限がきれた場合、新たに発行(この時点から1日有効)されたaccess_tokenになります

string
access_token_end_date

Access_tokenの有効期限切れ日時

string
refresh_token

入力パラメータで指定したrefresh_token/新たに発行されたrefresh_token / access_tokenが新しく発行された場合、新たに発行(この時点から3日有効)されたrefresh_tokenになります

string
refresh_token_end_date

Refresh_tokenの有効期限切れ日時

string
count

検索結果の件数

integer | string
data

検索結果の連想配列(JSONのオブジェクト型)

Array<object>
object
receive_order_option_receive_order_id

伝票番号 / 数値型 / ネクストエンジン内で一意に付与される番号

string | integer | number | boolean | null
receive_order_option_single_word_memo

一言メモ / 文字列型

string | integer | number | boolean | null
receive_order_option_message

メッセージ / 文字列型

string | integer | number | boolean | null
receive_order_option_noshi

のし / 文字列型

string | integer | number | boolean | null
receive_order_option_rapping

ラッピング / 文字列型

string | integer | number | boolean | null
receive_order_option_1

オプション1 / 文字列型

string | integer | number | boolean | null
receive_order_option_2

オプション2 / 文字列型

string | integer | number | boolean | null
receive_order_option_3

オプション3 / 文字列型

string | integer | number | boolean | null
receive_order_option_4

オプション4 / 文字列型

string | integer | number | boolean | null
receive_order_option_5

オプション5 / 文字列型

string | integer | number | boolean | null
receive_order_option_6

オプション6 / 文字列型

string | integer | number | boolean | null
receive_order_option_7

オプション7 / 文字列型

string | integer | number | boolean | null
receive_order_option_8

オプション8 / 文字列型

string | integer | number | boolean | null
receive_order_option_9

オプション9 / 文字列型

string | integer | number | boolean | null
receive_order_option_10

オプション10 / 文字列型

string | integer | number | boolean | null
receive_order_option_received_time_shop_coupon

受注時店舗原資クーポン / 数値型 / 楽天とYahoo!に対応しています。

string | integer | number | boolean | null
receive_order_option_received_time_mall_coupon

受注時モール原資クーポン / 数値型 / 楽天とYahoo!に対応しています。

string | integer | number | boolean | null
receive_order_option_creation_date

作成日 / 日時型

string | integer | number | boolean | null
receive_order_option_last_modified_date

最終更新日 / 日時型

string | integer | number | boolean | null
receive_order_option_last_modified_null_safe_date

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

string | integer | number | boolean | null
receive_order_option_creator_id

作成担当者ID / 数値型

string | integer | number | boolean | null
receive_order_option_creator_name

作成担当者名 / 文字列型

string | integer | number | boolean | null
receive_order_option_last_modified_by_id

最終更新者ID / 数値型

string | integer | number | boolean | null
receive_order_option_last_modified_by_null_safe_id

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

string | integer | number | boolean | null
receive_order_option_last_modified_by_name

最終更新者名 / 文字列型

string | integer | number | boolean | null
receive_order_option_last_modified_by_null_safe_name

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

string | integer | number | boolean | null
key
additional properties
any

Example

{
"result": "success",
"count": "1",
"data": [
{
"receive_order_option_receive_order_id": "1",
"receive_order_option_single_word_memo": "",
"receive_order_option_message": "",
"receive_order_option_noshi": "",
"receive_order_option_rapping": "",
"receive_order_option_1": "",
"receive_order_option_2": "",
"receive_order_option_3": "",
"receive_order_option_4": "",
"receive_order_option_5": "",
"receive_order_option_6": "",
"receive_order_option_7": "",
"receive_order_option_8": "",
"receive_order_option_9": "",
"receive_order_option_10": "",
"receive_order_option_received_time_shop_coupon": "0.00",
"receive_order_option_received_time_mall_coupon": "0.00",
"receive_order_option_deleted_flag": "0",
"receive_order_option_creation_date": "2017-01-19 12:55:38",
"receive_order_option_last_modified_date": "2017-04-14 16:24:36",
"receive_order_option_last_modified_null_safe_date": "2017-04-14 16:24:36",
"receive_order_option_creator_id": "10002",
"receive_order_option_creator_name": "xxx",
"receive_order_option_last_modified_by_id": "10003",
"receive_order_option_last_modified_by_null_safe_id": "10003",
"receive_order_option_last_modified_by_name": "xxx",
"receive_order_option_last_modified_by_null_safe_name": "xxx"
}
],
"access_token": "xxx",
"access_token_end_date": "2017-04-18 11:19:26",
"refresh_token": "xxx",
"refresh_token_end_date": "2017-04-20 11:19:26"
}

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

Media typeapplication/json

失敗時の応答。パラメータ共通事項の「成功時以外の出力パラメータ」を参照

object
result
required

Error(code にエラー原因のメッセージコード、message にエラーメッセージ)または redirect(再ログインのため uid・state 取得にリダイレクトする)

string
code

エラーコード

string
message
One of:
string

Example generated

{
"result": "example",
"code": "example",
"message": [
{}
]
}