POST api/ProfessionalTarget/SaveProfessionalTarget
保存课程目标
Request Information
URI Parameters
None.
Body Parameters
ProfessionalTargetName | Description | Type | Additional information |
---|---|---|---|
Id |
编号 |
integer |
None. |
ProfessionalId |
课程编号 |
integer |
None. |
Target |
目标 |
string |
None. |
Description |
描述 |
string |
None. |
AssessmentContent |
考核内容 |
string |
None. |
EvaluationBasis |
评价依据 |
string |
None. |
Weight |
权重 |
decimal number |
None. |
CreatedUserId |
创建人编号 |
integer |
None. |
LastModifyUserId |
最后人 |
integer |
None. |
LastModifyTime |
最后修改时间 |
date |
None. |
CreatedTime |
创建时间 |
date |
None. |
ProfessionalTargetLink |
环节 |
Collection of ProfessionalTargetLink |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ProfessionalId": 2, "Target": "sample string 3", "Description": "sample string 4", "AssessmentContent": "sample string 5", "EvaluationBasis": "sample string 6", "Weight": 7.1, "CreatedUserId": 8, "LastModifyUserId": 9, "LastModifyTime": "2024-09-25T00:12:05.0626549+08:00", "CreatedTime": "2024-09-25T00:12:05.0626549+08:00", "ProfessionalTargetLink": [ { "Id": 1, "Name": "sample string 2", "ProfessionalTargetId": 3, "ProfessionalTargetLinkType": 1, "WeightProportion": 4, "CreatedDate": "2024-09-25T00:12:05.0626549+08:00" }, { "Id": 1, "Name": "sample string 2", "ProfessionalTargetId": 3, "ProfessionalTargetLinkType": 1, "WeightProportion": 4, "CreatedDate": "2024-09-25T00:12:05.0626549+08:00" } ] }
text/html
Sample:
{"Id":1,"ProfessionalId":2,"Target":"sample string 3","Description":"sample string 4","AssessmentContent":"sample string 5","EvaluationBasis":"sample string 6","Weight":7.1,"CreatedUserId":8,"LastModifyUserId":9,"LastModifyTime":"2024-09-25T00:12:05.0626549+08:00","CreatedTime":"2024-09-25T00:12:05.0626549+08:00","ProfessionalTargetLink":[{"Id":1,"Name":"sample string 2","ProfessionalTargetId":3,"ProfessionalTargetLinkType":1,"WeightProportion":4,"CreatedDate":"2024-09-25T00:12:05.0626549+08:00"},{"Id":1,"Name":"sample string 2","ProfessionalTargetId":3,"ProfessionalTargetLinkType":1,"WeightProportion":4,"CreatedDate":"2024-09-25T00:12:05.0626549+08:00"}]}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存课程目标
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});