GET api/GetInventoryUtilitiesByInventory/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetInventoryUtiltyVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Code | string |
None. |
|
| IsUnit | boolean |
None. |
|
| IsIncluded | boolean |
None. |
|
| Limit | decimal number |
None. |
|
| UtilityId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"IsUnit": true,
"IsIncluded": true,
"Limit": 6.0,
"UtilityId": 7
},
{
"Id": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"IsUnit": true,
"IsIncluded": true,
"Limit": 6.0,
"UtilityId": 7
}
]
application/xml, text/xml
Sample:
<ArrayOfGetInventoryUtiltyVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.PG">
<GetInventoryUtiltyVm>
<Code>sample string 3</Code>
<Id>1</Id>
<IsIncluded>true</IsIncluded>
<IsUnit>true</IsUnit>
<Limit>6</Limit>
<Name>sample string 2</Name>
<UtilityId>7</UtilityId>
</GetInventoryUtiltyVm>
<GetInventoryUtiltyVm>
<Code>sample string 3</Code>
<Id>1</Id>
<IsIncluded>true</IsIncluded>
<IsUnit>true</IsUnit>
<Limit>6</Limit>
<Name>sample string 2</Name>
<UtilityId>7</UtilityId>
</GetInventoryUtiltyVm>
</ArrayOfGetInventoryUtiltyVm>