POST AddUserIdentity

Request Information

URI Parameters

None.

Body Parameters

UserIdentityDTO
NameDescriptionTypeAdditional information
CustomerNo

string

None.

FullName

string

None.

CollegeName

string

None.

IdCardPic

string

None.

IdCardBackPic

string

None.

IdCard

string

None.

CredentialsPic

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerNo": "sample string 1",
  "FullName": "sample string 2",
  "CollegeName": "sample string 3",
  "IdCardPic": "sample string 4",
  "IdCardBackPic": "sample string 5",
  "IdCard": "sample string 6",
  "CredentialsPic": "sample string 7"
}

application/xml, text/xml

Sample:
<UserIdentityDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <CollegeName>sample string 3</CollegeName>
  <CredentialsPic>sample string 7</CredentialsPic>
  <CustomerNo>sample string 1</CustomerNo>
  <FullName>sample string 2</FullName>
  <IdCard>sample string 6</IdCard>
  <IdCardBackPic>sample string 5</IdCardBackPic>
  <IdCardPic>sample string 4</IdCardPic>
</UserIdentityDTO>

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 'UserIdentityDTO'.

Response Information

Resource Description

LoginResponse
NameDescriptionTypeAdditional information
CustomerNo

string

None.

UnitNo

string

None.

IsUpload

integer

None.

IsJoinUp

integer

None.

IdentityType

integer

None.

UserName

string

None.

IsApply

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerNo": "sample string 1",
  "UnitNo": "sample string 2",
  "IsUpload": 3,
  "IsJoinUp": 4,
  "IdentityType": 5,
  "UserName": "sample string 6",
  "IsApply": 7
}

application/xml, text/xml

Sample:
<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity">
  <CustomerNo>sample string 1</CustomerNo>
  <IdentityType>5</IdentityType>
  <IsApply>7</IsApply>
  <IsJoinUp>4</IsJoinUp>
  <IsUpload>3</IsUpload>
  <UnitNo>sample string 2</UnitNo>
  <UserName>sample string 6</UserName>
</LoginResponse>