POST api/OTrain/AddOTrainTie
新增帮带
Request Information
URI Parameters
None.
Body Parameters
AddOrganizeTrainTieRequestName | Description | Type | Additional information |
---|---|---|---|
strJson |
字符串:组训人员ID:otrain_emp_id 帮带人员ID:tie_emp_id 开始时间:tie_start_time 结束时间 tie_end_time [{\"otrain_emp_id\":\"10114\",\"tie_emp_id\":\"10114\",\"tie_start_time\":\"1\",\"tie_end_time\":\"1\"}] |
string |
None. |
user_id |
当前登录者Id |
string |
None. |
token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "strJson": "sample string 1", "user_id": "sample string 2", "token": "sample string 3" }
application/xml, text/xml
Sample:
<AddOrganizeTrainTieRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 3</token> <user_id>sample string 2</user_id> <strJson>sample string 1</strJson> </AddOrganizeTrainTieRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
新增帮带
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |