POST api/MatchTeam
添加MatchTeam
Request Information
URI Parameters
None.
Body Parameters
d=[MatchID=[竞赛ID,Guid],Name=[竞赛团队名称,string],CompanyID=[公司ID,long],UserAmounts=[用户数量,int],Steps=[步数,int]]
UploadParametersName | Description | Type | Additional information |
---|---|---|---|
u |
用户ID StaffID |
integer |
None. |
t |
全局数据(加密) 1.单点登陆格式:[[用户密码,加密]|[requestTime]|[设备标识],加密] 2.其他数据通讯格式:[[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密] |
string |
Required |
d |
数据参数 加密(单点登陆除外) 不同API,参数格式不同 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "u": 1, "t": "sample string 2", "d": "sample string 3" }
application/x-www-form-urlencoded
Sample:
u=Value&t=Value&d=Value
Response Information
Resource Description
添加MatchTeam
ApiResultName | Description | Type | Additional information |
---|---|---|---|
Code |
Http状态码 |
HttpStatusCode |
None. |
State |
自定义状态 |
StateValue |
None. |
StateCode |
自定义状态码 |
integer |
None. |
Message |
说明 |
string |
None. |
ErrorInfo |
错误信息 |
string |
None. |
Content |
返回数据 |
Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.