POST api/Company/GetHistory

Request Information

URI Parameters

None.

Body Parameters

Company
NameDescriptionTypeAdditional information
Id

integer

None.

OrgCompanyTypeId

integer

None.

CompanyTypeId

integer

None.

CompanyTemplateId

integer

None.

CountryId

integer

None.

CityId

integer

None.

CurrencyId

integer

None.

StateId

integer

None.

CompAddress

string

None.

CompBaseCurr

string

None.

CompCode

string

None.

CompContactPerson

string

None.

CompCountry

string

None.

CompEmailA

string

None.

CompEmailB

string

None.

CompLogo

string

None.

CompMobileA

string

None.

CompMobileB

string

None.

CompMobileC

string

None.

CompName

string

None.

CompReportingTitle

string

None.

CompanyNameOtherLanguage

string

None.

CompanyNameOtherLing

string

None.

CompanyAddressOtherLanguage

string

None.

CompanyWebsite

string

None.

AllowedUserCount

integer

None.

CompanyFaxNo

string

None.

CompState

string

None.

CompTel

string

None.

CompType

string

None.

CityName

string

None.

PictureURL

string

None.

ZipCode

string

None.

CompLogoImage

Collection of byte

None.

EntryUser

integer

None.

ModifyUser

integer

None.

IsActive

boolean

None.

TimeZone

date

None.

FinancialYearStart

date

None.

EntryDate

date

None.

ModifyDate

date

None.

DeletedLogo

string

None.

FirstName

string

None.

LastName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrgCompanyTypeId": 2,
  "CompanyTypeId": 3,
  "CompanyTemplateId": 4,
  "CountryId": 5,
  "CityId": 6,
  "CurrencyId": 7,
  "StateId": 8,
  "CompAddress": "sample string 9",
  "CompBaseCurr": "sample string 10",
  "CompCode": "sample string 11",
  "CompContactPerson": "sample string 12",
  "CompCountry": "sample string 13",
  "CompEmailA": "sample string 14",
  "CompEmailB": "sample string 15",
  "CompLogo": "sample string 16",
  "CompMobileA": "sample string 17",
  "CompMobileB": "sample string 18",
  "CompMobileC": "sample string 19",
  "CompName": "sample string 20",
  "CompReportingTitle": "sample string 21",
  "CompanyNameOtherLanguage": "sample string 22",
  "CompanyNameOtherLing": "sample string 23",
  "CompanyAddressOtherLanguage": "sample string 24",
  "CompanyWebsite": "sample string 25",
  "AllowedUserCount": 26,
  "CompanyFaxNo": "sample string 27",
  "CompState": "sample string 28",
  "CompTel": "sample string 29",
  "CompType": "sample string 30",
  "CityName": "sample string 31",
  "PictureURL": "sample string 32",
  "ZipCode": "sample string 33",
  "CompLogoImage": "QEA=",
  "EntryUser": 34,
  "ModifyUser": 35,
  "IsActive": true,
  "TimeZone": "2025-10-29T13:11:40.911411+05:00",
  "FinancialYearStart": "2025-10-29T13:11:40.911411+05:00",
  "EntryDate": "2025-10-29T13:11:40.911411+05:00",
  "ModifyDate": "2025-10-29T13:11:40.911411+05:00",
  "DeletedLogo": "sample string 41",
  "FirstName": "sample string 42",
  "LastName": "sample string 43"
}

application/xml, text/xml

Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model">
  <AllowedUserCount>26</AllowedUserCount>
  <CityId>6</CityId>
  <CityName>sample string 31</CityName>
  <CompAddress>sample string 9</CompAddress>
  <CompBaseCurr>sample string 10</CompBaseCurr>
  <CompCode>sample string 11</CompCode>
  <CompContactPerson>sample string 12</CompContactPerson>
  <CompCountry>sample string 13</CompCountry>
  <CompEmailA>sample string 14</CompEmailA>
  <CompEmailB>sample string 15</CompEmailB>
  <CompLogo>sample string 16</CompLogo>
  <CompLogoImage>QEA=</CompLogoImage>
  <CompMobileA>sample string 17</CompMobileA>
  <CompMobileB>sample string 18</CompMobileB>
  <CompMobileC>sample string 19</CompMobileC>
  <CompName>sample string 20</CompName>
  <CompReportingTitle>sample string 21</CompReportingTitle>
  <CompState>sample string 28</CompState>
  <CompTel>sample string 29</CompTel>
  <CompType>sample string 30</CompType>
  <CompanyAddressOtherLanguage>sample string 24</CompanyAddressOtherLanguage>
  <CompanyFaxNo>sample string 27</CompanyFaxNo>
  <CompanyNameOtherLanguage>sample string 22</CompanyNameOtherLanguage>
  <CompanyNameOtherLing>sample string 23</CompanyNameOtherLing>
  <CompanyTemplateId>4</CompanyTemplateId>
  <CompanyTypeId>3</CompanyTypeId>
  <CompanyWebsite>sample string 25</CompanyWebsite>
  <CountryId>5</CountryId>
  <CurrencyId>7</CurrencyId>
  <DeletedLogo>sample string 41</DeletedLogo>
  <EntryDate>2025-10-29T13:11:40.911411+05:00</EntryDate>
  <EntryUser>34</EntryUser>
  <FinancialYearStart>2025-10-29T13:11:40.911411+05:00</FinancialYearStart>
  <FirstName>sample string 42</FirstName>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <LastName>sample string 43</LastName>
  <ModifyDate>2025-10-29T13:11:40.911411+05:00</ModifyDate>
  <ModifyUser>35</ModifyUser>
  <OrgCompanyTypeId>2</OrgCompanyTypeId>
  <PictureURL>sample string 32</PictureURL>
  <StateId>8</StateId>
  <TimeZone xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-10-29T08:11:40.911411Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>300</d2p1:OffsetMinutes>
  </TimeZone>
  <ZipCode>sample string 33</ZipCode>
</Company>

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 'Company'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.