SAP Connection Web Services
Universal Controller supports the following RESTful-based web services for SAP Connection operations, which are listed alphabetically on this page.
- Create an SAP Connection
- Delete an SAP Connection
- List SAP Connections
- Modify an SAP Connection
- Read an SAP Connection
Formatting specifications for each web service, including details about property requirements, are provided.
Create an SAP Connectionβ
Description | |
|---|---|
URI | http://host_name/uc/resources/sapconnection |
HTTP Method | POST |
Description | Creates an SAP Connection. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create an SAP Connection: Example Request, below. |
Example Response |
|
SAP Connection Properties |
Create an SAP Connection: Example Requestβ
- JSON
- XML
JSON Request
{
"description": null,
"name": "SAP Connection 1",
"opswiseGroups": [],
"retainSysIds": true,
"sapAshost": null,
"sapClient": null,
"sapConnectionType": "Load Balancing",
"sapGroup": "groupa",
"sapGwhost": "ABC",
"sapGwserv": "test",
"sapMshost": "server",
"sapMysapsso2": "D:\\ellen\\qa\\uc\\testdir\\new.data",
"sapR3name": "777",
"sapSaprouter": "/H/192.168.30.17/S/3297/H/155.56.59.11",
"sapSncLib": "/qa/durability_export",
"sapSncMode": "Off",
"sapSncMyname": "my_test_name",
"sapSncPartnername": "partnername",
"sapSncQop": "Integrity Protection",
"sapSncSso": "No",
"sapSysnr": null,
"sapUseSymbolicNames": "Yes",
"sapX509cert": "D:\\ellen\\qa\\uc\\testdir\\ecu.txt",
"sysId": "1c6a3b42f2704ae8b3f2b62cc5f867c9"
}
XML Request
<sapConnection retainSysIds="true">
<description>description</description>
<name>SAP Connection 1</name>
<opswiseGroups />
<sapAshost />
<sapClient />
<sapConnectionType>Load Balancing</sapConnectionType>
<sapGroup>groupa</sapGroup>
<sapGwhost>ABC</sapGwhost>
<sapGwserv>test</sapGwserv>
<sapMshost>server</sapMshost>
<sapMysapsso2>>D:\ellen\qa\uc\testdir\new.data</sapMysapsso2>
<sapR3name>777</sapR3name>
<sapSaprouter>/H/192.168.30.17/S/3297/H/155.56.59.11</sapSaprouter>
<sapSncLib>/qa/durability_export</sapSncLib>
<sapSncMode>Off </sapSncMode>
<sapSncMyname>my_test_name</sapSncMyname>
<sapSncPartnername>partnername</sapSncPartnername>
<sapSncQop>Integrity Protection</sapSncQop>
<sapSncSso>No</sapSncSso>
<sapSysnr />
<sapUseSymbolicNames>Yes</sapUseSymbolicNames>
<sapX509cert>D:\ellen\qa\uc\testdir\ecu.txt</sapX509cert>
<sysId>1c6a3b42f2704ae8b3f2b62cc5f867c9</sysId>
</sapConnection>
Delete an SAP Connectionβ
Description | |
|---|---|
URI | http://host_name/uc/resources/sapconnection |
HTTP Method | DELETE |
Description | Deletes an SAP Connection. |
URI Parameters | See Delete an SAP Connection: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/sapconnection?connectionname=Test4 |
Example Response |
|
Delete an SAP Connection: URI Parametersβ
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this SAP Connection. | String; URI parameter. | Y |
|
| Name used within the Controller to identify this SAP Connection. | String; URI parameter. | Y |
|
List SAP Connectionsβ
Description | |
|---|---|
URI | http://host_name/uc/resources/sapconnection/list |
HTTP Method | GET |
Description | Retrieves information on all SAP Connections. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See List SAP Connections: Example Response, below. |
SAP Connection Properties |
List SAP Connections: Example Responseβ
- JSON
- XML
JSON Response
[ {
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_sap_connection",
"name": "SAP Connection 1",
"opswiseGroups": [],
"retainSysIds": true,
"sapAshost": null,
"sapClient": null,
"sapConnectionType": "Load Balancing",
"sapGroup": "groupa",
"sapGwhost": "ABC",
"sapGwserv": "test",
"sapMshost": "server",
"sapMysapsso2": "D:\\ellen\\qa\\uc\\testdir\\new.data",
"sapR3name": "777",
"sapSaprouter": "/H/192.168.30.17/S/3297/H/155.56.59.11",
"sapSncLib": "/qa/durability_export",
"sapSncMode": "Off",
"sapSncMyname": "my_test_name",
"sapSncPartnername": "partnername",
"sapSncQop": "Integrity Protection",
"sapSncSso": "No",
"sapSysnr": null,
"sapUseSymbolicNames": "Yes",
"sapX509cert": "D:\\ellen\\qa\\uc\\testdir\\ecu.txt",
"sysId": "1c6a3b42f2704ae8b3f2b62cc5f867c9"
"version": 7
},
{
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_sap_connection",
"name": "SAP Connection 1",
"opswiseGroups": [],
"retainSysIds": true,
"sapAshost": null,
"sapClient": null,
"sapConnectionType": "Load Balancing",
"sapGroup": "groupa",
"sapGwhost": "ABC",
"sapGwserv": "test",
"sapMshost": "server",
"sapMysapsso2": "D:\\ellen\\qa\\uc\\testdir\\new.data",
"sapR3name": "777",
"sapSaprouter": "/H/192.168.30.17/S/3297/H/155.56.59.11",
"sapSncLib": "/qa/durability_export",
"sapSncMode": "Off",
"sapSncMyname": "my_test_name",
"sapSncPartnername": "partnername",
"sapSncQop": "Integrity Protection",
"sapSncSso": "No",
"sapSysnr": null,
"sapUseSymbolicNames": "Yes",
"sapX509cert": "D:\\ellen\\qa\\uc\\testdir\\ecu.txt",
"sysId": "3d7a03053ad64de1b21b6849e6deafd9"
"version": 2
}
]
XML Response
<sapConnections>
<sapConnection exportReleaseLevel="7.2.0.0" exportTable="ops_sap_connection" version="7">
<description>description</description>
<name>SAP Connection 1</name>
<opswiseGroups />
<sapAshost />
<sapClient />
<sapConnectionType>Load Balancing</sapConnectionType>
<sapGroup>groupa</sapGroup>
<sapGwhost>ABC</sapGwhost>
<sapGwserv>test</sapGwserv>
<sapMshost>server</sapMshost>
<sapMysapsso2>>D:\ellen\qa\uc\testdir\new.data</sapMysapsso2>
<sapR3name>777</sapR3name>
<sapSaprouter>/H/192.168.30.17/S/3297/H/155.56.59.11</sapSaprouter>
<sapSncLib>/qa/durability_export</sapSncLib>
<sapSncMode>Off </sapSncMode>
<sapSncMyname>my_est_name</sapSncMyname>
<sapSncPartnername>partnername</sapSncPartnername>
<sapSncQop>Integrity Protection</sapSncQop>
<sapSncSso>No</sapSncSso>
<sapSysnr />
<sapUseSymbolicNames>Yes</sapUseSymbolicNames>
<sapX509cert>D:\ellen\qa\uc\testdir\ecu.txt</sapX509cert>
<sysId>1c6a3b42f2704ae8b3f2b62cc5f867c9</sysId>
</sapConnection>
<sapConnection exportReleaseLevel="7.2.0.0" exportTable="ops_sap_connection" version="2">
<description>description</description>
<name>SAP Connection 1</name>
<opswiseGroups />
<sapAshost />
<sapClient />
<sapConnectionType>Load Balancing</sapConnectionType>
<sapGroup>groupa</sapGroup>
<sapGwhost>ABC</sapGwhost>
<sapGwserv>test</sapGwserv>
<sapMshost>server</sapMshost>
<sapMysapsso2>>D:\ellen\qa\uc\testdir\new.data</sapMysapsso2>
<sapR3name>777</sapR3name>
<sapSaprouter>/H/192.168.30.17/S/3297/H/155.56.59.11</sapSaprouter>
<sapSncLib>/qa/durability_export</sapSncLib>
<sapSncMode>Off</sapSncMode>
<sapSncMyname>my_test_name</sapSncMyname>
<sapSncPartnername>partnername</sapSncPartnername>
<sapSncQop>Integrity Protection</sapSncQop>
<sapSncSso>No</sapSncSso>
<sapSysnr />
<sapUseSymbolicNames>Yes</sapUseSymbolicNames>
<sapX509cert>D:\ellen\qa\uc\testdir\ecu.txt</sapX509cert>
<sysId>3d7a03053ad64de1b21b6849e6deafd9</sysId>
</sapConnection>
<sapConnections>
Modify an SAP Connectionβ
Description | |
|---|---|
URI | http://host_name/uc/resources/sapconnection |
HTTP Method | PUT |
Description | Modifies the SAP Connection specified by the |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Modify an SAP Connection: Example Request, below. |
SAP Connection Properties | |
Example Response |
|
Modify an SAP Connection: Example Requestβ
- JSON
- XML
JSON Request
{
"description": null,
"name": "SAP Connection 1",
"opswiseGroups": [],
"retainSysIds": true,
"sapAshost": null,
"sapClient": null,
"sapConnectionType": "Load Balancing",
"sapGroup": "groupa",
"sapGwhost": "ABC",
"sapGwserv": "test",
"sapMshost": "server",
"sapMysapsso2": "D:\\ellen\\qa\\uc\\testdir\\new.data",
"sapR3name": "777",
"sapSaprouter": "/H/192.168.30.17/S/3297/H/155.56.59.11",
"sapSncLib": "/qa/durability_export",
"sapSncMode": "Off",
"sapSncMyname": "my_test_name",
"sapSncPartnername": "partnername",
"sapSncQop": "Integrity Protection",
"sapSncSso": "No",
"sapSysnr": null,
"sapUseSymbolicNames": "Yes",
"sapX509cert": "D:\\ellen\\qa\\uc\\testdir\\ecu.txt",
"sysId": "1c6a3b42f2704ae8b3f2b62cc5f867c9"
}
XML Request
<sapConnection>
<description>description</description>
<name>SAP Connection 1</name>
<opswiseGroups />
<sapAshost />
<sapClient />
<sapConnectionType>Load Balancing</sapConnectionType>
<sapGroup>groupa</sapGroup>
<sapGwhost>ABC</sapGwhost>
<sapGwserv>test</sapGwserv>
<sapMshost>server</sapMshost>
<sapMysapsso2>>D:\ellen\qa\uc\testdir\new.data</sapMysapsso2>
<sapR3name>777</sapR3name>
<sapSaprouter>/H/192.168.30.17/S/3297/H/155.56.59.11</sapSaprouter>
<sapSncLib>/qa/durability_export</sapSncLib>
<sapSncMode>Off </sapSncMode>
<sapSncMyname>my_test_name</sapSncMyname>
<sapSncPartnername>partnername</sapSncPartnername>
<sapSncQop>Integrity Protection</sapSncQop>
<sapSncSso>No</sapSncSso>
<sapSysnr />
<sapUseSymbolicNames>Yes</sapUseSymbolicNames>
<sapX509cert>D:\ellen\qa\uc\testdir\ecu.txt</sapX509cert>
<sysId>1c6a3b42f2704ae8b3f2b62cc5f867c9</sysId>
</sapConnection>
Read an SAP Connectionβ
URI | http://host_name/uc/resources/sapconnection |
HTTP Method | GET |
Description | Retrieves information on a specific SAP Connection. |
URI Parameters | See Read an SAP Connection: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/sapconnection?connectionname=Test4 |
Example Response | See Read an SAP Connection: Example Response, below. |
SAP Connection Properties |
Read an SAP Connection: URI Parametersβ
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this SAP Connection. | String; URI parameter. | Y |
|
| Name used within the Controller to identify this SAP Connection. | String; URI parameter. | Y |
|
Read an SAP Connection: Example Responseβ
- JSON
- XML
JSON Response
{
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_sap_connection",
"name": "SAP Connection 1",
"opswiseGroups": [],
"retainSysIds": true,
"sapAshost": null,
"sapClient": null,
"sapConnectionType": "Load Balancing",
"sapGroup": "groupa",
"sapGwhost": "ABC",
"sapGwserv": "test",
"sapMshost": "server",
"sapMysapsso2": "D:\\ellen\\qa\\uc\\testdir\\new.data",
"sapR3name": "777",
"sapSaprouter": "/H/192.168.30.17/S/3297/H/155.56.59.11",
"sapSncLib": "/qa/durability_export",
"sapSncMode": "Off",
"sapSncMyname": "my_test_name",
"sapSncPartnername": "partnername",
"sapSncQop": "Integrity Protection",
"sapSncSso": "No",
"sapSysnr": null,
"sapUseSymbolicNames": "Yes",
"sapX509cert": "D:\\ellen\\qa\\uc\\testdir\\ecu.txt",
"sysId": "1c6a3b42f2704ae8b3f2b62cc5f867c9"
"version": 1
}
XML Response
<sapConnection exportReleaseLevel="7.2.0.0" exportTable="ops_sap_connection" retainSysIds="true" version="1">
<description>description</description>
<name>SAP Connection 1</name>
<opswiseGroups />
<sapAshost />
<sapClient />
<sapConnectionType>Load Balancing</sapConnectionType>
<sapGroup>groupa</sapGroup>
<sapGwhost>ABC</sapGwhost>
<sapGwserv>test</sapGwserv>
<sapMshost>server</sapMshost>
<sapMysapsso2>>D:\ellen\qa\uc\testdir\new.data</sapMysapsso2>
<sapR3name>777</sapR3name>
<sapSaprouter>/H/192.168.30.17/S/3297/H/155.56.59.11</sapSaprouter>
<sapSncLib>/qa/durability_export</sapSncLib>
<sapSncMode>Off </sapSncMode>
<sapSncMyname>my_test_name</sapSncMyname>
<sapSncPartnername>partnername</sapSncPartnername>
<sapSncQop>Integrity Protection</sapSncQop>
<sapSncSso>No</sapSncSso>
<sapSysnr />
<sapUseSymbolicNames>Yes</sapUseSymbolicNames>
<sapX509cert>D:\ellen\qa\uc\testdir\ecu.txt</sapX509cert>
<sysId>1c6a3b42f2704ae8b3f2b62cc5f867c9</sysId>
</sapConnection>
SAP Connection Propertiesβ
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Description | Description of this record. | N | |
| n/a | Universal Controller release that the record was exported from. | read only | N |
| n/a | Record table information. | read only | N |
| Connection Name | Name used within the Controller to identify this SAP Connection. | Y | |
| Member of Business Services | Business Services that this record belongs to. XML JSON | N | |
| n/a | Specification for whether or not the Create an SAP Connection web service will persist the
info In XML web services, | Valid values: true/false (default is true). | N |
| Application Server | If | Y | |
| Client | If | Y | |
| Connection Type | Type of SAP Connection. | Valid Values:
| Y |
| Group | If | N | |
| Gateway | If | N | |
| Gateway Service | If | N | |
| Message Server | If | Y | |
| Single Sign-On Ticket | Path to a file that contains the actual value for the MYSAPSSO2 parameter. | N | |
| System ID | If | Y | |
| SAProuter | SAProuter parameter. | N | |
| SNC Library | SNC_LIB parameter; Path to the third-party security library for SNC. | N | |
| SNC Mode | SNC_MODE parameter; Specification for whether or not SNC is activated. | Valid Values:
| N |
| SNC My Name | SNC_MYNAME parameter; Token/identifier representing the external RFC program. | N | |
| SNC Partner Name | SNC_PARTNERNAME parameter; Token/identifier representing the back-end system. | N | |
| SNC Quality of Protection | SNC_QOP parameter. | Valid Values:
| N |
| SNC Single Sign-On | SNC_SSO parameter; Specification for whether or not to use single sign-on for SNC. | Valid Values:
| N |
| System Number | If | Y | |
| Use Symbolic Names | If | Valid Values:
| N |
| X.509 Certificate | Path to a file that contains the actual value for the X509CERT parameter. | Y | |
| UUID | System ID field in the database for this SAP Connection record. | Persisted only if | N |