POST Social/sendLessonInvite?customerid={customerid}&recipientid={recipientid}&appointmentid={appointmentid}

insert a lesson invite request

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerid

ID of the sender Customer

decimal number

Required

recipientid

ID of the recipient Customer

decimal number

Required

appointmentid

ID of the lesson

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

InsertLessonInviteResponse
NameDescriptionTypeAdditional information
status

resultLessonInvite

None.

msg

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<InsertLessonInviteResponse 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>
</InsertLessonInviteResponse>