Business Service Web Services
Universal Controller supports the following RESTful-based web services for Business Service operations, which are listed alphabetically on this page.
- Create a Business Service
- Delete a Business Service
- List Business Services
- Modify a Business Service
- Read a Business Service
Formatting specifications for each web service, including details about property requirements, are provided.
Create a Business Service
Description | |
|---|---|
URI | http://host_name/uc/resources/businessservice |
HTTP Method | POST |
Description | Creates a Business Service. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create a Business Service: Example Request, below. |
Business Service Properties | See Business Service Properties, below. |
Example Response |
|
Create a Business Service: Example Request
- JSON
- XML
JSON Request
{
"description": 1,
"name": "test",
"retainSysIds": true,
"sysId": "e3a0d7b81f904c8fa4ae55cde6d58665"
}
XML Request
<businessService retainSysIds="true">
<description>1</description>
<name>test</name>
<sysId>e3a0d7b81f904c8fa4ae55cde6d58665</sysId>
</businessService>
Business Service: Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Description | User-defined; 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 |
| Name | Name used within the Controller to identify this Business Service. | Maximum 40 alphanumerics. | Y |
| n/a | Specification for whether or not the Create a Business Service web service will persist the sysId property.
info In XML web services, | Valid values: true/false (default is true). | N |
| n/a | System ID field in the database for this Business Service record. | Persisted only if retainSysIds is set to true. | N |
Delete a Business Service
Description | |
|---|---|
URI | http://host_name/uc/resources/businessservice |
HTTP Method | DELETE |
Description | Deletes a Business Service. |
URI Parameters | See Delete a Business Service: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/businessservice?busserviceid=77171434c0a801c9016d5b2b5d17ddee |
Example Response |
|
Delete a Business Service: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this Business Service. | String; URI parameter. | Y |
|
| Name used within the Controller to identify this Business Service. | String; URI parameter. | Y |
|
List Business Services
Description | |
|---|---|
URI | http://host_name/uc/resources/businessservice/list |
HTTP Method | GET |
Description | Retrieves information on all Business Services. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See List Business Services: Example Response, below. |
Response Properties |
List Business Services: Example Response
- JSON
- XML
JSON
[
{
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_generic_group",
"name": "bus service 1",
"sysId": "639d90bf8b61479191f46b1e524ac916",
"version": 1
},
{
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_generic_group",
"name": "bus service 2",
"sysId": "0ff4a7bafa0441a9b1a57b6451344ab6",
"version": 4
},
{
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_generic_group",
"name": "bus service 3",
"sysId": "2822fa2848de438c97167bfa1d7a633c",
"version": 1
},
{
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_generic_group",
"name": "bus service 4",
"sysId": "ff4b77d628ae4bc78c78f383bf1265b0",
"version": 1
}
]
XML
<businessServices>
<businessService exportReleaseLevel="7.2.0.0" exportTable="ops_generic group" version="1">
<description />
<name>bus service 1</name>
<sysId>639d90bf8b61479191f46b1e524ac916</sysId>
</businessService>
<businessService exportReleaseLevel="7.2.0.0" exportTable="ops_generic group" version="4">
<description/>
<name>bus service 2</name>
<sysId>0ff4a7bafa0441a9b1a57b6451344ab6</sysId>
</businessService>
<businessService exportReleaseLevel="7.2.0.0" exportTable="ops_generic group"" version="1">
<description/>
<name>bus service 3</name>
<sysId>2822fa2848de438c97167bfa1d7a633c</sysId>
</businessService>
<businessService exportReleaseLevel="7.2.0.0" exportTable="ops_generic group" version="1">
<description/>
<name>bus service 4</name>
<sysId>ff4b77d628ae4bc78c78f383bf1265b0</sysId>
</businessService>
</businessServices>
Modify a Business Service
Description | |
|---|---|
URI | http://host_name/uc/resources/businessservice |
HTTP Method | PUT |
Description | Modifies the Business Service specified by the |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Modify a Business Service: Example Request, below. |
Business Service Properties | |
Example Response |
|
Modify a Business Service: Example Request
- JSON
- XML
JSON Request
{
"description": 1,
"name": "test",
"sysId": "e3a0d7b81f904c8fa4ae55cde6d58665"
}
XML Request
<businessService>
<description>1</description>
<name>test</name>
<sysId>e3a0d7b81f904c8fa4ae55cde6d58665</sysId>
</businessService>
Read a Business Service
URI | http://host_name/uc/resources/businessservice |
HTTP Method | GET |
Description | Retrieves information on a specific Business Service. |
URI Parameters | See Read a Business Service: URI Parameters, below. |
Example URI | |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See Read a Business Service: Example Response, below. |
Business Service Properties |
Read a Business Service: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this Business Service. | String; URI parameter. | Y |
|
| Name used within the Controller to identify this Business Service. | String; URI parameter. | Y |
|
Read a Business Service: Example Response
The retainSysIdsand versionproperties are specified as attributes in XML.
The exportReleaseLevel and exportTable properties are specified as attributes in XML.
- JSON
- XML
JSON
{
"description": 1,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_generic_group",
"name": "test",
"retainSysIds": true,
"sysId": "e3a0d7b81f904c8fa4ae55cde6d58665",
"version": 1
}
XML
<businessService exportReleaseLevel="7.2.0.0" exportTable="ops_generic group" retainSysIds="true"version="1">
<description>1</description>
<name>test</name>
<sysId>e3a0d7b81f904c8fa4ae55cde6d58665</sysId>
</businessService>