POST Product/AstrologyRefferal
Request Information
URI Parameters
None.
Body Parameters
AstrologyRefferal| Name | Description | Type | Additional information |
|---|---|---|---|
| order_id | integer |
None. |
|
| astrologer_id | integer |
None. |
|
| product_ids | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"order_id": 1,
"astrologer_id": 2,
"product_ids": [
1,
2
]
}
application/xml, text/xml
Sample:
<AstrologyRefferal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstroVed.Api.DAL">
<astrologer_id>2</astrologer_id>
<order_id>1</order_id>
<product_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</product_ids>
</AstrologyRefferal>
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. |