Skip to content

SAP Service Layer

Parameters for connections to the SAP Service Layer (SAP B1).


General Information:

Type ID Module Category
7 soap api

SapServiceLayerConnectionParams

Parameters:

  • company_db : str

Input Parameters:

Field Type Required Description Default value Examples
url HttpUrl Service endpoint full URL PydanticUndefined https://api.example.com/endpoint
headers Optional[dict[str, str]] Additional HTTP headers to include in the request None {"Authorization": "Bearer token", "Content-Type": "application/json"}
method Literal[GET, POST, PUT, DELETE, PATCH] HTTP method to use GET POST
body Optional[dict[str, Any]] JSON body of the request None {"key": "value"}
verify_ssl bool Whether to validate the SSL certificate True True
company_db str SAP company database name PydanticUndefined CompanyDB
username str SAP username PydanticUndefined sapuser
password str SAP Password PydanticUndefined sappassword
api_version str API version to use v1 v1

Example:

{
  "url": "https://sap.example.com/ServiceLayer",
  "company_db": "CompanyDB",
  "username": "sapuser",
  "password": "sappassword",
  "api_version": "v1",
  "headers": {
    "Content-Type": "application/json"
  },
  "method": "POST",
  "body": {
    "param": "value"
  },
  "verify_ssl": true
}

Notes:

SAP Service Layer requires prior authentication and configuration