POST api/company/corporatebusiness

Request Information

URI Parameters

None.

Body Parameters

Collection of CompanyCorporateBusinessSubModel
NameDescriptionTypeAdditional information
CompanyCorporateBusinessId

integer

None.

CompanyLegalEntityId

integer

None.

CorporateBusinessId

integer

None.

CorporateBusiness

string

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CompanyCorporateBusinessId": 1,
    "CompanyLegalEntityId": 2,
    "CorporateBusinessId": 3,
    "CorporateBusiness": "sample string 4",
    "Active": true
  },
  {
    "CompanyCorporateBusinessId": 1,
    "CompanyLegalEntityId": 2,
    "CorporateBusinessId": 3,
    "CorporateBusiness": "sample string 4",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyCorporateBusinessSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels">
  <CompanyCorporateBusinessSubModel>
    <Active>true</Active>
    <CompanyCorporateBusinessId>1</CompanyCorporateBusinessId>
    <CompanyLegalEntityId>2</CompanyLegalEntityId>
    <CorporateBusiness>sample string 4</CorporateBusiness>
    <CorporateBusinessId>3</CorporateBusinessId>
  </CompanyCorporateBusinessSubModel>
  <CompanyCorporateBusinessSubModel>
    <Active>true</Active>
    <CompanyCorporateBusinessId>1</CompanyCorporateBusinessId>
    <CompanyLegalEntityId>2</CompanyLegalEntityId>
    <CorporateBusiness>sample string 4</CorporateBusiness>
    <CorporateBusinessId>3</CorporateBusinessId>
  </CompanyCorporateBusinessSubModel>
</ArrayOfCompanyCorporateBusinessSubModel>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.