GET api/ServiceType
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ServiceType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| StockRequired | integer |
None. |
|
| ProductRef | string |
None. |
|
| StockRef | string |
None. |
|
| Deleted | boolean |
None. |
|
| StockRequiredType | StockRequiredType |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"StockRequired": 3,
"ProductRef": "sample string 4",
"StockRef": "sample string 5",
"Deleted": true,
"StockRequiredType": 3
},
{
"Id": 1,
"Name": "sample string 2",
"StockRequired": 3,
"ProductRef": "sample string 4",
"StockRef": "sample string 5",
"Deleted": true,
"StockRequiredType": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfServiceType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMHEntities">
<ServiceType>
<Deleted>true</Deleted>
<Id>1</Id>
<Name>sample string 2</Name>
<ProductRef>sample string 4</ProductRef>
<StockRef>sample string 5</StockRef>
<StockRequired>3</StockRequired>
</ServiceType>
<ServiceType>
<Deleted>true</Deleted>
<Id>1</Id>
<Name>sample string 2</Name>
<ProductRef>sample string 4</ProductRef>
<StockRef>sample string 5</StockRef>
<StockRequired>3</StockRequired>
</ServiceType>
</ArrayOfServiceType>