In the Case of Send Request

You can get all information of the Browser Transfer Settings (for Send Request).

By specifying a query parameter, you can get the Browser Transfer Settings information satisfying the search condition you set.

Request Interface

HTTP Request

GET /browser-transfer/definition/hulft-to-browser

Parameter

There is no individual parameter for this request.

For details on common request parameters for Site API, refer to Common Parameter.

Authorization

In the API Key Management screen in Management Console, 'Browser Send Request' under the 'Scopes' field must be selected as 'Get'.

Response Interface

If the request is processed successfully, the following response is returned in JSON format.

{
    "totalSize":50,
    "fetchSize":1,
    "startIndex":0,
    "maxResults":1,
    "hulftToBrowserDefinitions":[
        {
            "hulftToBrowserDefinitionId":"browser1",
            "description":"xxxxxxxxxxxxx",
            "fileId":"FILEID1",
            "memo":"memo1",
            "browser":{
                    "connectionId":"id1",
                    "agentId":"agent1",
                    "hostName":"HWC-BROWSER",
                    "useReceiveFileName":"true",
                    "receiveFileName":"file1"
            },
            "hulft":{
                    "connectionId":"id2",
                    "agentId":"agent2",
                    "hostName":"host",
                    "hulftRequestAcknowledgePort":31000,
                    "msg0":"xxxxxxxxxxxxx",
                    "msg1":"xxxxxxxxxxxxx",
                    "msg2":"xxxxxxxxxxxxx",
                    "msg3":"xxxxxxxxxxxxx",
                    "msg4":"xxxxxxxxxxxxx",
                    "msg5":"xxxxxxxxxxxxx",
                    "msgl0":"xxxxxxxxxxxxx",
                    "msgl1":"xxxxxxxxxxxxx"
            }
        }
    ]
}

Property Name

Value

Description

totalSize

integer

The total number of data

fetchSize

integer

The number of the obtained data

startIndex

integer

Index of the first row of a data to retrieve

maxResults

integer

The maximum number of indexes included in a response data

hulftToBrowserDefinitions

array

Transfer settings

hulftToBrowserDefinitionId

string

Transfer Settings ID

description

string

Description of the transfer settings

fileId

string

File ID of HULFT on the remote machine

memo

string

Note for the settings

browser

object

Browser Definition

connectionId

string

Connection ID of the browser side

agentId

string

ID to identify the browser

hostName

string

Host information of the browser side (fixed value)

useReceiveFileName

string

Whether to specify the Receive file name displayed on the browser side

receiveFileName

string

Receive file name displayed on the browser side

hulft

object

Agent / HULFT Definition

connectionId

string

Connection ID of the remote machine

agentId

string

Agent ID of the remote machine

hostName

string

Host information of HULFT on the remote machine

hulftRequestAcknowledgePort

integer

Request Acknowledge Port No. of HULFT on the remote machine

msg0

string

Message sent as 'msg0' to HULFT on the remote machine

msg1

string

Message sent as 'msg1' to HULFT on the remote machine

msg2

string

Message sent as 'msg2' to HULFT on the remote machine

msg3

string

Message sent as 'msg3' to HULFT on the remote machine

msg4

string

Message sent as 'msg4' to HULFT on the remote machine

msg5

string

Message sent as 'msg5' to HULFT on the remote machine

msgl0

string

Message sent as 'msgl0' to HULFT on the remote machine

msgl1

string

Message sent as 'msgl1' to HULFT on the remote machine

Examples

public static void main(String[] args) {
    String host = "https://www.webconnect.hulft.com";
    String apiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    try {
        URL url = new URL(host + "/api/v2/browser-transfer/definition/hulft-to-browser");
        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';
$.ajax({
  type: 'GET',
  url: host + '/api/v2/browser-transfer/definition/hulft-to-browser',
  headers: {
    Authorization: 'Bearer ' + apiKey
  }
}).done(function(data, status, xhr) {
  console.log(data);
}).fail(function(data, status, xhr) {
  console.log(data);
});