GET request/water/customer/{CustomerId}/document/{documentId}
Get Water specific document for a Customer
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
|
| documentId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WaterCustomerDocumentView| Name | Description | Type | Additional information |
|---|---|---|---|
| DocSize | integer |
None. |
|
| DocumentId | integer |
None. |
|
| DocumentName | string |
None. |
|
| DocumentRemoteURL | string |
None. |
|
| DocumentTypeId | integer |
None. |
|
| FileName | string |
None. |
|
| MugContractID | integer |
None. |
|
| MugCustomerId | integer |
None. |
|
| MugQuoteId | integer |
None. |
|
| MugSiteId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"documentId": 1,
"mugCustomerId": 1,
"mugSiteId": 1,
"mugQuoteId": 1,
"mugContractID": 1,
"documentName": "sample string 2",
"fileName": "sample string 3",
"documentRemoteURL": "sample string 4",
"documentTypeId": 1,
"docSize": 1
}
text/html
Sample:
{"documentId":1,"mugCustomerId":1,"mugSiteId":1,"mugQuoteId":1,"mugContractID":1,"documentName":"sample string 2","fileName":"sample string 3","documentRemoteURL":"sample string 4","documentTypeId":1,"docSize":1}
application/xml, text/xml
Sample:
<WaterCustomerDocumentView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.WaterCustomer"> <DocSize>1</DocSize> <DocumentId>1</DocumentId> <DocumentName>sample string 2</DocumentName> <DocumentRemoteURL>sample string 4</DocumentRemoteURL> <DocumentTypeId>1</DocumentTypeId> <FileName>sample string 3</FileName> <MugContractID>1</MugContractID> <MugCustomerId>1</MugCustomerId> <MugQuoteId>1</MugQuoteId> <MugSiteId>1</MugSiteId> </WaterCustomerDocumentView>