POST api/SinoLion
Request Information
URI Parameters
None.
Body Parameters
sl_sinolionName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
sl_name | string |
None. |
|
sl_c_name | string |
None. |
|
sl_phone | string |
None. |
|
sl_p1 | integer |
None. |
|
sl_p2 | integer |
None. |
|
sl_p3 | integer |
None. |
|
sl_p4 | integer |
None. |
|
sl_p5 | integer |
None. |
|
sl_p6 | integer |
None. |
|
addtime | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "_id": 1, "_sl_name": "sample string 2", "_sl_c_name": "sample string 3", "_sl_phone": "sample string 4", "_sl_p1": 5, "_sl_p2": 6, "_sl_p3": 7, "_sl_p4": 8, "_sl_p5": 9, "_sl_p6": 10, "_addtime": 11 }
application/xml, text/xml
Sample:
<sl_sinolion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeCms.BusinessEntity"> <_addtime>11</_addtime> <_id>1</_id> <_sl_c_name>sample string 3</_sl_c_name> <_sl_name>sample string 2</_sl_name> <_sl_p1>5</_sl_p1> <_sl_p2>6</_sl_p2> <_sl_p3>7</_sl_p3> <_sl_p4>8</_sl_p4> <_sl_p5>9</_sl_p5> <_sl_p6>10</_sl_p6> <_sl_phone>sample string 4</_sl_phone> </sl_sinolion>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CodeErrorName | Description | Type | Additional information |
---|---|---|---|
code_status | integer |
None. |
|
code_msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code_status": 1, "code_msg": "sample string 2" }
application/xml, text/xml
Sample:
<CodeError xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeCms.ApiHelper.Models"> <code_msg>sample string 2</code_msg> <code_status>1</code_status> </CodeError>