GET api/dataAnalysis/getSourceDistribution?date={date}&cmpanynumber={cmpanynumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| date | date |
Required |
|
| cmpanynumber | integer |
Default value is 1010 |
Body Parameters
None.
Response Information
Resource Description
ResultModelOfCommonRankModelOfListOfSourceDistributionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| data | CommonRankModelOfListOfSourceDistributionModel |
None. |
|
| error | string |
None. |
|
| code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"data": {
"date": "sample string 1",
"title": "sample string 2",
"total": 3,
"list": [
{
"projectName": "sample string 1",
"oldCustomer": 2,
"clueCustomer": 3,
"introductiveCustomer": 4,
"dyCustomer": 5,
"phoneCustomer": 6,
"xyCustomer": 7,
"extendCustomer": 8,
"otherCustomer": 9,
"visitedCustomer": 10,
"videoCustomer": 11,
"peersCustomer": 12,
"friendCustomer": 13
},
{
"projectName": "sample string 1",
"oldCustomer": 2,
"clueCustomer": 3,
"introductiveCustomer": 4,
"dyCustomer": 5,
"phoneCustomer": 6,
"xyCustomer": 7,
"extendCustomer": 8,
"otherCustomer": 9,
"visitedCustomer": 10,
"videoCustomer": 11,
"peersCustomer": 12,
"friendCustomer": 13
}
]
},
"error": "sample string 2",
"code": 3
}