POST contractwizard/profiletype/create

Request Information

URI Parameters

None.

Body Parameters

ProfileType
NameDescriptionTypeAdditional information
TenantId

integer

None.

ProfileTypeId

integer

None.

NameType

string

None.

IsActive

boolean

None.

Description

string

None.

ProfileTemplateId

integer

None.

ObjectType

integer

None.

ObjectTypeValue

string

None.

DefaultProfileTemplateValue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "ProfileTypeId": 2,
  "NameType": "sample string 3",
  "IsActive": true,
  "Description": "sample string 4",
  "ProfileTemplateId": 1,
  "ObjectType": 1,
  "ObjectTypeValue": "sample string 5",
  "DefaultProfileTemplateValue": "sample string 6"
}

text/html

Sample:
{"TenantId":1,"ProfileTypeId":2,"NameType":"sample string 3","IsActive":true,"Description":"sample string 4","ProfileTemplateId":1,"ObjectType":1,"ObjectTypeValue":"sample string 5","DefaultProfileTemplateValue":"sample string 6"}

application/xml, text/xml

Sample:
<ProfileType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.ContractWizard">
  <DefaultProfileTemplateValue>sample string 6</DefaultProfileTemplateValue>
  <Description>sample string 4</Description>
  <IsActive>true</IsActive>
  <NameType>sample string 3</NameType>
  <ObjectType>1</ObjectType>
  <ObjectTypeValue>sample string 5</ObjectTypeValue>
  <ProfileTemplateId>1</ProfileTemplateId>
  <ProfileTypeId>2</ProfileTypeId>
  <TenantId>1</TenantId>
</ProfileType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.