GET api/DoctorCourse/CourseData?record_id={record_id}
Данные для редактировать курса, требуется авторизация
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
record_id |
идентификатор |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CourseInfoName | Description | Type | Additional information |
---|---|---|---|
signs |
Признаки |
Collection of ReferenceBook |
None. |
record_id |
Идентификатор |
integer |
None. |
title |
Заголовок |
string |
Required String length: inclusive between 0 and 200 |
title_kz |
Заголовок кз |
string |
String length: inclusive between 0 and 200 |
description |
Описание |
string |
Required |
description_kz |
Описание кз |
string |
None. |
price |
Цена |
integer |
Required |
photo_rid |
Фото |
integer |
Required |
photo_rid_kz |
Фото кз |
integer |
None. |
tutorial_type_rid |
Фото |
integer |
Required |
sign_rid |
Признаки |
Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "signs": [ { "record_id": 1, "name": "sample string 2" }, { "record_id": 1, "name": "sample string 2" } ], "record_id": 1, "title": "sample string 2", "title_kz": "sample string 3", "description": "sample string 4", "description_kz": "sample string 5", "price": 1, "photo_rid": 1, "photo_rid_kz": 1, "tutorial_type_rid": 1, "sign_rid": [ 1, 2 ] }
text/html
Sample:
{"signs":[{"record_id":1,"name":"sample string 2"},{"record_id":1,"name":"sample string 2"}],"record_id":1,"title":"sample string 2","title_kz":"sample string 3","description":"sample string 4","description_kz":"sample string 5","price":1,"photo_rid":1,"photo_rid_kz":1,"tutorial_type_rid":1,"sign_rid":[1,2]}