POST api/me/interest-preferences
Request Information
URI Parameters
None.
Body Parameters
InterestPreferenceAddUserModelName | Description | Type | Additional information |
---|---|---|---|
InterestPrefenceIdList | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "InterestPrefenceIdList": [ 1, 2 ] }
application/xml, text/xml
Sample:
<InterestPreferenceAddUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.Property.API.Models"> <InterestPrefenceIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </InterestPrefenceIdList> </InterestPreferenceAddUserModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of InterestPreferenceAspnetuserModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
InterestPreferenceId | integer |
None. |
|
AspnetuserId | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "InterestPreferenceId": 1, "AspnetuserId": "sample string 2" }, { "Id": 1, "InterestPreferenceId": 1, "AspnetuserId": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfInterestPreferenceAspnetuserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.Property.API.Models"> <InterestPreferenceAspnetuserModel> <AspnetuserId>sample string 2</AspnetuserId> <Id>1</Id> <InterestPreferenceId>1</InterestPreferenceId> </InterestPreferenceAspnetuserModel> <InterestPreferenceAspnetuserModel> <AspnetuserId>sample string 2</AspnetuserId> <Id>1</Id> <InterestPreferenceId>1</InterestPreferenceId> </InterestPreferenceAspnetuserModel> </ArrayOfInterestPreferenceAspnetuserModel>