POST api/Sys/Register
“Register”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| data | “data”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"enterpriseName": "sample string 1",
"pltUserCn": "sample string 2",
"pltAccountLogin": "sample string 3",
"purchaseDuration": 4,
"purchaseUnit": "sample string 5",
"appKey": "sample string 6",
"appSecret": "sample string 7",
"code": "sample string 8",
"pltEmail": "sample string 9",
"pltMobile": "sample string 10"
}
application/xml, text/xml
Sample:
<PostInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimplePromotion.Models"> <appKey>sample string 6</appKey> <appSecret>sample string 7</appSecret> <code>sample string 8</code> <enterpriseName>sample string 1</enterpriseName> <pltAccountLogin>sample string 3</pltAccountLogin> <pltEmail>sample string 9</pltEmail> <pltMobile>sample string 10</pltMobile> <pltUserCn>sample string 2</pltUserCn> <purchaseDuration>4</purchaseDuration> <purchaseUnit>sample string 5</purchaseUnit> </PostInfoModel>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"data": {
"account": "sample string 1",
"token": "sample string 2",
"tenantId": "sample string 3",
"tenantInfo": "sample string 4"
}
}
application/xml, text/xml
Sample:
<SysReturnModelOfSysInfoModelBctccOYy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimplePromotion.Models">
<code>1</code>
<data>
<account>sample string 1</account>
<tenantId>sample string 3</tenantId>
<tenantInfo>sample string 4</tenantInfo>
<token>sample string 2</token>
</data>
<msg>sample string 2</msg>
</SysReturnModelOfSysInfoModelBctccOYy>