PUT api/Services/Services/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ServicesViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required |
|
| Description | string |
None. |
|
| ServiceType | string |
Required |
|
| DepartementId | integer |
None. |
|
| DepartementName | string |
None. |
|
| IsActive | boolean |
None. |
|
| Created | date |
None. |
|
| Updated | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"ServiceType": "sample string 4",
"DepartementId": 1,
"DepartementName": "sample string 5",
"IsActive": true,
"Created": "2025-12-05T21:33:43.0078383-08:00",
"Updated": "2025-12-05T21:33:43.0078383-08:00"
}
application/xml, text/xml
Sample:
<ServicesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Services"> <Created>2025-12-05T21:33:43.0078383-08:00</Created> <DepartementId>1</DepartementId> <DepartementName>sample string 5</DepartementName> <Description>sample string 3</Description> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 2</Name> <ServiceType>sample string 4</ServiceType> <Updated>2025-12-05T21:33:43.0078383-08:00</Updated> </ServicesViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.