POST api/Profile/UpdateUserProfileV2
Request Information
URI Parameters
None.
Body Parameters
vm_updateProfile2ReqDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| relationshipGoal | string |
None. |
|
| pronouns | string |
None. |
|
| HeightCM | decimal number |
None. |
|
| relationship_type | string |
None. |
|
| Languages | string |
None. |
|
| Zodiac | string |
None. |
|
| education | string |
None. |
|
| family_plans | string |
None. |
|
| communication | string |
None. |
|
| love_style | string |
None. |
|
| Pets | string |
None. |
|
| drinking | string |
None. |
|
| smoking | string |
None. |
|
| workout | string |
None. |
|
| social_media | string |
None. |
|
| college | string |
None. |
|
| Job_Title | string |
None. |
|
| company | string |
None. |
|
| city | string |
None. |
|
| Sexual_Orientation | string |
None. |
|
| hideAge | boolean |
None. |
|
| hideDistance | boolean |
None. |
|
| gender | string |
None. |
|
| Interest | Collection of string |
None. |
|
| IsMysteryActive | boolean |
None. |
|
| userInterest | Collection of userProfileInterestResDTO |
None. |
|
| userImage | Collection of userProfileImageResDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"relationshipGoal": "sample string 2",
"pronouns": "sample string 3",
"HeightCM": 1.0,
"relationship_type": "sample string 4",
"Languages": "sample string 5",
"Zodiac": "sample string 6",
"education": "sample string 7",
"family_plans": "sample string 8",
"communication": "sample string 9",
"love_style": "sample string 10",
"Pets": "sample string 11",
"drinking": "sample string 12",
"smoking": "sample string 13",
"workout": "sample string 14",
"social_media": "sample string 15",
"college": "sample string 16",
"Job_Title": "sample string 17",
"company": "sample string 18",
"city": "sample string 19",
"Sexual_Orientation": "sample string 20",
"hideAge": true,
"hideDistance": true,
"gender": "sample string 21",
"Interest": [
"sample string 1",
"sample string 2"
],
"IsMysteryActive": true,
"userInterest": [
{
"UserId": 1,
"InterestName": "sample string 1"
},
{
"UserId": 1,
"InterestName": "sample string 1"
}
],
"userImage": [
{
"Id": 1,
"PhotoUrl": "sample string 1",
"IsProfilePic": true,
"UserId": 1
},
{
"Id": 1,
"PhotoUrl": "sample string 1",
"IsProfilePic": true,
"UserId": 1
}
]
}
application/xml, text/xml
Sample:
<vm_updateProfile2ReqDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/initiate.BAL.DTO">
<HeightCM>1</HeightCM>
<Interest xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Interest>
<IsMysteryActive>true</IsMysteryActive>
<Job_Title>sample string 17</Job_Title>
<Languages>sample string 5</Languages>
<Pets>sample string 11</Pets>
<Sexual_Orientation>sample string 20</Sexual_Orientation>
<UserId>1</UserId>
<Zodiac>sample string 6</Zodiac>
<city>sample string 19</city>
<college>sample string 16</college>
<communication>sample string 9</communication>
<company>sample string 18</company>
<drinking>sample string 12</drinking>
<education>sample string 7</education>
<family_plans>sample string 8</family_plans>
<gender>sample string 21</gender>
<hideAge>true</hideAge>
<hideDistance>true</hideDistance>
<love_style>sample string 10</love_style>
<pronouns>sample string 3</pronouns>
<relationshipGoal>sample string 2</relationshipGoal>
<relationship_type>sample string 4</relationship_type>
<smoking>sample string 13</smoking>
<social_media>sample string 15</social_media>
<userImage>
<userProfileImageResDTO>
<Id>1</Id>
<IsProfilePic>true</IsProfilePic>
<PhotoUrl>sample string 1</PhotoUrl>
<UserId>1</UserId>
</userProfileImageResDTO>
<userProfileImageResDTO>
<Id>1</Id>
<IsProfilePic>true</IsProfilePic>
<PhotoUrl>sample string 1</PhotoUrl>
<UserId>1</UserId>
</userProfileImageResDTO>
</userImage>
<userInterest>
<userProfileInterestResDTO>
<InterestName>sample string 1</InterestName>
<UserId>1</UserId>
</userProfileInterestResDTO>
<userProfileInterestResDTO>
<InterestName>sample string 1</InterestName>
<UserId>1</UserId>
</userProfileInterestResDTO>
</userInterest>
<workout>sample string 14</workout>
</vm_updateProfile2ReqDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.