POST api/NotificationHubs

Request Information

URI Parameters

None.

Body Parameters

NotificationHub
NameDescriptionTypeAdditional information
NotificationHubID

globally unique identifier

None.

HubName

string

None.

ApplicationID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "NotificationHubID": "638b1a35-b605-4fab-a2b1-b2704d3cbe7b",
  "HubName": "sample string 2",
  "ApplicationID": "4ed37958-594b-4906-8ec2-15700b2b9e0e"
}

application/xml, text/xml

Sample:
<NotificationHub xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ApplicationID>4ed37958-594b-4906-8ec2-15700b2b9e0e</ApplicationID>
  <HubName>sample string 2</HubName>
  <NotificationHubID>638b1a35-b605-4fab-a2b1-b2704d3cbe7b</NotificationHubID>
</NotificationHub>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.