PUT api/Services/Modes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ModesViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required |
|
| Description | string |
None. |
|
| Service | string |
None. |
|
| IsActive | boolean |
None. |
|
| Created | date |
None. |
|
| Updated | date |
None. |
|
| ServiceId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Service": "sample string 4",
"IsActive": true,
"Created": "2025-12-05T21:35:46.5980593-08:00",
"Updated": "2025-12-05T21:35:46.5980593-08:00",
"ServiceId": 8
}
application/xml, text/xml
Sample:
<ModesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Services"> <Created>2025-12-05T21:35:46.5980593-08:00</Created> <Description>sample string 3</Description> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 2</Name> <Service>sample string 4</Service> <ServiceId>8</ServiceId> <Updated>2025-12-05T21:35:46.5980593-08:00</Updated> </ModesViewModel>
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.