{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":20849,"path":"integrate-applications/erp-integration-framework/erp-rest-api-connector.md","title":"REST API connector for Zero Copy Connector for ERP","bundle":null,"doc_type":null,"release":"australia","body":"\n# REST API connector for Zero Copy Connector for ERP\n\nUse the REST API connector to connect to any RESTful API with standardized API specification formats.\n\n## Overview\n\nYou can use REST APIs to access business data from ERP \\(Enterprise Resource Planning\\) systems. Integrating these APIs requires manual processes. The REST API connector solves this by providing a reusable, low-code integration layer.\n\nFor API details, see .\n\n## REST service connection configuration\n\nREST connections use the HTTP connection template. For more information, see [Create an HTTP\\(s\\) connection](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/create-https-connection.md).\n\n## Authentication options\n\nThe connector supports the following authentication options:\n\n-   Basic Auth: A username and password \\(Base64-encoded\\). For more information, see [Basic authentication credential](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/r_BasicAuthCredentialsForm.md).\n-   JWT \\(JSON Web Token\\): A bearer token authentication. For more information, see [JWT Bearer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/jwt-bearer.md).\n-   API Key: A key passed as a header or query parameter. For more information, see [API key credentials](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/API-key-credential-form.md).\n-   OAuth 2.0: A token authentication with automatic token refresh. For more information, see [Manage OAuth tokens](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/t_ManageTokens.md).\n\nServiceNow Vault stores credentials securely. For more information, see [Exploring ServiceNow Vault](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/exploring-servicenow-vault.md).\n\nThe system validates that the configured credential type matches one of the authentication schemes defined in the API specification before allowing execution.\n\n## Importing a REST API definition into the Zero Copy Connector for ERP Model Manager\n\nImport a REST API definition using one of the following methods:\n\n-   Use the Swagger/OpenAPI URL and provide a public URL that points to a specification file. The system extracts the service name from the URL automatically. You can edit the service name before adding the service. After the service is added, all endpoints matching the current operation type become available for selection.\n-   Upload a Swagger/OpenAPI JSON or Swagger/OpenAPI YAML file.\n\n## Mapping data to your data model\n\nAfter you import a REST service, use the Model Manager to define entities and map API response fields to the data model. For more information, see [Add a REST entity to a model operation](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/erp-integration-framework/add-a-rest-entity-to-a-model-operation.md).\n\n## MID Server support\n\nIf your REST API runs on-premises or behind a firewall, you can route API calls through a MID Server. The connection record includes a **midServerName** property that routes traffic through the designated MID Server. Cloud-hosted APIs can connect directly without a MID Server. For more information, see [MID Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/mid-server-landing.md).\n\n## REST API connector tables\n\nFor information about the REST API connector tables that support Zero Copy Connector for ERP, see [REST API connector tables for Zero Copy Connector for ERP](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/erp-integration-framework/erp-rest-api-tables.md).\n\n"}}