POST api/v1/news/subscribe
Request Information
URI Parameters
None.
Body Parameters
SubscribeRequestName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
preferences | string |
None. |
|
src | string |
None. |
|
ua | string |
None. |
|
ip | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "email": "sample string 1", "preferences": "sample string 2", "src": "sample string 3", "ua": "sample string 4", "ip": "sample string 5" }
application/xml, text/xml
Sample:
<SubscribeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebsiteAPI.Model"> <email>sample string 1</email> <ip>sample string 5</ip> <preferences>sample string 2</preferences> <src>sample string 3</src> <ua>sample string 4</ua> </SubscribeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |