POST dz_api/Customer/AddCustomer

添加客户信息

Request Information

URI Parameters

None.

Body Parameters

AddCustomerModel
NameDescriptionTypeAdditional information
CustNo

客户编号

string

None.

CustName

客户名称

string

None.

LicenseNo

统一社会信用码

string

None.

TaxType

纳税性质

integer

None.

CompanyType

公司注册类型

integer

None.

CompanyIndustry

行业

integer

None.

RegisteredCapital

注册资本

string

None.

FoundDate

成立日期

string

None.

LegalPerson

法定代表人

string

None.

RegistrationOrgan

登记机关

string

None.

RegistrationAddr

注册地址

string

None.

Location

所在地

integer

None.

BusinessScope

经营范围

string

None.

AccAsId

记账账套ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustNo": "sample string 1",
  "CustName": "sample string 2",
  "LicenseNo": "sample string 3",
  "TaxType": 4,
  "CompanyType": 5,
  "CompanyIndustry": 6,
  "RegisteredCapital": "sample string 7",
  "FoundDate": "sample string 8",
  "LegalPerson": "sample string 9",
  "RegistrationOrgan": "sample string 10",
  "RegistrationAddr": "sample string 11",
  "Location": 12,
  "BusinessScope": "sample string 13",
  "AccAsId": 14
}

application/xml, text/xml

Sample:
<AddCustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
  <AccAsId>14</AccAsId>
  <BusinessScope>sample string 13</BusinessScope>
  <CompanyIndustry>6</CompanyIndustry>
  <CompanyType>5</CompanyType>
  <CustName>sample string 2</CustName>
  <CustNo>sample string 1</CustNo>
  <FoundDate>sample string 8</FoundDate>
  <LegalPerson>sample string 9</LegalPerson>
  <LicenseNo>sample string 3</LicenseNo>
  <Location>12</Location>
  <RegisteredCapital>sample string 7</RegisteredCapital>
  <RegistrationAddr>sample string 11</RegistrationAddr>
  <RegistrationOrgan>sample string 10</RegistrationOrgan>
  <TaxType>4</TaxType>
</AddCustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

添加客户信息

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>