GET api/Customer
Request Information
URI Parameters
None.
Body Parameters
CustomerDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| FatherId | globally unique identifier |
None. |
|
| RoleId | globally unique identifier |
None. |
|
| CustomerName | string |
None. |
|
| CustomerType | integer |
None. |
|
| JuristicPerson | string |
None. |
|
| JuristicPersonTel | string |
None. |
|
| CertificateNo | string |
None. |
|
| CustomerAddress | string |
None. |
|
| CreateTime | date |
None. |
|
| Remark | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| WxAppId | string |
None. |
|
| WxMchId | string |
None. |
|
| WxApiKey | string |
None. |
|
| WxAppSecret | string |
None. |
|
| CreateTimeToString | string |
None. |
|
| CustomerTypeName | string |
None. |
|
| RefundPwd | string |
None. |
|
| CustomerNum | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| CustomerSecret | string |
None. |
|
| RoleName | string |
None. |
|
| FatherCustomerName | string |
None. |
|
| CustomerIdList | Collection of globally unique identifier |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Total | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "5e9349c7-49da-4b7a-adb6-48e6ef5f0102",
"FatherId": "cfc26404-eb49-49ba-be0b-ed7a3b6faa1e",
"RoleId": "3219ceb7-66b2-4228-8878-a95cf87f38f5",
"CustomerName": "sample string 2",
"CustomerType": 1,
"JuristicPerson": "sample string 3",
"JuristicPersonTel": "sample string 4",
"CertificateNo": "sample string 5",
"CustomerAddress": "sample string 6",
"CreateTime": "2026-03-02T19:48:22.7012025+08:00",
"Remark": "sample string 7",
"IsDeleted": true,
"WxAppId": "sample string 8",
"WxMchId": "sample string 9",
"WxApiKey": "sample string 10",
"WxAppSecret": "sample string 11",
"CreateTimeToString": "2026-03-02 19:48:22",
"CustomerTypeName": "总公司",
"RefundPwd": "sample string 12",
"CustomerNum": "sample string 13",
"UserId": "a1fea395-925e-4a94-942d-403f9e731e93",
"CustomerSecret": "sample string 15",
"RoleName": "sample string 16",
"FatherCustomerName": "sample string 17",
"CustomerIdList": [
"f7b6c0de-6c51-4c9e-beab-8c92e5addc60",
"4ca7eaf6-aa9a-4ad3-82cf-926a71137591"
],
"PageIndex": 18,
"PageSize": 19,
"Total": 20
}
application/xml, text/xml
Sample:
<CustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model">
<_x003C_PageIndex_x003E_k__BackingField>18</_x003C_PageIndex_x003E_k__BackingField>
<_x003C_PageSize_x003E_k__BackingField>19</_x003C_PageSize_x003E_k__BackingField>
<_x003C_Total_x003E_k__BackingField>20</_x003C_Total_x003E_k__BackingField>
<CertificateNo>sample string 5</CertificateNo>
<CreateTime>2026-03-02T19:48:22.7012025+08:00</CreateTime>
<CustomerAddress>sample string 6</CustomerAddress>
<CustomerIdList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>f7b6c0de-6c51-4c9e-beab-8c92e5addc60</d2p1:guid>
<d2p1:guid>4ca7eaf6-aa9a-4ad3-82cf-926a71137591</d2p1:guid>
</CustomerIdList>
<CustomerName>sample string 2</CustomerName>
<CustomerNum>sample string 13</CustomerNum>
<CustomerSecret>sample string 15</CustomerSecret>
<CustomerType>1</CustomerType>
<FatherCustomerName>sample string 17</FatherCustomerName>
<FatherId>cfc26404-eb49-49ba-be0b-ed7a3b6faa1e</FatherId>
<Id>5e9349c7-49da-4b7a-adb6-48e6ef5f0102</Id>
<IsDeleted>true</IsDeleted>
<JuristicPerson>sample string 3</JuristicPerson>
<JuristicPersonTel>sample string 4</JuristicPersonTel>
<RefundPwd>sample string 12</RefundPwd>
<Remark>sample string 7</Remark>
<RoleId>3219ceb7-66b2-4228-8878-a95cf87f38f5</RoleId>
<RoleName>sample string 16</RoleName>
<UserId>a1fea395-925e-4a94-942d-403f9e731e93</UserId>
<WxApiKey>sample string 10</WxApiKey>
<WxAppId>sample string 8</WxAppId>
<WxAppSecret>sample string 11</WxAppSecret>
<WxMchId>sample string 9</WxMchId>
</CustomerDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of CustomerTree| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| CustomerName | string |
None. |
|
| icon | string |
None. |
|
| Children | Collection of CustomerTree |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.