POST api/Cnawebeng/UserLogin

'UserLogin' 的文件。

Request Information

Parameters

NameDescriptionAdditional information
oQuery
'oQuery' 的文件。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "sUserId": "sample string 1",
  "sPassword": "sample string 2"
}

application/xml, text/xml

Sample:
<CnawebengController.QueryUserLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Controllers">
  <sPassword>sample string 2</sPassword>
  <sUserId>sample string 1</sUserId>
</CnawebengController.QueryUserLogin>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "IsAuthorize": true,
  "UserInfoList": [
    {
      "ID": "sample string 1",
      "Name": "sample string 2",
      "Role": "sample string 3"
    },
    {
      "ID": "sample string 1",
      "Name": "sample string 2",
      "Role": "sample string 3"
    },
    {
      "ID": "sample string 1",
      "Name": "sample string 2",
      "Role": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<CNA_Login.LoginInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Models">
  <IsAuthorize>true</IsAuthorize>
  <UserInfoList>
    <CNA_Login.UserInfo>
      <ID>sample string 1</ID>
      <Name>sample string 2</Name>
      <Role>sample string 3</Role>
    </CNA_Login.UserInfo>
    <CNA_Login.UserInfo>
      <ID>sample string 1</ID>
      <Name>sample string 2</Name>
      <Role>sample string 3</Role>
    </CNA_Login.UserInfo>
    <CNA_Login.UserInfo>
      <ID>sample string 1</ID>
      <Name>sample string 2</Name>
      <Role>sample string 3</Role>
    </CNA_Login.UserInfo>
  </UserInfoList>
</CNA_Login.LoginInfo>