Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Connector Toolkit
  3. Before you begin
  4. Develop a connector for Cloud Data Integration
  5. Develop a connector for Data Loader
  6. Import a connector
  7. Connection attributes
  8. Type system
  9. Connector metadata
  10. Partitioning capability
  11. Pushdown capability
  12. Mappings in advanced mode
  13. Manual changes to Informatica Connector Toolkit source code
  14. Runtime behavior
  15. Connector example: MySQL_Cloud
  16. Version control integration
  17. Appendix A: Metadata models
  18. Appendix B: ASO model
  19. Appendix C: Connector project migration
  20. Appendix D: Frequently used generic APIs in Informatica Connector Toolkit
  21. Appendix E: Frequently asked questions

Cloud Data Integration Connector Toolkit Developer Guide

Cloud Data Integration Connector Toolkit Developer Guide

Configure advanced capabilities in swagger-based method

Configure advanced capabilities in swagger-based method

When you use the Swagger-based method to generate metadata for an object of hierarchical type, you can configure the pagination details for the API response.
You can use link-based or cursor-based pagination.
  1. Click
    Configure Advanced Capabilities
    .
    Configure advanced capabilities for the connector.
  2. Select the pagination type.
    • No Pagination. All the records are displayed in a single page.
    • Link-based. The API response includes a field that contains the URL for the next page.
      For example,
      "next_page": "https://api.example.com/items?page=2"
      The following image shows the sample response for link-based pagination:
      Image shows the sample response for link-based pagination
    • Cursor-based. The API response includes a field that indicates whether there are more records available after the current set of records.
      For example,
      "has_more": true
      The following image shows the sample response for cursor-based pagination:
      Image shows the sample response for cursor-based pagination
  3. To use
    Link-based
    pagination type, configure the following fields:
    1. In the
      Record Limit
      field, enter the number of records to return for each page.
      The image shows the fields for link-based pagination.
    2. In the
      Link Attribute Name
      field, enter the name of the field that contains the URL for the next page.
    To use
    Cursor-based
    pagination type, configure the following fields:
    1. In the
      Record Limit
      field, enter the number of records to return per page.
      The image shows the fields for cursor-based pagination.
    2. In the
      Pagination Parameter
      field, enter the name of the field that marks the starting point to retrieve the next set of records.
    3. In the
      Pagination Key Attribute
      field, enter the name of the field that uniquely identifies each record.
  4. Click
    Generate code
    .

0 COMMENTS

We’d like to hear from you!