POST api/e/ys/Authentication?memberID={memberID}&code={code}&intType={intType}

会员认证提交

Request Information

URI Parameters

NameDescriptionTypeAdditional information
memberID

会员编号

globally unique identifier

Required

code

小程序Code

string

Required

intType

认证类型 1 默认个人认证 2企业认证

integer

Default value is 1

Body Parameters

认证信息实体

AuthenticationModel
NameDescriptionTypeAdditional information
MemberID

会员编号

globally unique identifier

None.

SName

名称

string

None.

OrganizationCode

证件号

string

None.

Description

经营范围

string

None.

AuthCode

认证码

string

None.

PayOrderCode

支付单号

string

None.

licenseImage

营业执照图片

string

None.

FrontImage

身份证正面

string

None.

BackImage

身份证背面

string

None.

Phone

企业电话

string

None.

LinkMan

联系人

string

None.

LinkPhone

联系人电话

string

None.

EMail

邮箱

string

None.

EndDateTime

到期时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberID": "2aa8ff6a-1774-430b-a5f6-df1a8f1cc3f7",
  "SName": "sample string 2",
  "OrganizationCode": "sample string 3",
  "Description": "sample string 4",
  "AuthCode": "sample string 5",
  "PayOrderCode": "sample string 6",
  "licenseImage": "sample string 7",
  "FrontImage": "sample string 8",
  "BackImage": "sample string 9",
  "Phone": "sample string 10",
  "LinkMan": "sample string 11",
  "LinkPhone": "sample string 12",
  "EMail": "sample string 13",
  "EndDateTime": "2025-04-18T17:49:50.8085342+08:00"
}

application/xml, text/xml

Sample:
<AuthenticationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.A">
  <AuthCode>sample string 5</AuthCode>
  <BackImage>sample string 9</BackImage>
  <Description>sample string 4</Description>
  <EMail>sample string 13</EMail>
  <EndDateTime>2025-04-18T17:49:50.8085342+08:00</EndDateTime>
  <FrontImage>sample string 8</FrontImage>
  <LinkMan>sample string 11</LinkMan>
  <LinkPhone>sample string 12</LinkPhone>
  <MemberID>2aa8ff6a-1774-430b-a5f6-df1a8f1cc3f7</MemberID>
  <OrganizationCode>sample string 3</OrganizationCode>
  <PayOrderCode>sample string 6</PayOrderCode>
  <Phone>sample string 10</Phone>
  <SName>sample string 2</SName>
  <licenseImage>sample string 7</licenseImage>
</AuthenticationModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AuthenticationModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.