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.

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,
  "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>
  <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.