POST Api/Member/login

Request Information

URI Parameters

None.

Body Parameters

MemberDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

StationId

globally unique identifier

None.

MemberType

integer

None.

MemberTypeName

string

None.

IsCard

boolean

None.

MemberName

string

None.

Integral

integer

None.

Money

decimal number

None.

FrozenMoney

decimal number

None.

PhoneNum

string

None.

Password

string

None.

PayPassword

string

None.

LastLoginTime

date

None.

RegistTime

date

None.

LoginTimes

integer

None.

IsDeleted

boolean

None.

IsEnablePayPassword

boolean

None.

IsEnableChargEndTelMessage

boolean

None.

CardASN

string

None.

OpenId

string

None.

OilCardId

globally unique identifier

None.

DiscountName

string

None.

DiscountMoney

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "db429e3a-6e0d-4b2f-9f0c-572998f3bf1d",
  "StationId": "304583f5-acc6-4889-95e0-ca22be00e50e",
  "MemberType": 1,
  "MemberTypeName": "App",
  "IsCard": true,
  "MemberName": "sample string 2",
  "Integral": 1,
  "Money": 1.0,
  "FrozenMoney": 1.0,
  "PhoneNum": "sample string 3",
  "Password": "sample string 4",
  "PayPassword": "sample string 5",
  "LastLoginTime": "2026-03-02T19:55:52.1443219+08:00",
  "RegistTime": "2026-03-02T19:55:52.1443219+08:00",
  "LoginTimes": 1,
  "IsDeleted": true,
  "IsEnablePayPassword": true,
  "IsEnableChargEndTelMessage": true,
  "CardASN": "sample string 6",
  "OpenId": "sample string 7",
  "OilCardId": "b1475aec-6b68-4a98-83f3-a09d37b453cb",
  "DiscountName": "sample string 9",
  "DiscountMoney": 1.0
}

application/xml, text/xml

Sample:
<MemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model">
  <CardASN>sample string 6</CardASN>
  <DiscountMoney>1</DiscountMoney>
  <DiscountName>sample string 9</DiscountName>
  <FrozenMoney>1</FrozenMoney>
  <Id>db429e3a-6e0d-4b2f-9f0c-572998f3bf1d</Id>
  <Integral>1</Integral>
  <IsCard>true</IsCard>
  <IsDeleted>true</IsDeleted>
  <IsEnableChargEndTelMessage>true</IsEnableChargEndTelMessage>
  <IsEnablePayPassword>true</IsEnablePayPassword>
  <LastLoginTime>2026-03-02T19:55:52.1443219+08:00</LastLoginTime>
  <LoginTimes>1</LoginTimes>
  <MemberName>sample string 2</MemberName>
  <MemberType>1</MemberType>
  <Money>1</Money>
  <OilCardId>b1475aec-6b68-4a98-83f3-a09d37b453cb</OilCardId>
  <OpenId>sample string 7</OpenId>
  <Password>sample string 4</Password>
  <PayPassword>sample string 5</PayPassword>
  <PhoneNum>sample string 3</PhoneNum>
  <RegistTime>2026-03-02T19:55:52.1443219+08:00</RegistTime>
  <StationId>304583f5-acc6-4889-95e0-ca22be00e50e</StationId>
</MemberDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.