POST api/serviceapps/subscriptions/{remoteHostId}

Create subscription

Request Information

URI Parameters

NameDescriptionTypeAdditional information
remoteHostId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ServiceAppSubscriptionData
NameDescriptionTypeAdditional information
RemoteHostName

Gets or sets the name of the remote host.

string

None.

TopicName

Gets or sets the name of the topic.

string

None.

SubscriptionName

Gets or sets the name of the subscription.

string

None.

ConnectionString

Gets or sets the connection string.

string

None.

ModuleId

Gets or sets the ModuleId.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RemoteHostName": "sample string 1",
  "TopicName": "sample string 2",
  "SubscriptionName": "sample string 3",
  "ConnectionString": "sample string 4",
  "ModuleId": 5
}

application/xml, text/xml

Sample:
<ServiceAppSubscriptionData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Himsa.Noah.Public.Model">
  <ConnectionString>sample string 4</ConnectionString>
  <ModuleId>5</ModuleId>
  <RemoteHostName>sample string 1</RemoteHostName>
  <SubscriptionName>sample string 3</SubscriptionName>
  <TopicName>sample string 2</TopicName>
</ServiceAppSubscriptionData>