コンテンツにスキップ

通貨単位区分情報取得

POST
/api_v1_system_currencyunit/info
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \ -d 'access_token=xxxxxxxxxxxxxx&refresh_token=xxxxxxxxxxxxxx&wait_flag=1' \ "https://api.next-engine.org/api_v1_system_currencyunit/info"
Media type application/x-www-form-urlencoded

ネクストエンジン API 共通リクエストパラメータ

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
currencyunit_id

通貨単位区分名 / 文字列型

string | integer | number | boolean | null
currencyunit_name

通貨単位名 / 文字列型

string | integer | number | boolean | null
key
additional properties
any
Example
{
"result": "success",
"count": "17",
"data": [
{
"currency_unit_id": "1",
"currency_unit_name": ""
},
{
"currency_unit_id": "16",
"currency_unit_name": "韓国ウォン"
},
{
"currency_unit_id": "15",
"currency_unit_name": "インドネシア・ルピア"
},
{
"currency_unit_id": "14",
"currency_unit_name": "インド・ルピー"
},
{
"currency_unit_id": "13",
"currency_unit_name": "タイ・バーツ"
},
{
"currency_unit_id": "12",
"currency_unit_name": "中国・人民元"
},
{
"currency_unit_id": "11",
"currency_unit_name": "シンガポール・ドル"
},
{
"currency_unit_id": "10",
"currency_unit_name": "マレーシア・リンギット"
},
{
"currency_unit_id": "9",
"currency_unit_name": "香港ドル"
},
{
"currency_unit_id": "8",
"currency_unit_name": "ニュージーランド・ドル"
},
{
"currency_unit_id": "7",
"currency_unit_name": "オーストラリア・ドル"
},
{
"currency_unit_id": "6",
"currency_unit_name": "スイス・フラン"
},
{
"currency_unit_id": "5",
"currency_unit_name": "英ポンド"
},
{
"currency_unit_id": "4",
"currency_unit_name": "カナダ・ドル"
},
{
"currency_unit_id": "3",
"currency_unit_name": "ユーロ"
},
{
"currency_unit_id": "2",
"currency_unit_name": "米ドル"
},
{
"currency_unit_id": "17",
"currency_unit_name": "フィリピン・ペソ"
}
],
"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"
}