POST api/Services/SetService

Request Information

URI Parameters

None.

Body Parameters

Services
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Category

string

None.

Price

decimal number

None.

PriceEditable

boolean

None.

Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 1",
  "Category": "sample string 2",
  "Price": 1.1,
  "PriceEditable": true,
  "Status": true
}

application/xml, text/xml

Sample:
<Services xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Category>sample string 2</Category>
  <Id>1</Id>
  <Name>sample string 1</Name>
  <Price>1.1</Price>
  <PriceEditable>true</PriceEditable>
  <Status>true</Status>
</Services>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>