GET dz_api/Customer/GetCustomer?custId={custId}&loadDetails={loadDetails}&forApp={forApp}

获取一条客户信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

客户ID

integer

Required

loadDetails

是否加载全面信息

boolean

None.

forApp

添加一些专门针对App的字段

boolean

None.

Body Parameters

None.

Response Information

Resource Description

获取一条客户信息

CustomerInfo
NameDescriptionTypeAdditional information
CustId

客户ID

integer

None.

CustNo

客户编码

string

None.

CustName

客户名称

string

None.

ServiceClassNames

服务类型(App专用)

string

None.

LicenseNo

统一社会信用代码

string

None.

CreatedDate

新增日期

string

None.

LevelId

客户等级

integer

None.

LevelName

等级名称

string

None.

SourceId

客户来源

integer

None.

SourceName

来源名称

string

None.

Clerk

业务员

integer

None.

ClerkName

业务员名称

string

None.

GetInvoiceType

取票方式

GetInvoiceTypeEnums

None.

GetInvoiceCycle

取票周期

integer

None.

TaxType

纳税性质

TaxTypeEnums

None.

TaxBureau

主管税务机关

string

None.

TaxDiskFlag

是否有税控盘 0:无 1:有

integer

None.

CACertFlag

是否有CA证书 0:无 1:有

integer

None.

TaxHallTel

税务大厅电话

string

None.

ManagerName

专管员姓名

string

None.

ManagerPhone

专管员手机号

string

None.

CompanyType

公司注册类型

CompanyTypeEnums

None.

CompanyIndustry

所属行业

integer

None.

RegisteredCapital

注册资本

string

None.

FoundDate

成立日期

date

None.

LegalPerson

法定代表人

string

None.

RegistrationOrgan

登记机关

string

None.

RegistrationAddr

注册地址

string

None.

BusinessScope

经营范围

string

None.

Contact

联系人

string

None.

Phone

手机号

string

None.

CustAccount

客户经理

integer

None.

Location

所在地

integer

None.

StrLocation

所在地(App专用)

string

None.

Address

联系地址

string

None.

AccAsId

记账账套ID

integer

None.

WxPhone

微信关联手机号码

string

None.

Note

备注

string

None.

CustomerTags

客户标签

Collection of TagContentInfo

None.

ShareHolders

股东信息

Collection of ShareHolderInfo

None.

Attachments

附件信息

