POST api/GoogleSubscriptions/ReceiveNotification
Request Information
URI Parameters
None.
Body Parameters
GooglePubSubMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | GooglePubSubMessageContent |
None. |
|
| Subscription | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Message": {
"Data": "sample string 1",
"MessageId": "sample string 2",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
},
"Subscription": "sample string 1"
}
application/xml, text/xml
Sample:
<GooglePubSubMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
<Message>
<Attributes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value>sample string 2</d3p1:Value>
</d3p1:KeyValueOfstringstring>
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value>sample string 4</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</Attributes>
<Data>sample string 1</Data>
<MessageId>sample string 2</MessageId>
</Message>
<Subscription>sample string 1</Subscription>
</GooglePubSubMessage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.