1 件取得

参照可能なブラウザ転送グループ設定を1 件取得します 。

Request Interface

HTTP Request

GET /browser-transfer-groups/{browserTransferGroupId}

Parameter

Path Parameter

Value

Required

Description

Default Value

browserTransferGroupId

string

true

ID of the Browser Transfer Group to get. (32 alphanumeric characters)

-

Response Interface

リクエストが正常に処理された場合、以下の JSON フォーマットでレスポンスを返却します。

{
	"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
	"name": "xxxxxxxx",
	"account": {
		"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
		"mailAddress": "sample@example.com"
	},
	"browserToHulftDefinitions":[{"id":"xxxxxxxx","description":null}],
	"hulftToBrowserDefinitions":[{"id":"xxxxxxxx","description":null}],
	"enabled": true,
	"memo": "xxxxxxxxxxxxxxxxxxxxxx"
}
		

Property Name

Value

Description

id

string

ID of the registered Browser Transfer Group.

name

string

Name of the Browser Transfer Group.

account

object

Account that is assigned to the group.

id

string

Account ID.

mailAddress

string

Email address of the account.

browserToHulftDefinitions

array

Object array of the grouped Browser Send File settings.

hulftToBrowserDefinitions

array

Object array of the grouped Browser Send Request settings.

enabled

boolean

Availability of the Browser Transfer Group.

memo

string

Note for the Browser Transfer Group.

Examples

public static void main(String[] args) {
        String host = "https://www.webconnect.hulft.com";
        String apiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
        String browserTransferGroupId = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
        try {
                URL url = new URL(host + "/api/v2/browser-transfer-groups/" + browserTransferGroupId);
                HttpURLConnection connection = (HttpURLConnection) url.openConnection();
                connection.setRequestMethod("GET");
                connection.setRequestProperty("Authorization", "Bearer " + apiKey);
                try (BufferedReader reader = 
		   new BufferedReader(new InputStreamReader(connection.getInputStream()))) {
                        String line;
                        while((line = reader.readLine()) != null) {
                                System.out.println(line);
                        }
                }
        } catch (IOException ex) {
                // error
        }
}
                

// load jquery 
var host = 'https://www.webconnect.hulft.com';
var apiKey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
var browserTransferGroupId = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
$.ajax({
  type: 'GET',
  url: host + '/api/v2/browser-transfer-groups/' + browserTransferGroupId,
  headers: {
    Authorization: 'Bearer ' + apiKey
  }
}).done(function(data, status, xhr) {
  console.log(data);
}).fail(function(data, status, xhr) {
  console.log(data);
});