GET api/Customer/CalculateBill?Unit={Unit}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Unit | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultModelOfCalculateElectricModelName | Description | Type | Additional information |
---|---|---|---|
Data | CalculateElectricModel |
None. |
|
Status | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "Power": "sample string 1", "Service": "sample string 2", "TotalBase": "sample string 3", "Ft": "sample string 4", "Vat": "sample string 5", "Summary": "sample string 6" }, "Status": true, "ErrorMessage": "sample string 2", "Message": "sample string 3" }
application/xml, text/xml
Sample:
<ResultModelOfCalculateElectricModel8JTJZdSI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.CustomerModels"> <d2p1:Ft>sample string 4</d2p1:Ft> <d2p1:Power>sample string 1</d2p1:Power> <d2p1:Service>sample string 2</d2p1:Service> <d2p1:Summary>sample string 6</d2p1:Summary> <d2p1:TotalBase>sample string 3</d2p1:TotalBase> <d2p1:Vat>sample string 5</d2p1:Vat> </Data> <ErrorMessage>sample string 2</ErrorMessage> <Message>sample string 3</Message> <Status>true</Status> </ResultModelOfCalculateElectricModel8JTJZdSI>