POST Social/replyLessonInviteRequest?requestid={requestid}&customerid={customerid}&accept={accept}
reply to a lesson invite request
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| requestid |
ID of the lesson invite 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
ReplyLessonInviteResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| status | resultLessonInviteReply |
None. |
|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "success",
"msg": "sample string 1"
}
application/xml, text/xml
Sample:
<ReplyLessonInviteResponse 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> </ReplyLessonInviteResponse>