POST Social/replyFriendshipRequest?requestid={requestid}&customerid={customerid}&accept={accept}

reply to a friendship request

Request Information

URI Parameters

NameDescriptionTypeAdditional information
requestid

ID of the friendship request

decimal number

Required

customerid

ID of the current customer

decimal number

Required

accept

Boolean: if true, the request will be accepted, otherwise the request will be refused

boolean

Required

Body Parameters

None.

Response Information

Resource Description

ReplyFriendshipInviteResponse
NameDescriptionTypeAdditional information
status

resultFriendshipReply

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "success",
  "msg": "sample string 1"
}

application/xml, text/xml

Sample:
<ReplyFriendshipInviteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel.Responses">
  <msg>sample string 1</msg>
  <status>success</status>
</ReplyFriendshipInviteResponse>