POST api/corporate/{corporateId}/company
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
corporateId | integer |
Required |
Body Parameters
CorporateCompanyModelName | Description | Type | Additional information |
---|---|---|---|
CorporateCompanyId | integer |
None. |
|
CorporateId | integer |
None. |
|
LocalCompanyName | string |
None. |
|
CountryId | integer |
None. |
|
CountryName | string |
None. |
|
NumberOfPlants | integer |
None. |
|
Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CorporateCompanyId": 1, "CorporateId": 2, "LocalCompanyName": "sample string 3", "CountryId": 4, "CountryName": "sample string 5", "NumberOfPlants": 6, "Active": true }
application/xml, text/xml
Sample:
<CorporateCompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models"> <Active>true</Active> <CorporateCompanyId>1</CorporateCompanyId> <CorporateId>2</CorporateId> <CountryId>4</CountryId> <CountryName>sample string 5</CountryName> <LocalCompanyName>sample string 3</LocalCompanyName> <NumberOfPlants>6</NumberOfPlants> </CorporateCompanyModel>
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.