Vorheriges Thema: Update a Service Provider by UUID

Nächstes Thema: Approve a Service

Update a Service Provider by Name

This web service reassigns the service to another provider using the name of the service and provider.

HTTP Type

PUT

Restriction

Administrator Only

URI

{type}/SMI/{version}/service/{serviceName}/updateByName

Parameter

Description

{serviceName}

The name of the service you want to assign to another provider.

&key

The API Key that is provided when your application has been registered.

&secret

The Shared Secret that is provided when your application has been registered.

&providerName

Defines the provider associated with the service.

Example:

This following URI will assign Service1 to the Google provider.

https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/service/Service1/updateByName?providerName=Google&key=4f400a9b486c764d3a6ec5f86fe0a2aa&secret=e320f8f11cb88b5ab346d9ab34033d95

Sample output of successful execution:

{
"result":
	{
	"returnCode": "0",
	"errorMessage": "Operation Successful.",
	"resultCount": 0,
	}
}