URI

<datas_uri>/importedtorelationship[.<format>]

Supported methods

GET,HEAD

Parent resource

datas

Introduction

The checkImportedToRSS resource is used to check whether specified data has been imported into the relational storage.

Supported methods:

  • GET:Retrieves the results of importing specified data into the relational storage.
  • HEAD: Checks whether the checkImportedToRSS resource exists or whether the permission can access the checkImportedToRSS resource.

Supported output formats:RJSON,JSON,HTML,XML.

Resource hierarchy

HTTP request methods

Perform an HTTP request on the following URI, using rjson output format as an example, where supermapiportal is the server name.

http://supermapiportal:8190/iportal/web/datas/importedtorelationship.rjson

GET request

Retrieves the results of importing specified data into the relational storage.

Request parameters

When sending a request, the following parameters must be passed. Request parameters must be included in the URI.

Name Type Description
ids Integer[] An integer array composed of data item IDs.

Response structure

Returns a boolean array. The order of the results corresponds one-to-one with the order of data item IDs in the ids parameter. True indicates that the data has been imported into the relational storage, and false indicates that the data has not been imported.

Response example

Performing a GET request on the checkImportedToRSS resource: http://localhost:8190/iportal/web/datas/importedtorelationship.rjson?ids=[1,2] . The rjson format response is as follows:

[

    true,

    false

]

HEAD request

Returns the same HTTP response headers as a GET request, but without the response entity. Metadata information contained in the response headers can be obtained without transferring the entire response content. Metadata includes media type, character encoding, content encoding, and content length.

HEAD requests can be used to determine whether the checkImportedToRSS resource exists or whether the client has permission to access the checkImportedToRSS resource. By performing a HEAD request on a URI with .<format>, you can also quickly determine whether the checkImportedToRSS resource supports the <format> format representation.

See