PUT api/corporate/{id}/update
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
CorporateModelName | Description | Type | Additional information |
---|---|---|---|
CorporateId | integer |
None. |
|
CorporateName | string |
None. |
|
CorporateParent | string |
None. |
|
LegalFormOrganization | string |
None. |
|
IsPublic | boolean |
None. |
|
TickerSymbol | string |
None. |
|
IndustrySector | string |
None. |
|
MainCompetitors | string |
None. |
|
Address | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
ZipCode | string |
None. |
|
CountryId | integer |
None. |
|
YearIncorporated | integer |
None. |
|
FiscalYearEnd | integer |
None. |
|
CorporateRelationship | string |
None. |
|
Remarks | string |
None. |
|
LogoURL | string |
None. |
|
Active | boolean |
None. |
|
CatalogValue | Collection of CatalogValueModel |
None. |
|
CorporateYearAnnualInformation | Collection of CorporateYearAnnualInformationModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "CorporateId": 1, "CorporateName": "sample string 2", "CorporateParent": "sample string 3", "LegalFormOrganization": "sample string 4", "IsPublic": true, "TickerSymbol": "sample string 6", "IndustrySector": "sample string 7", "MainCompetitors": "sample string 8", "Address": "sample string 9", "City": "sample string 10", "State": "sample string 11", "ZipCode": "sample string 12", "CountryId": 13, "YearIncorporated": 14, "FiscalYearEnd": 15, "CorporateRelationship": "sample string 16", "Remarks": "sample string 17", "LogoURL": "sample string 18", "Active": true, "CatalogValue": [ { "CatalogValueId": 1, "CatalogId": 2, "Catalog": "sample string 3", "Description": "sample string 4" }, { "CatalogValueId": 1, "CatalogId": 2, "Catalog": "sample string 3", "Description": "sample string 4" } ], "CorporateYearAnnualInformation": [ { "CorporateYearAnnualInformationId": 1, "CorporateId": 2, "Year": 3, "NumberOfRegions": 4, "NumberOfCountries": 5, "EmployeesWorlWide": 6, "AnnualRevenue": 7, "NetIncome": 8, "Active": true }, { "CorporateYearAnnualInformationId": 1, "CorporateId": 2, "Year": 3, "NumberOfRegions": 4, "NumberOfCountries": 5, "EmployeesWorlWide": 6, "AnnualRevenue": 7, "NetIncome": 8, "Active": true } ] }
application/xml, text/xml
Sample:
<CorporateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models"> <Active>true</Active> <Address>sample string 9</Address> <CatalogValue> <CatalogValueModel> <Catalog>sample string 3</Catalog> <CatalogId>2</CatalogId> <CatalogValueId>1</CatalogValueId> <Description>sample string 4</Description> </CatalogValueModel> <CatalogValueModel> <Catalog>sample string 3</Catalog> <CatalogId>2</CatalogId> <CatalogValueId>1</CatalogValueId> <Description>sample string 4</Description> </CatalogValueModel> </CatalogValue> <City>sample string 10</City> <CorporateId>1</CorporateId> <CorporateName>sample string 2</CorporateName> <CorporateParent>sample string 3</CorporateParent> <CorporateRelationship>sample string 16</CorporateRelationship> <CorporateYearAnnualInformation> <CorporateYearAnnualInformationModel> <Active>true</Active> <AnnualRevenue>7</AnnualRevenue> <CorporateId>2</CorporateId> <CorporateYearAnnualInformationId>1</CorporateYearAnnualInformationId> <EmployeesWorlWide>6</EmployeesWorlWide> <NetIncome>8</NetIncome> <NumberOfCountries>5</NumberOfCountries> <NumberOfRegions>4</NumberOfRegions> <Year>3</Year> </CorporateYearAnnualInformationModel> <CorporateYearAnnualInformationModel> <Active>true</Active> <AnnualRevenue>7</AnnualRevenue> <CorporateId>2</CorporateId> <CorporateYearAnnualInformationId>1</CorporateYearAnnualInformationId> <EmployeesWorlWide>6</EmployeesWorlWide> <NetIncome>8</NetIncome> <NumberOfCountries>5</NumberOfCountries> <NumberOfRegions>4</NumberOfRegions> <Year>3</Year> </CorporateYearAnnualInformationModel> </CorporateYearAnnualInformation> <CountryId>13</CountryId> <FiscalYearEnd>15</FiscalYearEnd> <IndustrySector>sample string 7</IndustrySector> <IsPublic>true</IsPublic> <LegalFormOrganization>sample string 4</LegalFormOrganization> <LogoURL>sample string 18</LogoURL> <MainCompetitors>sample string 8</MainCompetitors> <Remarks>sample string 17</Remarks> <State>sample string 11</State> <TickerSymbol>sample string 6</TickerSymbol> <YearIncorporated>14</YearIncorporated> <ZipCode>sample string 12</ZipCode> </CorporateModel>
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.