POST api/Water/Bill
Retrieve a bill for the user. Doesn't care about input, creates sample due date and bill amount.
Request Information
URI Parameters
None.
Body Parameters
BillRequest
BillRequestName | Description | Type | Additional information |
---|---|---|---|
EmailAddress |
Users Email Address |
string |
Required |
Address1 |
Users Address Line 1 |
string |
Required |
Address2 |
Users Address Line 2 |
string |
None. |
City |
City |
string |
Required |
State |
State |
string |
Required |
Zip |
Postal Code |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "EmailAddress": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "City": "sample string 4", "State": "sample string 5", "Zip": "sample string 6" }
application/xml, text/xml
Sample:
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <EmailAddress>sample string 1</EmailAddress> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <City>sample string 4</City> <State>sample string 5</State> <Zip>sample string 6</Zip> </Root>
application/x-www-form-urlencoded
Sample:
EmailAddress=value&Address1=value&Address2=value&City=value&State=value&Zip=value
multipart/form-data
Sample:
Sample not available.
application/octet-stream
Sample:
Sample not available.
Response Information
Resource Description
HTTPResponseMessage with StatusCode and BillResponse in format requested
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |