GET api/Service
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Service| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceId | integer |
None. |
|
| ServiceName | string |
None. |
|
| ServiceCharge | decimal number |
None. |
|
| ActiveFlag | boolean |
None. |
|
| CreatedDate | date |
Data type: DateTime |
|
| CreatedBy | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceId": 1,
"ServiceName": "sample string 2",
"ServiceCharge": 3.1,
"ActiveFlag": true,
"CreatedDate": "2025-12-08T01:53:12.4707418+05:30",
"CreatedBy": "sample string 6"
},
{
"ServiceId": 1,
"ServiceName": "sample string 2",
"ServiceCharge": 3.1,
"ActiveFlag": true,
"CreatedDate": "2025-12-08T01:53:12.4707418+05:30",
"CreatedBy": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
<Service>
<CreatedBy>sample string 6</CreatedBy>
<CreatedDate>2025-12-08T01:53:12.4707418+05:30</CreatedDate>
<ActiveFlag>true</ActiveFlag>
<ServiceCharge>3.1</ServiceCharge>
<ServiceId>1</ServiceId>
<ServiceName>sample string 2</ServiceName>
</Service>
<Service>
<CreatedBy>sample string 6</CreatedBy>
<CreatedDate>2025-12-08T01:53:12.4707418+05:30</CreatedDate>
<ActiveFlag>true</ActiveFlag>
<ServiceCharge>3.1</ServiceCharge>
<ServiceId>1</ServiceId>
<ServiceName>sample string 2</ServiceName>
</Service>
</ArrayOfService>