POST api/Interest/save-interest
Request Information
URI Parameters
None.
Body Parameters
InterestSelectedDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| InterestId | Collection of integer |
None. |
|
| InterestIds | Collection of InterestIds |
None. |
Request Formats
application/json, text/json
Sample:
{
"InterestId": [
1,
2
],
"InterestIds": [
{
"Interestid": 1,
"Status": 2
},
{
"Interestid": 1,
"Status": 2
}
],
"UserId": "sample string 1"
}
text/xml
Sample:
<InterestSelectedDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GTWorldApp.dto">
<InterestId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</InterestId>
<InterestIds>
<InterestIds>
<Interestid>1</Interestid>
<Status>2</Status>
</InterestIds>
<InterestIds>
<Interestid>1</Interestid>
<Status>2</Status>
</InterestIds>
</InterestIds>
<UserId>sample string 1</UserId>
</InterestSelectedDto>
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. |