POST api/CreateCompanyStages
Request Information
URI Parameters
None.
Body Parameters
Collection of CompanyStageVm| Name | Description | Type | Additional 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"
}
]
},
{
"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:
<ArrayOfCompanyStageVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.SuperAdminModels">
<CompanyStageVm>
<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>
<CompanyStageVm>
<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>
</ArrayOfCompanyStageVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.