POST api/Index/HomePage
首页
Request Information
URI Parameters
None.
Body Parameters
UserToken有值就提交,无值可不提或提交空值均可
API_Base_FormCommitModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserToken |
当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserToken": "sample string 1",
"DomainName": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseModelOfAM_HomePage| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | AM_HomePage |
None. |
|
| State | integer |
None. |
|
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"OrgInfo": {
"ShortName": "sample string 1",
"LogoImgURL": "sample string 2",
"BottomLogoImgURL": "sample string 3",
"ContactInfo": "sample string 4"
},
"UserInfo": {
"ExamInfo": "sample string 1",
"UnseenWrongQSNumber": 2,
"nickName": "sample string 3",
"HeadPortrait": "sample string 4"
}
},
"State": 1,
"Msg": "sample string 2"
}