POST companyproperties/Create

Request Information

URI Parameters

None.

Body Parameters

CompanyPropertiesEntity
NameDescriptionTypeAdditional information
TenantPropertyID

integer

None.

PropertyName

string

None.

PropertyValue

string

None.

PropertyType

string

None.

PropertyGroup

string

None.

required

boolean

None.

Active

boolean

None.

TenantID

integer

None.

TenantName

string

None.

InComms

boolean

None.

FileName

string

None.

SelectionItems

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantPropertyID": 1,
  "PropertyName": "sample string 2",
  "PropertyValue": "sample string 3",
  "PropertyType": "sample string 4",
  "PropertyGroup": "sample string 5",
  "required": true,
  "Active": true,
  "TenantID": 8,
  "TenantName": "sample string 9",
  "InComms": true,
  "FileName": "sample string 11",
  "SelectionItems": "sample string 12"
}

text/html

Sample:
{"TenantPropertyID":1,"PropertyName":"sample string 2","PropertyValue":"sample string 3","PropertyType":"sample string 4","PropertyGroup":"sample string 5","required":true,"Active":true,"TenantID":8,"TenantName":"sample string 9","InComms":true,"FileName":"sample string 11","SelectionItems":"sample string 12"}

application/xml, text/xml

Sample:
<CompanyPropertiesEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.CompanyProperties">
  <Active>true</Active>
  <FileName>sample string 11</FileName>
  <InComms>true</InComms>
  <PropertyGroup>sample string 5</PropertyGroup>
  <PropertyName>sample string 2</PropertyName>
  <PropertyType>sample string 4</PropertyType>
  <PropertyValue>sample string 3</PropertyValue>
  <SelectionItems>sample string 12</SelectionItems>
  <TenantID>8</TenantID>
  <TenantName>sample string 9</TenantName>
  <TenantPropertyID>1</TenantPropertyID>
  <required>true</required>
</CompanyPropertiesEntity>

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 'CompanyPropertiesEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.