GET api/Service
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ServiceViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceId | integer |
None. |
|
| ServiceCode | string |
None. |
|
| ServiceName | string |
None. |
|
| ServiceDescription | string |
None. |
|
| UomId | integer |
None. |
|
| HsnCode | string |
None. |
|
| ServiceCharge | decimal number |
None. |
|
| UomName | string |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceId": 1,
"ServiceCode": "sample string 2",
"ServiceName": "sample string 3",
"ServiceDescription": "sample string 4",
"UomId": 1,
"HsnCode": "sample string 5",
"ServiceCharge": 1.1,
"UomName": "sample string 6",
"TotalCount": 7
},
{
"ServiceId": 1,
"ServiceCode": "sample string 2",
"ServiceName": "sample string 3",
"ServiceDescription": "sample string 4",
"UomId": 1,
"HsnCode": "sample string 5",
"ServiceCharge": 1.1,
"UomName": "sample string 6",
"TotalCount": 7
}
]
application/xml, text/xml
Sample:
<ArrayOfServiceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
<ServiceViewModel>
<HsnCode>sample string 5</HsnCode>
<ServiceCharge>1.1</ServiceCharge>
<ServiceCode>sample string 2</ServiceCode>
<ServiceDescription>sample string 4</ServiceDescription>
<ServiceId>1</ServiceId>
<ServiceName>sample string 3</ServiceName>
<TotalCount>7</TotalCount>
<UomId>1</UomId>
<UomName>sample string 6</UomName>
</ServiceViewModel>
<ServiceViewModel>
<HsnCode>sample string 5</HsnCode>
<ServiceCharge>1.1</ServiceCharge>
<ServiceCode>sample string 2</ServiceCode>
<ServiceDescription>sample string 4</ServiceDescription>
<ServiceId>1</ServiceId>
<ServiceName>sample string 3</ServiceName>
<TotalCount>7</TotalCount>
<UomId>1</UomId>
<UomName>sample string 6</UomName>
</ServiceViewModel>
</ArrayOfServiceViewModel>