Collection of AttachmentInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "CustNo": "sample string 2",
  "CustName": "sample string 3",
  "ServiceClassNames": "sample string 4",
  "LicenseNo": "sample string 5",
  "CreatedDate": "sample string 6",
  "LevelId": 7,
  "LevelName": "sample string 8",
  "SourceId": 9,
  "SourceName": "sample string 10",
  "Clerk": 11,
  "ClerkName": "sample string 12",
  "GetInvoiceType": 1010,
  "GetInvoiceCycle": 13,
  "TaxType": 1010,
  "TaxBureau": "sample string 14",
  "TaxDiskFlag": 15,
  "CACertFlag": 16,
  "TaxHallTel": "sample string 17",
  "ManagerName": "sample string 18",
  "ManagerPhone": "sample string 19",
  "CompanyType": 1010,
  "CompanyIndustry": 20,
  "RegisteredCapital": "sample string 21",
  "FoundDate": "2024-11-25T02:04:49.5779561+08:00",
  "LegalPerson": "sample string 23",
  "RegistrationOrgan": "sample string 24",
  "RegistrationAddr": "sample string 25",
  "BusinessScope": "sample string 26",
  "Contact": "sample string 27",
  "Phone": "sample string 28",
  "CustAccount": 29,
  "Location": 30,
  "StrLocation": "sample string 31",
  "Address": "sample string 32",
  "AccAsId": 33,
  "WxPhone": "sample string 34",
  "Note": "sample string 35",
  "CustomerTags": [
    {
      "TagId": 1,
      "TagContent": "sample string 2"
    },
    {
      "TagId": 1,
      "TagContent": "sample string 2"
    }
  ],
  "ShareHolders": [
    {
      "ShId": 1,
      "ShName": "sample string 2",
      "ShType": 1,
      "IdType": 1010,
      "IdNo": "sample string 3",
      "PromisedDate": "2024-11-25T02:04:49.5779561+08:00",
      "PromisedAmount": 4.0,
      "PaidDate": "2024-11-25T02:04:49.5779561+08:00",
      "PaidAmount": 5.0,
      "Proportion": 6.1
    },
    {
      "ShId": 1,
      "ShName": "sample string 2",
      "ShType": 1,
      "IdType": 1010,
      "IdNo": "sample string 3",
      "PromisedDate": "2024-11-25T02:04:49.5779561+08:00",
      "PromisedAmount": 4.0,
      "PaidDate": "2024-11-25T02:04:49.5779561+08:00",
      "PaidAmount": 5.0,
      "Proportion": 6.1
    }
  ],
  "Attachments": [
    {
      "AaId": 1,
      "AmId": 2,
      "RefId": 3,
      "AmType": 1001,
      "FileName": "sample string 4",
      "FileSize": 5,
      "SavedName": "sample string 6",
      "SavedPath": "sample string 7",
      "FileUrl": "sample string 8"
    },
    {
      "AaId": 1,
      "AmId": 2,
      "RefId": 3,
      "AmType": 1001,
      "FileName": "sample string 4",
      "FileSize": 5,
      "SavedName": "sample string 6",
      "SavedPath": "sample string 7",
      "FileUrl": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
  <AccAsId>33</AccAsId>
  <Address>sample string 32</Address>
  <Attachments>
    <AttachmentInfo>
      <AaId>1</AaId>
      <AmId>2</AmId>
      <AmType>Customer</AmType>
      <FileName>sample string 4</FileName>
      <FileSize>5</FileSize>
      <FileUrl>sample string 8</FileUrl>
      <RefId>3</RefId>
      <SavedName>sample string 6</SavedName>
      <SavedPath>sample string 7</SavedPath>
    </AttachmentInfo>
    <AttachmentInfo>
      <AaId>1</AaId>
      <AmId>2</AmId>
      <AmType>Customer</AmType>
      <FileName>sample string 4</FileName>
      <FileSize>5</FileSize>
      <FileUrl>sample string 8</FileUrl>
      <RefId>3</RefId>
      <SavedName>sample string 6</SavedName>
      <SavedPath>sample string 7</SavedPath>
    </AttachmentInfo>
  </Attachments>
  <BusinessScope>sample string 26</BusinessScope>
  <CACertFlag>16</CACertFlag>
  <Clerk>11</Clerk>
  <ClerkName>sample string 12</ClerkName>
  <CompanyIndustry>20</CompanyIndustry>
  <CompanyType>Ltd_liability</CompanyType>
  <Contact>sample string 27</Contact>
  <CreatedDate>sample string 6</CreatedDate>
  <CustAccount>29</CustAccount>
  <CustId>1</CustId>
  <CustName>sample string 3</CustName>
  <CustNo>sample string 2</CustNo>
  <CustomerTags>
    <TagContentInfo>
      <TagContent>sample string 2</TagContent>
      <TagId>1</TagId>
    </TagContentInfo>
    <TagContentInfo>
      <TagContent>sample string 2</TagContent>
      <TagId>1</TagId>
    </TagContentInfo>
  </CustomerTags>
  <FoundDate>2024-11-25T02:04:49.5779561+08:00</FoundDate>
  <GetInvoiceCycle>13</GetInvoiceCycle>
  <GetInvoiceType>CallOn</GetInvoiceType>
  <LegalPerson>sample string 23</LegalPerson>
  <LevelId>7</LevelId>
  <LevelName>sample string 8</LevelName>
  <LicenseNo>sample string 5</LicenseNo>
  <Location>30</Location>
  <ManagerName>sample string 18</ManagerName>
  <ManagerPhone>sample string 19</ManagerPhone>
  <Note>sample string 35</Note>
  <Phone>sample string 28</Phone>
  <RegisteredCapital>sample string 21</RegisteredCapital>
  <RegistrationAddr>sample string 25</RegistrationAddr>
  <RegistrationOrgan>sample string 24</RegistrationOrgan>
  <ServiceClassNames>sample string 4</ServiceClassNames>
  <ShareHolders>
    <ShareHolderInfo>
      <IdNo>sample string 3</IdNo>
      <IdType>LicenseNo</IdType>
      <PaidAmount>5</PaidAmount>
      <PaidDate>2024-11-25T02:04:49.5779561+08:00</PaidDate>
      <PromisedAmount>4</PromisedAmount>
      <PromisedDate>2024-11-25T02:04:49.5779561+08:00</PromisedDate>
      <Proportion>6.1</Proportion>
      <ShId>1</ShId>
      <ShName>sample string 2</ShName>
    </ShareHolderInfo>
    <ShareHolderInfo>
      <IdNo>sample string 3</IdNo>
      <IdType>LicenseNo</IdType>
      <PaidAmount>5</PaidAmount>
      <PaidDate>2024-11-25T02:04:49.5779561+08:00</PaidDate>
      <PromisedAmount>4</PromisedAmount>
      <PromisedDate>2024-11-25T02:04:49.5779561+08:00</PromisedDate>
      <Proportion>6.1</Proportion>
      <ShId>1</ShId>
      <ShName>sample string 2</ShName>
    </ShareHolderInfo>
  </ShareHolders>
  <SourceId>9</SourceId>
  <SourceName>sample string 10</SourceName>
  <StrLocation>sample string 31</StrLocation>
  <TaxBureau>sample string 14</TaxBureau>
  <TaxDiskFlag>15</TaxDiskFlag>
  <TaxHallTel>sample string 17</TaxHallTel>
  <TaxType>GeneralTaxpayer</TaxType>
  <WxPhone>sample string 34</WxPhone>
</CustomerInfo>