POST api/Student/RequestTutor
درخواست برای مربی
Request Information
URI Parameters
None.
Body Parameters
مدل درخواستی برای گرفتن مربی
RequestTutor| Name | Description | Type | Additional information |
|---|---|---|---|
| TutorMobile | string |
Required Matching regular expression pattern: ^(\+989|00989|989|09|\+۹۸۹|۰۰۹۸۹|۹۸۹|۰۹)[0,1,2,3,4,5,6,7,8,9,۰,١,۲,۳,۴,۵,۶,۷,۸,۹]{9,9}$ |
|
| NationalCode | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"TutorMobile": "sample string 1",
"NationalCode": "sample string 2"
}
application/xml, text/xml
Sample:
<RequestTutor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arad.Aladiyat.Services.Models.ApiModels"> <NationalCode>sample string 2</NationalCode> <TutorMobile>sample string 1</TutorMobile> </RequestTutor>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
نتیجه درخواست به صورت مدل OperationResult
OperationResultOfRequestTutor| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Message | string |
None. |
|
| Success | boolean |
None. |
|
| Data | RequestTutor |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.