Vorheriges Thema: Remove a Capability from a Service

Nächstes Thema: Update a Service Provider by Name

Update a Service Provider by UUID

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

HTTP Type

PUT

Restriction

Administrator Only

URI

{type}/SMI/{version}/service/{serviceUUID}/update

Parameter

Description

{serviceUUID}

The UUID 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.

&providerUUID

Defines the provider associated with the service.

Example:

This following URI will set the provider of the defined service.

https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/service/d8ac0e1e-e1f4-11df-ac36-7f5dc3222b39/update?providerUUID=4a8371c6-5447-11df-9b3f-cf4ee8f3ff49&key=4f400a9b486c764d3a6ec5f86fe0a2aa&secret=e320f8f11cb88b5ab346d9ab34033d95

Sample output of successful execution:

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