GET api/FactorReport/{PersonID}/{DateFrom}/{DateTo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonID | integer |
Required |
|
| DateFrom | string |
Required |
|
| DateTo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
FactorReportModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalAmountDebt | decimal number |
None. |
|
| TotalGoldDebt | decimal number |
None. |
|
| PrevAmountDebt | decimal number |
None. |
|
| PrevGoldDebt | decimal number |
None. |
|
| ReportAmount | decimal number |
None. |
|
| ReportGold | decimal number |
None. |
|
| RepaireData | Collection of RepaireViewModel |
None. |
|
| FusionData | Collection of FusionViewModel |
None. |
|
| PlatingData | Collection of PlatingViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalAmountDebt": 1.0,
"TotalGoldDebt": 2.0,
"PrevAmountDebt": 3.0,
"PrevGoldDebt": 4.0,
"ReportAmount": 5.0,
"ReportGold": 6.0,
"RepaireData": [
{
"$id": "2",
"Name": "sample string 1",
"ID": 2,
"GoldType": 3,
"PersonID": 4,
"AddedGold": 1.0,
"NumberGoldenBoiling": 1,
"PricePerBoilling": 1.1,
"Wage": 1.0,
"Benefit": 1.1,
"PricePerGram": 1.1,
"Date": "sample string 5",
"AmountOfAddedGold": 1.0,
"GoldDeficit": 1.0,
"AmountOfGoldDeficit": 1.0,
"BuyPricePerGram": 1.1
},
{
"$ref": "2"
}
],
"FusionData": [
{
"$id": "3",
"ID": 1,
"CustomerID": 2,
"Weight": 3.1,
"FusionAmount": 4.1,
"RayAmount": 5.1,
"TotalAmount": 6.0,
"RayNumber": "sample string 7",
"isWithDevice": "sample string 8",
"Date": "sample string 9"
},
{
"$ref": "3"
}
],
"PlatingData": [
{
"$id": "4",
"ID": 1,
"PlatingType": 2,
"CustomerID": 3,
"Amount": 4.0,
"Date": "sample string 5",
"Name": "sample string 6",
"GoldTypeName": "sample string 7",
"Weight": 8.1,
"Description": "sample string 9"
},
{
"$ref": "4"
}
]
}