POST DailyHoroscope/DailyHoroscopeSubscription
Request Information
URI Parameters
None.
Body Parameters
Horoscope| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
Required Matching regular expression pattern: [-a-zA-Z' ']* String length: inclusive between 0 and 20 |
|
| emailaddress | string |
Required Matching regular expression pattern: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* |
|
| moonsign | string |
Required |
|
| shopid | integer |
None. |
|
| locale | string |
None. |
|
| templatename | string |
None. |
|
| currency | string |
None. |
|
| location | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"emailaddress": "sample string 2",
"moonsign": "sample string 3",
"shopid": 4,
"locale": "sample string 5",
"templatename": "sample string 6",
"currency": "sample string 7",
"location": "sample string 8"
}
application/xml, text/xml
Sample:
<Horoscope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstroVed.Api.DAL.DailyHoroscope"> <currency>sample string 7</currency> <emailaddress>sample string 2</emailaddress> <locale>sample string 5</locale> <location>sample string 8</location> <moonsign>sample string 3</moonsign> <name>sample string 1</name> <shopid>4</shopid> <templatename>sample string 6</templatename> </Horoscope>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |