保存

URL地址:api/App/Applicant/SaveApplicant

请求方式:POST

传递参数

None.

传递对象

ApplicantEntity (对象)
名   称描   述参数类型附加信息
Id

integer

None.

Uid

用户ID

integer

None.

Type

申请人类型(1:个体工商户,2:企业)

integer

None.

Name

申请人名称

string

None.

ContactName

联系人姓名

string

None.

Phone

联系电话

string

None.

IDCard

身份证号

string

None.

CreditCode

统一社会信用代码

string

None.

Addr

地址

string

None.

PostCode

邮编

string

None.

CreationDate

创建日期

date

None.

application/json, text/json

Sample:
{
  "Id": 1,
  "Uid": 2,
  "Type": 3,
  "Name": "sample string 4",
  "ContactName": "sample string 5",
  "Phone": "sample string 6",
  "IDCard": "sample string 7",
  "CreditCode": "sample string 8",
  "Addr": "sample string 9",
  "PostCode": "sample string 10",
  "CreationDate": "2021-03-08T17:35:00.2938425+08:00"
}

application/xml, text/xml

Sample:
<ApplicantEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Addr>sample string 9</Addr>
  <ContactName>sample string 5</ContactName>
  <CreationDate>2021-03-08T17:35:00.2938425+08:00</CreationDate>
  <CreditCode>sample string 8</CreditCode>
  <IDCard>sample string 7</IDCard>
  <Id>1</Id>
  <Name>sample string 4</Name>
  <Phone>sample string 6</Phone>
  <PostCode>sample string 10</PostCode>
  <Type>3</Type>
  <Uid>2</Uid>
</ApplicantEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfInt32 (bool)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

integer

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": 3
}

application/xml, text/xml

Sample:
<HttpResultMessageOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>3</Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfint>