POST api/CreateCompanyStage

Request Information

URI Parameters

None.

Body Parameters

CompanyStageVm
NameDescriptionTypeAdditional information
Name

string

None.

Code

string

None.

Type

string

None.

Order

decimal number

None.

IsFinalStage

boolean

None.

IsFirstStage

boolean

None.

IsInactiveStage

boolean

None.

IsQualified

boolean

None.

LeadCategoryId

integer

None.

LeadCategoryName

string

None.

CompanyStageReasons

Collection of CompanyStageReasonVm

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Code": "sample string 2",
  "Type": "sample string 3",
  "Order": 4.1,
  "IsFinalStage": true,
  "IsFirstStage": true,
  "IsInactiveStage": true,
  "IsQualified": true,
  "LeadCategoryId": 1,
  "LeadCategoryName": "sample string 9",
  "CompanyStageReasons": [
    {
      "Name": "sample string 1"
    },
    {
      "Name": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<CompanyStageVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.SuperAdminModels">
  <Code>sample string 2</Code>
  <CompanyStageReasons>
    <CompanyStageReasonVm>
      <Name>sample string 1</Name>
    </CompanyStageReasonVm>
    <CompanyStageReasonVm>
      <Name>sample string 1</Name>
    </CompanyStageReasonVm>
  </CompanyStageReasons>
  <IsFinalStage>true</IsFinalStage>
  <IsFirstStage>true</IsFirstStage>
  <IsInactiveStage>true</IsInactiveStage>
  <IsQualified>true</IsQualified>
  <LeadCategoryId>1</LeadCategoryId>
  <LeadCategoryName>sample string 9</LeadCategoryName>
  <Name>sample string 1</Name>
  <Order>4.1</Order>
  <Type>sample string 3</Type>
</CompanyStageVm>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.