GET v1/equipment-types?internetOnly={internetOnly}
Get all existing equipment types so you can know which Id to supply when importing a batch
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| internetOnly |
True if you want internet related types, false if you also want TV |
boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Collection of EquipmentType_ViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| IsModem | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"IsModem": true
},
{
"Id": 1,
"Name": "sample string 2",
"IsModem": true
}
]
application/xml, text/xml
Sample:
<ArrayOfEquipmentType_ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Judas.ViewModels">
<EquipmentType_ViewModel>
<Id>1</Id>
<IsModem>true</IsModem>
<Name>sample string 2</Name>
</EquipmentType_ViewModel>
<EquipmentType_ViewModel>
<Id>1</Id>
<IsModem>true</IsModem>
<Name>sample string 2</Name>
</EquipmentType_ViewModel>
</ArrayOfEquipmentType_ViewModel>