PATCH api/v1/social/pods/setpodsformember
Updates the member's pods
Request Information
URI Parameters
None.
Body Parameters
PodSetMemberPodsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId | integer |
Required |
|
| Pods | Collection of integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"memberId": 1,
"pods": [
1,
2
]
}
text/html, text/plain
Sample:
{"memberId":1,"pods":[1,2]}
application/xml, text/xml
Sample:
<PodSetMemberPodsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.Services.Models">
<MemberId>1</MemberId>
<Pods xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</Pods>
</PodSetMemberPodsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PodMemberModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FunName | string |
None. |
|
| AvatarUrl | string |
None. |
|
| RankingTier | string |
None. |
|
| Pods | Collection of PodSummaryModel |
None. |
|
| IsPendingConnection | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"funName": "sample string 2",
"avatarUrl": "sample string 3",
"rankingTier": "sample string 4",
"pods": [
{
"podMembersCount": 1,
"id": 2,
"name": "sample string 3"
},
{
"podMembersCount": 1,
"id": 2,
"name": "sample string 3"
}
],
"isPendingConnection": true
}
text/html, text/plain
Sample:
{"id":1,"funName":"sample string 2","avatarUrl":"sample string 3","rankingTier":"sample string 4","pods":[{"podMembersCount":1,"id":2,"name":"sample string 3"},{"podMembersCount":1,"id":2,"name":"sample string 3"}],"isPendingConnection":true}
application/xml, text/xml
Sample:
<PodMemberModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.Services.Models">
<AvatarUrl>sample string 3</AvatarUrl>
<FunName>sample string 2</FunName>
<Id>1</Id>
<IsPendingConnection>true</IsPendingConnection>
<Pods>
<PodSummaryModel>
<Id>2</Id>
<Name>sample string 3</Name>
<PodMembersCount>1</PodMembersCount>
</PodSummaryModel>
<PodSummaryModel>
<Id>2</Id>
<Name>sample string 3</Name>
<PodMembersCount>1</PodMembersCount>
</PodSummaryModel>
</Pods>
<RankingTier>sample string 4</RankingTier>
</PodMemberModel>