GET api/Bill/GetMonthlyBillByCustomerId?CustomerId={CustomerId}&month={month}&year={year}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
|
| month | integer |
Required |
|
| year | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BillDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Customer | Customer |
None. |
|
| ProductList | Collection of ProductInfo |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Customer": {
"$id": "2",
"CustomerId": 1,
"Name": "sample string 2",
"DOB": "sample string 3",
"Address": "sample string 4",
"Location": "sample string 5",
"City_Id": 6,
"City": "sample string 7",
"Area_Id": 8,
"Area": "sample string 9",
"Postal_Code": "sample string 10",
"Email": "sample string 11",
"Mobile": "sample string 12",
"CustomerType_Id": 13,
"Description": "sample string 14",
"SessionId": "sample string 15",
"UserId": 16,
"Seq_Num": 17.0
},
"ProductList": [
{
"$id": "3",
"ProductName": "sample string 1",
"Size": "sample string 2",
"Unit": "sample string 3",
"TotalQty": 4,
"Rate": 5.0,
"Amount": 6.0,
"GrandTotal": 7.0
},
{
"$ref": "3"
}
]
},
{
"$ref": "1"
}
]
application/octet-stream
Sample:
[{"$id":"1","Customer":{"$id":"2","CustomerId":1,"Name":"sample string 2","DOB":"sample string 3","Address":"sample string 4","Location":"sample string 5","City_Id":6,"City":"sample string 7","Area_Id":8,"Area":"sample string 9","Postal_Code":"sample string 10","Email":"sample string 11","Mobile":"sample string 12","CustomerType_Id":13,"Description":"sample string 14","SessionId":"sample string 15","UserId":16,"Seq_Num":17.0},"ProductList":[{"$id":"3","ProductName":"sample string 1","Size":"sample string 2","Unit":"sample string 3","TotalQty":4,"Rate":5.0,"Amount":6.0,"GrandTotal":7.0},{"$ref":"3"}]},{"$ref":"1"}]