POST v1_0/api/Member/AcceptFriendRequest
Request Information
URI Parameters
None.
Body Parameters
AcceptRequestName | Description | Type | Additional information |
---|---|---|---|
FriendId | integer |
None. |
|
Type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "FriendId": 1, "Type": 2 }
application/xml, text/xml
Sample:
<AcceptRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CsharpCornerAPI.Models.v1_0"> <FriendId>1</FriendId> <Type>2</Type> </AcceptRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |