POST api/v1/social/connect/response

Accept or deny the connection request Beta 0.4 Beta 9/10 - remove the associated notifications on response

Request Information

URI Parameters

None.

Body Parameters

ConnectionResponseModel
NameDescriptionTypeAdditional information
MemberId

integer

Required

Accepted

boolean

Required

Pods

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "memberId": 1,
  "accepted": true,
  "pods": [
    1,
    2
  ]
}

text/html, text/plain

Sample:
{"memberId":1,"accepted":true,"pods":[1,2]}

application/xml, text/xml

Sample:
<ConnectionResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.Services.Models">
  <Accepted>true</Accepted>
  <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>
</ConnectionResponseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Return HttpStatusCode

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, text/plain, application/xml, text/xml

Sample:

Sample not available.