[{"label":"Latest (0.1.1)","version":"latest"}]
cric-r1

Put Info Type Subscription

Description

Create or udpate a subscription that allows the requestor to receive notifications at the provided status_result_uri when any data or info types known to the DMS change their status.

Request

Request

URL

URL


put
https://{api_host}/dms/data-consumer/v0alpha1/info-type-subscriptions/{subscription_id}
Copy

Path Parameters

Path Parameters

string
subscription_id Required

The identifier of the subscription.


Request Body

Request Body

InfoTypesSubscription of mimetype application/json Required
{
	"owner": "string",
	"status_result_uri": "string"
}
string
owner Required

Name of the rapp or service subscribing for the info type notifications.


string
status_result_uri Required

Callback URI that the DMS can invoke to notify the status of the info types.


string
id Optional

Unique Id identifying the subscription.

Response

Response

201 Created

Subscription successfully updated.

Errors

Errors

400

Malformed request body, subscription not created or updated.

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"id":"string","owner":"string","status_result_uri":"string"}' https://{api_host}/dms/data-consumer/v0alpha1/info-type-subscriptions/{subscription_id}


Feedback

Was this page helpful?