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. |
|
| Amount | integer |
None. |
|
| CreatedDate | date |
Data type: DateTime |
|
| CreatedBy | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceId": 1,
"ServiceName": "sample string 2",
"Amount": 3,
"CreatedDate": "2025-12-08T01:19:09.1269793+05:30",
"CreatedBy": "sample string 5"
},
{
"ServiceId": 1,
"ServiceName": "sample string 2",
"Amount": 3,
"CreatedDate": "2025-12-08T01:19:09.1269793+05:30",
"CreatedBy": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Morph.Domain.Entities">
<Service>
<CreatedBy>sample string 5</CreatedBy>
<CreatedDate>2025-12-08T01:19:09.1269793+05:30</CreatedDate>
<Amount>3</Amount>
<ServiceId>1</ServiceId>
<ServiceName>sample string 2</ServiceName>
</Service>
<Service>
<CreatedBy>sample string 5</CreatedBy>
<CreatedDate>2025-12-08T01:19:09.1269793+05:30</CreatedDate>
<Amount>3</Amount>
<ServiceId>1</ServiceId>
<ServiceName>sample string 2</ServiceName>
</Service>
</ArrayOfService>