Assembly: Dt;
The IDtRestProvider interface contains properties and methods of the Import from REST data provider.
IDtRestProvider
To work with REST service via HTTPS protocol, use a security certificate in the PEM format:
In Linux OS execute one of the operations:
Add certificate contents to the /etc/ssl/certs/ca-certificates.crt file in Debian-based distributions and to the /etc/pki/tls/certs/ca-bundle.crt file in RedHat-based distributions and in ALT Linux.
Add a certificate with the *.pem extension to the /etc/ssl/certs folder in Debian-based distributions and to the /etc/pki/tls/certs folder in RedHat-based distributions and in ALT Linux.
In Windows OS:
Start the built-in application Manage Computer Certificates.
Add the certificate to the Trusted Root Certification Authorities > Certificates folder.
| Property name | Brief description | |
![]() |
Credentials | The Credentials property returns parameters of the credentials that are used to connect to REST service. |
![]() |
Headers | The Headers property returns the collection of HTTP headers. |
![]() |
ResultProvider | The ResultProvider property returns settings of the data provider that will handle the response from REST service. |
![]() |
ResultType | The ResultType property determines a data format, in which the response from REST service is to be obtained. |
![]() |
Timeout | The Timeout property determines timeout for REST service response. |
![]() |
Url | The Url property determines an URL of the REST service, to which requests to get data are to be sent. |
| Property name | Brief description | |
![]() |
AutoFillFieldsMode | The AutoFillFieldsMode property determines the field type detection mode of the data provider. |
![]() |
CalcFieldsErrors | The CalcFieldsErrors property returns a collection of errors appeared on calculated fields calculation. |
![]() |
Eof | The Eof property returns True if the cursor in the data provider is on the last record. |
![]() |
FetchErrors | The FetchErrors property returns errors occurred on data import. |
![]() |
FilterIf | The FilterIf property returns condition of loading of records from data provider. |
![]() |
StringDataFormat | The StringDataFormat property returns settings used on data identification. |
![]() |
TypeGuessRows | The TypeGuessRows property determines number of rows, by means of which the data type of each field will be determined. |
| Property name | Brief description | |
![]() |
Active | The Active property returns data provider or data consumer state. |
![]() |
Fields | The Fields property returns data provider/data consumer fields description. |
![]() |
GetType | The GetType property returns data provider/data consumer type. |
![]() |
Metabase | The Metabase property determines the repository, in which data is imported or exported. |
| Method name | Brief description | |
![]() |
Fetch | The Fetch method reads data of the current record from the data provider. |
![]() |
FetchRows | The FetchRows method reads data of the specified number of entries from the data provider and returns the number of actually read entries. |
![]() |
ReadingRowsCount | The ReadingRowsCount method returns the number of records read from the data provider with taking into account loading condition. |
![]() |
ReadingRowsTotalCount | The ReadingRowsTotalCount method returns the number of records read from the data provider without taking into account loading condition. |
| Method name | Brief description | |
![]() |
ClearFields | The ClearFields method clears fields list of the data provider/data consumer. |
![]() |
Close | The Close method closes data provider or data consumer. |
![]() |
FieldsFromFile | The FieldsFromFile method reads fields list from the source file. |
![]() |
Load | The Load method loads data provider/data consumer parameters from XML. |
![]() |
Open | The Open method opens data provider or data consumer. |
![]() |
Save | The Save method saves data provider/data consumer parameters in XML format. |
See also: