POST api/Pos/Miniprogram/Login

零售小程序登陆时请求的API

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

零售小程序登陆时请求的API

CommonOperationResultWithTagOfPosPersonalResult
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

PosPersonalResult

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "token": "sample string 1",
    "username": "sample string 2",
    "nickname": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfPosPersonalResultldpHZqFJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result">
    <d2p1:nickname>sample string 3</d2p1:nickname>
    <d2p1:token>sample string 1</d2p1:token>
    <d2p1:username>sample string 2</d2p1:username>
  </tag>
</CommonOperationResultWithTagOfPosPersonalResultldpHZqFJ>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.