POST contractwizard/profilecontractservice/create

Request Information

URI Parameters

None.

Body Parameters

ProfileTemplateService
NameDescriptionTypeAdditional information
TenantID

integer

None.

ProfileServiceId

integer

None.

ProfileTemplateId

integer

None.

OrderID

integer

None.

ServiceName

string

None.

ServiceDesc

string

None.

StockId

integer

None.

IsActive

boolean

None.

MultiCreate

boolean

None.

Haslink

boolean

None.

LinkId

integer

None.

ActivePropertyId

integer

None.

ActivePropertyName

string

None.

ServiceFeeBillingTypeId

integer

None.

ServiceFeeBillingName

string

None.

IsContractDiscount

boolean

None.

TOSOURCE

string

None.

StockDesc

string

None.

ProfileTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantID": 1,
  "ProfileServiceId": 2,
  "ProfileTemplateId": 3,
  "OrderID": 4,
  "ServiceName": "sample string 5",
  "ServiceDesc": "sample string 6",
  "StockId": 7,
  "IsActive": true,
  "MultiCreate": true,
  "Haslink": true,
  "LinkId": 1,
  "ActivePropertyId": 1,
  "ActivePropertyName": "sample string 11",
  "ServiceFeeBillingTypeId": 1,
  "ServiceFeeBillingName": "sample string 12",
  "IsContractDiscount": true,
  "TOSOURCE": "sample string 14",
  "StockDesc": "sample string 15",
  "ProfileTypeId": 16
}

text/html

Sample:
{"TenantID":1,"ProfileServiceId":2,"ProfileTemplateId":3,"OrderID":4,"ServiceName":"sample string 5","ServiceDesc":"sample string 6","StockId":7,"IsActive":true,"MultiCreate":true,"Haslink":true,"LinkId":1,"ActivePropertyId":1,"ActivePropertyName":"sample string 11","ServiceFeeBillingTypeId":1,"ServiceFeeBillingName":"sample string 12","IsContractDiscount":true,"TOSOURCE":"sample string 14","StockDesc":"sample string 15","ProfileTypeId":16}

application/xml, text/xml

Sample:
<ProfileTemplateService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.ContractWizard">
  <ActivePropertyId>1</ActivePropertyId>
  <ActivePropertyName>sample string 11</ActivePropertyName>
  <Haslink>true</Haslink>
  <IsActive>true</IsActive>
  <IsContractDiscount>true</IsContractDiscount>
  <LinkId>1</LinkId>
  <MultiCreate>true</MultiCreate>
  <OrderID>4</OrderID>
  <ProfileServiceId>2</ProfileServiceId>
  <ProfileTemplateId>3</ProfileTemplateId>
  <ProfileTypeId>16</ProfileTypeId>
  <ServiceDesc>sample string 6</ServiceDesc>
  <ServiceFeeBillingName>sample string 12</ServiceFeeBillingName>
  <ServiceFeeBillingTypeId>1</ServiceFeeBillingTypeId>
  <ServiceName>sample string 5</ServiceName>
  <StockDesc>sample string 15</StockDesc>
  <StockId>7</StockId>
  <TOSOURCE>sample string 14</TOSOURCE>
  <TenantID>1</TenantID>
</ProfileTemplateService>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.