POST services

Request Information

URI Parameters

None.

Body Parameters

servicecreatedto
NameDescriptionTypeAdditional information
fullname

string

None.

description

string

None.

price

decimal number

None.

keywords

string

None.

viewallagents

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "fullname": "sample string 1",
  "description": "sample string 2",
  "price": 3.0,
  "keywords": "sample string 4",
  "viewallagents": true
}

application/xml, text/xml

Sample:
<servicecreatedto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/palmeo.api.Models.DTO">
  <description>sample string 2</description>
  <fullname>sample string 1</fullname>
  <keywords>sample string 4</keywords>
  <price>3</price>
  <viewallagents>true</viewallagents>
</servicecreatedto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'servicecreatedto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.