POST api/OTrain/AddOTrainTieEmp

组训人员新增帮带人员

Request Information

URI Parameters

None.

Body Parameters

AddOrganizeTrainTieEmpRequest
NameDescriptionTypeAdditional information
otrain_emp_id

组训人员ID

integer

None.

strJson

字符串:帮带人员ID:tie_emp_id 开始时间:tie_start_time 结束时间 tie_end_time [{\"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:
{
  "otrain_emp_id": 1,
  "strJson": "sample string 2",
  "user_id": "sample string 3",
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<AddOrganizeTrainTieEmpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 4</token>
  <user_id>sample string 3</user_id>
  <otrain_emp_id>1</otrain_emp_id>
  <strJson>sample string 2</strJson>
</AddOrganizeTrainTieEmpRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddOrganizeTrainTieEmpRequest'.

Response Information

Resource Description

组训人员新增帮带人员

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.