execute_service_layer
Run read-only OData GET requests against a connected SAP Business One Service Layer to retrieve business data. It blocks writes, so use the write operation for PATCH, POST, or DELETE.
Instructions
Execute a read-only OData GET against the currently connected SAP Business One Service Layer. Writes go through execute_service_layer_write.
Denied when the connected profile's slAllowedMethods (printed by connect_database) omits GET. Query options are allowed; absolute URLs, Login/Logout and $batch are denied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Relative OData endpoint without the configured /b1s/v1/ or /b1s/v2/ root | |
| method | No | Always GET. PATCH, POST and DELETE go through execute_service_layer_write | GET |