POST api/Services/ServiceLevels

Request Information

URI Parameters

None.

Body Parameters

ServiceLevelsViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

Description

string

None.

Service

string

None.

ServiceId

integer

None.

Mode

string

None.

Created

date

None.

Updated

date

None.

ModeId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Service": "sample string 4",
  "ServiceId": 5,
  "Mode": "sample string 6",
  "Created": "2025-12-05T23:16:10.3956094-08:00",
  "Updated": "2025-12-05T23:16:10.3956094-08:00",
  "ModeId": 9
}

application/xml, text/xml

Sample:
<ServiceLevelsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Services">
  <Created>2025-12-05T23:16:10.3956094-08:00</Created>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <Mode>sample string 6</Mode>
  <ModeId>9</ModeId>
  <Name>sample string 2</Name>
  <Service>sample string 4</Service>
  <ServiceId>5</ServiceId>
  <Updated>2025-12-05T23:16:10.3956094-08:00</Updated>
</ServiceLevelsViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.