Friendship

Catalog


GET Authorize My friends

Request path:

https://staging.server.kahla.app/Friendship/MyFriendsTry

Request example:

https://staging.server.kahla.app/Friendship/MyFriends?orderByName=false

Request arguments:

Name Required Type
orderByName Required Boolean

POST Authorize Delete friend

Request path:

https://staging.server.kahla.app/Friendship/DeleteFriend

Request content type:

application/x-www-form-urlencoded

Form content example:

id=yourid 

Request form:

Name Required Type
id Required Text

POST Authorize Create request

Request path:

https://staging.server.kahla.app/Friendship/CreateRequest

Request content type:

application/x-www-form-urlencoded

Form content example:

id=yourid 

Request form:

Name Required Type
id Required Text

POST Authorize Complete request

Request path:

https://staging.server.kahla.app/Friendship/CompleteRequest

Request content type:

application/x-www-form-urlencoded

Form content example:

Id=0&Accept=false 

Request form:

Name Required Type
Id Required Number
Accept Required Boolean

GET Authorize My requests

Request path:

https://staging.server.kahla.app/Friendship/MyRequestsTry

Request example:

https://staging.server.kahla.app/Friendship/MyRequests

GET Authorize Search friends

Request path:

https://staging.server.kahla.app/Friendship/SearchFriendsTry

Request example:

https://staging.server.kahla.app/Friendship/SearchFriends?NickName=yourNickName&Take=0

Request arguments:

Name Required Type
NickName Required Text
Take Required Number

GET Authorize User detail

Request path:

https://staging.server.kahla.app/Friendship/UserDetailTry

Request example:

https://staging.server.kahla.app/Friendship/UserDetail?id=yourid

Request arguments:

Name Required Type
id Required Text