GET api/Admin/GetServices?PersonalPackageId={PersonalPackageId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonalPackageId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of Services| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceId | integer |
None. |
|
| ServiceName | string |
None. |
|
| IsActive | boolean |
None. |
|
| selected | boolean |
None. |
|
| IsAttached | boolean |
None. |
|
| ServiceCost | decimal number |
None. |
|
| HideAndShow | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceId": 1,
"ServiceName": "sample string 2",
"IsActive": true,
"selected": true,
"IsAttached": true,
"ServiceCost": 5.0,
"HideAndShow": true
},
{
"ServiceId": 1,
"ServiceName": "sample string 2",
"IsActive": true,
"selected": true,
"IsAttached": true,
"ServiceCost": 5.0,
"HideAndShow": true
}
]
text/html
Sample:
[{"ServiceId":1,"ServiceName":"sample string 2","IsActive":true,"selected":true,"IsAttached":true,"ServiceCost":5.0,"HideAndShow":true},{"ServiceId":1,"ServiceName":"sample string 2","IsActive":true,"selected":true,"IsAttached":true,"ServiceCost":5.0,"HideAndShow":true}]
application/xml, text/xml
Sample:
<ArrayOfServices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPastWebApi.Models">
<Services>
<HideAndShow>true</HideAndShow>
<IsActive>true</IsActive>
<IsAttached>true</IsAttached>
<ServiceCost>5</ServiceCost>
<ServiceId>1</ServiceId>
<ServiceName>sample string 2</ServiceName>
<selected>true</selected>
</Services>
<Services>
<HideAndShow>true</HideAndShow>
<IsActive>true</IsActive>
<IsAttached>true</IsAttached>
<ServiceCost>5</ServiceCost>
<ServiceId>1</ServiceId>
<ServiceName>sample string 2</ServiceName>
<selected>true</selected>
</Services>
</ArrayOfServices>