コンテンツにスキップ

仕入先マスタ検索

POST
/api_v1_master_supplier/search
curl -X POST https://api.next-engine.org/api_v1_master_supplier/search -H 'cache-control: no-cache' -F access_token=xxxxxx -F refresh_token=xxxxxxx -F wait_flag=1 -F 'fields=supplier_id,supplier_name,supplier_kana,supplier_zip_code,supplier_address1,supplier_address2,supplier_tel,supplier_fax,supplier_mail_address,supplier_post,supplier_pic_name,supplier_pic_kana,supplier_post_zip_code,supplier_post_address1,supplier_post_address2,supplier_post_tel,supplier_post_fax,supplier_post_mail_address,supplier_order_id,supplier_order_name,supplier_condition_quantity,supplier_condition_money,supplier_order_condition_id,supplier_order_condition_name,supplier_order_pending_date,supplier_pay_out_id,supplier_pay_out_name,supplier_closing_day,supplier_usance_date,supplier_order_invalid_flag,supplier_order_forbid_date,supplier_note,supplier_wholesale_retail_ratio,supplier_deleted_flag,supplier_creation_date,supplier_last_modified_date,supplier_last_modified_null_safe_date,supplier_creator_id,supplier_creator_name,supplier_last_modified_by_id,supplier_last_modified_by_null_safe_id,supplier_last_modified_by_name,supplier_last_modified_by_null_safe_name' -F offset=0 -F limit=1 -F supplier_name-like=%VENDOR -F supplier_id-eq=8888
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
supplier_id

仕入先コード / 文字列型

string | integer | number | boolean | null
supplier_name

仕入先名 / 文字列型

string | integer | number | boolean | null
supplier_kana

仕入先カナ / 文字列型

string | integer | number | boolean | null
supplier_zip_code

郵便番号 / 文字列型

string | integer | number | boolean | null
supplier_address1

住所1 / 文字列型

string | integer | number | boolean | null
supplier_address2

住所2 / 文字列型

string | integer | number | boolean | null
supplier_tel

電話番号 / 文字列型

string | integer | number | boolean | null
supplier_fax

FAX番号 / 文字列型

string | integer | number | boolean | null
supplier_mail_address

メールアドレス / 文字列型

string | integer | number | boolean | null
supplier_post

部署名 / 文字列型

string | integer | number | boolean | null
supplier_pic_name

担当者名 / 文字列型

string | integer | number | boolean | null
supplier_pic_kana

担当者カナ / 文字列型

string | integer | number | boolean | null
supplier_post_zip_code

部署郵便番号 / 文字列型

string | integer | number | boolean | null
supplier_post_address1

部署住所1 / 文字列型

string | integer | number | boolean | null
supplier_post_address2

部署住所2 / 文字列型

string | integer | number | boolean | null
supplier_post_tel

部署電話番号 / 文字列型

string | integer | number | boolean | null
supplier_post_fax

部署FAX / 文字列型

string | integer | number | boolean | null
supplier_post_mail_address

部署メールアドレス / 文字列型

string | integer | number | boolean | null
supplier_order_id

発注区分 / 文字列型

string | integer | number | boolean | null
supplier_order_name

発注名 / 文字列型

string | integer | number | boolean | null
supplier_condition_quantity

数量条件 / 数値型

string | integer | number | boolean | null
supplier_condition_money

金額条件 / 数値型

string | integer | number | boolean | null
supplier_order_condition_id

発注条件区分 / 文字列型

string | integer | number | boolean | null
supplier_order_condition_name

発注条件名 / 文字列型

string | integer | number | boolean | null
supplier_order_pending_date

発注保留日 / 文字列型

string | integer | number | boolean | null
supplier_pay_out_id

支払方法区分 / 文字列型

string | integer | number | boolean | null
supplier_pay_out_name

支払方法名 / 文字列型

string | integer | number | boolean | null
supplier_closing_day

締日 / 文字列型

string | integer | number | boolean | null
supplier_usance_date

支払サイト日 / 文字列型

string | integer | number | boolean | null
supplier_order_invalid_flag

発注無効フラグ / 文字列型

string | integer | number | boolean | null
supplier_order_forbid_date

発注禁止日 / 日時型

string | integer | number | boolean | null
supplier_note

備考 / 文字列型

string | integer | number | boolean | null
supplier_wholesale_retail_ratio

掛率 / 数値型

string | integer | number | boolean | null
supplier_deleted_flag

削除フラグ / 文字列型

string | integer | number | boolean | null
supplier_creation_date

作成日 / 日時型

string | integer | number | boolean | null
supplier_last_modified_date

最終更新日 / 日時型

string | integer | number | boolean | null
supplier_last_modified_null_safe_date

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

string | integer | number | boolean | null
supplier_creator_id

作成担当者ID / 数値型

string | integer | number | boolean | null
supplier_creator_name

作成担当者名 / 文字列型

string | integer | number | boolean | null
supplier_last_modified_by_id

最終更新者ID / 数値型

string | integer | number | boolean | null
supplier_last_modified_by_null_safe_id

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

string | integer | number | boolean | null
supplier_last_modified_by_name

最終更新者名 / 文字列型

string | integer | number | boolean | null
supplier_last_modified_by_null_safe_name

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

string | integer | number | boolean | null
key
additional properties
any
Example
{
"result": "success",
"count": "1",
"data": [
{
"supplier_id": "8888",
"supplier_name": "TEST VENDOR",
"supplier_kana": "",
"supplier_zip_code": "",
"supplier_address1": "",
"supplier_address2": "",
"supplier_tel": "",
"supplier_fax": "",
"supplier_mail_address": "",
"supplier_post": "",
"supplier_pic_name": "",
"supplier_pic_kana": "",
"supplier_post_zip_code": "",
"supplier_post_address1": "",
"supplier_post_address2": "",
"supplier_post_tel": "",
"supplier_post_fax": "",
"supplier_post_mail_address": "",
"supplier_order_id": "20",
"supplier_order_name": "PDFとXLS",
"supplier_condition_quantity": "0",
"supplier_condition_money": "0.00",
"supplier_order_condition_id": "0",
"supplier_order_condition_name": "無し",
"supplier_order_pending_date": null,
"supplier_pay_out_id": null,
"supplier_pay_out_name": null,
"supplier_closing_day": null,
"supplier_usance_date": null,
"supplier_order_invalid_flag": "0",
"supplier_order_forbid_date": null,
"supplier_note": "",
"supplier_wholesale_retail_ratio": "0.0",
"supplier_deleted_flag": "0",
"supplier_creation_date": "2017-02-09 16:19:57",
"supplier_last_modified_date": null,
"supplier_last_modified_null_safe_date": "2017-02-09 16:19:57",
"supplier_creator_id": "10003",
"supplier_creator_name": "xxxxxxxx",
"supplier_last_modified_by_id": null,
"supplier_last_modified_by_null_safe_id": "10003",
"supplier_last_modified_by_name": null,
"supplier_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"
}

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