UpdateServiceBinding
Update an existing OData service binding (SRVB) to publish or unpublish its service, controlling whether the bound service is exposed.
Instructions
Updates the publication state of an existing OData service binding (SRVB), publishing or unpublishing its service.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service_binding_name": "<service_binding_name>",
"desired_publication_state": "<desired_publication_state>",
"service_name": "<service_name>"
},
"name": "UpdateServiceBinding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent. | terse |
| service_name | Yes | Published service name, from the binding. Required: an OData V2 publication job resolves the service by name and version and refuses without them. Ignored for V4, where the request names its target on its own. | |
| binding_variant | No | Service binding variant. Determines OData version for publish/unpublish routing. | ODATA_V4_UI |
| response_format | No | Accepted for backward compatibility; no longer affects the answer, which is always the structured write result. | xml |
| service_version | No | Published service version. Default 0001. Used by an OData V2 publication job together with the service name; ignored for V4. | |
| service_binding_name | Yes | Service binding name to update. | |
| desired_publication_state | Yes | Target publication state. |