POST api/Company/InsertCompanyDefaData

Request Information

URI Parameters

None.

Body Parameters

CompanyModel
NameDescriptionTypeAdditional information
compKey

integer

None.

compName

string

None.

customerEmail

string

None.

customerKey

integer

None.

countryKey

integer

None.

countryName

string

None.

stateKey

integer

None.

compPhone

string

None.

compMobile

string

None.

compWebsite

string

None.

compAddr1

string

None.

companyType

string

None.

currencykey

integer

None.

currencyCode

string

None.

currencyName

string

None.

dateformatd

string

None.

amountformat

string

None.

compGuid

string

None.

compImgPath

string

None.

compImgIcon

string

None.

isTaxenable

boolean

None.

taxLable

string

None.

taxNumber

string

None.

isCompcreated

string

None.

finStartMonth

integer

None.

finStartYear

integer

None.

yearKey

integer

None.

activeYearFrom

date

None.

activeYearTo

date

None.

yearStatus

string

None.

yearNumb

integer

None.

userId

string

None.

custPwdSalt

string

None.

compStarton

date

None.

periodFrom

date

None.

periodTo

date

None.

sdExpired

string

None.

editionKey

integer

None.

editionType

string

None.

compstatus

string

None.

userCount

integer

None.

transCount

integer

None.

appstokeData

string

None.

compDefault

boolean

None.

isCompUpdated

boolean

None.

subsordemo

string

None.

sampleDataReq

integer

None.

demoextend

boolean

None.

subsFreeTag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "compKey": 1,
  "compName": "sample string 2",
  "customerEmail": "sample string 3",
  "customerKey": 4,
  "countryKey": 5,
  "countryName": "sample string 6",
  "stateKey": 7,
  "compPhone": "sample string 8",
  "compMobile": "sample string 9",
  "compWebsite": "sample string 10",
  "compAddr1": "sample string 11",
  "companyType": "sample string 12",
  "currencykey": 13,
  "currencyCode": "sample string 14",
  "currencyName": "sample string 15",
  "dateformatd": "sample string 16",
  "amountformat": "sample string 17",
  "compGuid": "sample string 18",
  "compImgPath": "sample string 19",
  "compImgIcon": "sample string 20",
  "isTaxenable": true,
  "taxLable": "sample string 22",
  "taxNumber": "sample string 23",
  "isCompcreated": "sample string 24",
  "finStartMonth": 25,
  "finStartYear": 26,
  "yearKey": 27,
  "activeYearFrom": "2026-04-02T05:21:12.2542809+04:00",
  "activeYearTo": "2026-04-02T05:21:12.2542809+04:00",
  "yearStatus": "sample string 30",
  "yearNumb": 31,
  "userId": "sample string 32",
  "custPwdSalt": "sample string 33",
  "compStarton": "2026-04-02T05:21:12.2562958+04:00",
  "periodFrom": "2026-04-02T05:21:12.2562958+04:00",
  "periodTo": "2026-04-02T05:21:12.2562958+04:00",
  "sdExpired": "sample string 37",
  "editionKey": 38,
  "editionType": "sample string 39",
  "compstatus": "sample string 40",
  "userCount": 41,
  "transCount": 42,
  "appstokeData": "sample string 43",
  "compDefault": true,
  "isCompUpdated": true,
  "subsordemo": "sample string 46",
  "sampleDataReq": 47,
  "demoextend": true,
  "subsFreeTag": "sample string 49"
}

text/xml

Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Probooks.ng.Domain.ViewModels.Masters">
  <activeYearFrom>2026-04-02T05:21:12.2542809+04:00</activeYearFrom>
  <activeYearTo>2026-04-02T05:21:12.2542809+04:00</activeYearTo>
  <amountformat>sample string 17</amountformat>
  <appstokeData>sample string 43</appstokeData>
  <compAddr1>sample string 11</compAddr1>
  <compDefault>true</compDefault>
  <compGuid>sample string 18</compGuid>
  <compImgIcon>sample string 20</compImgIcon>
  <compImgPath>sample string 19</compImgPath>
  <compKey>1</compKey>
  <compMobile>sample string 9</compMobile>
  <compName>sample string 2</compName>
  <compPhone>sample string 8</compPhone>
  <compStarton>2026-04-02T05:21:12.2562958+04:00</compStarton>
  <compWebsite>sample string 10</compWebsite>
  <companyType>sample string 12</companyType>
  <compstatus>sample string 40</compstatus>
  <countryKey>5</countryKey>
  <countryName>sample string 6</countryName>
  <currencyCode>sample string 14</currencyCode>
  <currencyName>sample string 15</currencyName>
  <currencykey>13</currencykey>
  <custPwdSalt>sample string 33</custPwdSalt>
  <customerEmail>sample string 3</customerEmail>
  <customerKey>4</customerKey>
  <dateformatd>sample string 16</dateformatd>
  <demoextend>true</demoextend>
  <editionKey>38</editionKey>
  <editionType>sample string 39</editionType>
  <finStartMonth>25</finStartMonth>
  <finStartYear>26</finStartYear>
  <isCompUpdated>true</isCompUpdated>
  <isCompcreated>sample string 24</isCompcreated>
  <isTaxenable>true</isTaxenable>
  <periodFrom>2026-04-02T05:21:12.2562958+04:00</periodFrom>
  <periodTo>2026-04-02T05:21:12.2562958+04:00</periodTo>
  <sampleDataReq>47</sampleDataReq>
  <sdExpired>sample string 37</sdExpired>
  <stateKey>7</stateKey>
  <subsFreeTag>sample string 49</subsFreeTag>
  <subsordemo>sample string 46</subsordemo>
  <taxLable>sample string 22</taxLable>
  <taxNumber>sample string 23</taxNumber>
  <transCount>42</transCount>
  <userCount>41</userCount>
  <userId>sample string 32</userId>
  <yearKey>27</yearKey>
  <yearNumb>31</yearNumb>
  <yearStatus>sample string 30</yearStatus>
</CompanyModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.