POST api/Company/Update

Request Information

URI Parameters

None.

Body Parameters

CompanyUpdateDto
NameDescriptionTypeAdditional information
Code

string

None.

Title

string

None.

Phone

string

None.

Fax

string

None.

Email

string

None.

Website

string

None.

Address

string

None.

IBAN

string

None.

AuthorName

string

None.

AuthorSurname

string

None.

MersisNumber

string

None.

TradeRegisterNumber

string

None.

TaxNumber

string

None.

TaxOffice

string

None.

PostalCode

string

None.

City

string

None.

County

string

None.

IsCorporate

boolean

None.

IsElectronicBillMember

boolean

None.

IsElectronicDispatchMember

boolean

None.

IsElectronicSmmMember

boolean

None.

IsMustahsilMember

boolean

None.

PaymentHash

string

None.

MainCompanyID

globally unique identifier

None.

LockedDate

date

None.

SmsSource

SmsSource

None.

SmsUserCode

string

None.

SmsUsername

string

None.

SmsPassword

string

None.

SmsOriginator

string

None.

IsSmsMember

boolean

None.

EBillSource

EBillSource

None.

EBillSenderLabel

string

None.

EDispatchSenderLabel

string

None.

EBillPostBox

string

None.

EBillUsername

string

None.

EBillPassword

string

None.

EBillPrefix

string

None.

EArchivePrefix

string

None.

EDispatchPrefix

string

None.

ESmmPrefix

string

None.

MustahsilPrefix

string

None.

PromotionCode

string

None.

DealerID

string

None.

Comission

decimal number

None.

IsMobileRegister

boolean

None.

ElectronicBillCredits

integer

None.

IsLimitedESmm

boolean

None.

CompanySector

string

None.

LastArticleNumber

integer

None.

OtherEBillPrefixes

string

None.

OtherEArchivePrefixes

string

None.

DomainCode

integer

None.

IzibizIntegrationId

integer

None.

IzibizUserId

integer

None.

ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "title": "sample string 2",
  "phone": "sample string 3",
  "fax": "sample string 4",
  "email": "sample string 5",
  "website": "sample string 6",
  "address": "sample string 7",
  "iban": "sample string 8",
  "authorName": "sample string 9",
  "authorSurname": "sample string 10",
  "mersisNumber": "sample string 11",
  "tradeRegisterNumber": "sample string 12",
  "taxNumber": "sample string 13",
  "taxOffice": "sample string 14",
  "postalCode": "sample string 15",
  "city": "sample string 16",
  "county": "sample string 17",
  "isCorporate": true,
  "isElectronicBillMember": true,
  "isElectronicDispatchMember": true,
  "isElectronicSmmMember": true,
  "isMustahsilMember": true,
  "paymentHash": "sample string 23",
  "mainCompanyID": "8a3da0aa-98c1-4d95-b6f5-8bda6fc710f8",
  "lockedDate": "2025-05-24T15:24:35.0451719+03:00",
  "smsSource": 1,
  "smsUserCode": "sample string 24",
  "smsUsername": "sample string 25",
  "smsPassword": "sample string 26",
  "smsOriginator": "sample string 27",
  "isSmsMember": true,
  "eBillSource": 0,
  "eBillSenderLabel": "sample string 29",
  "eDispatchSenderLabel": "sample string 30",
  "eBillPostBox": "sample string 31",
  "eBillUsername": "sample string 32",
  "eBillPassword": "sample string 33",
  "eBillPrefix": "sample string 34",
  "eArchivePrefix": "sample string 35",
  "eDispatchPrefix": "sample string 36",
  "eSmmPrefix": "sample string 37",
  "mustahsilPrefix": "sample string 38",
  "promotionCode": "sample string 39",
  "dealerID": "sample string 40",
  "comission": 41.0,
  "isMobileRegister": true,
  "electronicBillCredits": 43,
  "isLimitedESmm": true,
  "companySector": "sample string 45",
  "lastArticleNumber": 46,
  "otherEBillPrefixes": "sample string 47",
  "otherEArchivePrefixes": "sample string 48",
  "domainCode": 1,
  "izibizIntegrationId": 49,
  "izibizUserId": 50,
  "id": "16b5cc14-1938-48df-a98f-393ca8f4fc36",
  "companyID": "d7aafc2e-5904-4217-9a3b-5187ae37d673"
}

application/xml, text/xml

Sample:
<CompanyUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>d7aafc2e-5904-4217-9a3b-5187ae37d673</CompanyID>
  <ID>16b5cc14-1938-48df-a98f-393ca8f4fc36</ID>
  <Address>sample string 7</Address>
  <AuthorName>sample string 9</AuthorName>
  <AuthorSurname>sample string 10</AuthorSurname>
  <City>sample string 16</City>
  <Code>sample string 1</Code>
  <Comission>41</Comission>
  <CompanySector>sample string 45</CompanySector>
  <County>sample string 17</County>
  <DealerID>sample string 40</DealerID>
  <DomainCode>1</DomainCode>
  <EArchivePrefix>sample string 35</EArchivePrefix>
  <EBillPassword>sample string 33</EBillPassword>
  <EBillPostBox>sample string 31</EBillPostBox>
  <EBillPrefix>sample string 34</EBillPrefix>
  <EBillSenderLabel>sample string 29</EBillSenderLabel>
  <EBillSource>UNDEFINED</EBillSource>
  <EBillUsername>sample string 32</EBillUsername>
  <EDispatchPrefix>sample string 36</EDispatchPrefix>
  <EDispatchSenderLabel>sample string 30</EDispatchSenderLabel>
  <ESmmPrefix>sample string 37</ESmmPrefix>
  <ElectronicBillCredits>43</ElectronicBillCredits>
  <Email>sample string 5</Email>
  <Fax>sample string 4</Fax>
  <IBAN>sample string 8</IBAN>
  <IsCorporate>true</IsCorporate>
  <IsElectronicBillMember>true</IsElectronicBillMember>
  <IsElectronicDispatchMember>true</IsElectronicDispatchMember>
  <IsElectronicSmmMember>true</IsElectronicSmmMember>
  <IsLimitedESmm>true</IsLimitedESmm>
  <IsMobileRegister>true</IsMobileRegister>
  <IsMustahsilMember>true</IsMustahsilMember>
  <IsSmsMember>true</IsSmsMember>
  <IzibizIntegrationId>49</IzibizIntegrationId>
  <IzibizUserId>50</IzibizUserId>
  <LastArticleNumber>46</LastArticleNumber>
  <LockedDate>2025-05-24T15:24:35.0451719+03:00</LockedDate>
  <MainCompanyID>8a3da0aa-98c1-4d95-b6f5-8bda6fc710f8</MainCompanyID>
  <MersisNumber>sample string 11</MersisNumber>
  <MustahsilPrefix>sample string 38</MustahsilPrefix>
  <OtherEArchivePrefixes>sample string 48</OtherEArchivePrefixes>
  <OtherEBillPrefixes>sample string 47</OtherEBillPrefixes>
  <PaymentHash>sample string 23</PaymentHash>
  <Phone>sample string 3</Phone>
  <PostalCode>sample string 15</PostalCode>
  <PromotionCode>sample string 39</PromotionCode>
  <SmsOriginator>sample string 27</SmsOriginator>
  <SmsPassword>sample string 26</SmsPassword>
  <SmsSource>NETGSM</SmsSource>
  <SmsUserCode>sample string 24</SmsUserCode>
  <SmsUsername>sample string 25</SmsUsername>
  <TaxNumber>sample string 13</TaxNumber>
  <TaxOffice>sample string 14</TaxOffice>
  <Title>sample string 2</Title>
  <TradeRegisterNumber>sample string 12</TradeRegisterNumber>
  <Website>sample string 6</Website>
</CompanyUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"code":"sample string 1","title":"sample string 2","phone":"sample string 3","fax":"sample string 4","email":"sample string 5","website":"sample string 6","address":"sample string 7","iban":"sample string 8","authorName":"sample string 9","authorSurname":"sample string 10","mersisNumber":"sample string 11","tradeRegisterNumber":"sample string 12","taxNumber":"sample string 13","taxOffice":"sample string 14","postalCode":"sample string 15","city":"sample string 16","county":"sample string 17","isCorporate":true,"isElectronicBillMember":true,"isElectronicDispatchMember":true,"isElectronicSmmMember":true,"isMustahsilMember":true,"paymentHash":"sample string 23","mainCompanyID":"8a3da0aa-98c1-4d95-b6f5-8bda6fc710f8","lockedDate":"2025-05-24T15:24:35.0451719+03:00","smsSource":1,"smsUserCode":"sample string 24","smsUsername":"sample string 25","smsPassword":"sample string 26","smsOriginator":"sample string 27","isSmsMember":true,"eBillSource":0,"eBillSenderLabel":"sample string 29","eDispatchSenderLabel":"sample string 30","eBillPostBox":"sample string 31","eBillUsername":"sample string 32","eBillPassword":"sample string 33","eBillPrefix":"sample string 34","eArchivePrefix":"sample string 35","eDispatchPrefix":"sample string 36","eSmmPrefix":"sample string 37","mustahsilPrefix":"sample string 38","promotionCode":"sample string 39","dealerID":"sample string 40","comission":41.0,"isMobileRegister":true,"electronicBillCredits":43,"isLimitedESmm":true,"companySector":"sample string 45","lastArticleNumber":46,"otherEBillPrefixes":"sample string 47","otherEArchivePrefixes":"sample string 48","domainCode":1,"izibizIntegrationId":49,"izibizUserId":50,"id":"16b5cc14-1938-48df-a98f-393ca8f4fc36","companyID":"d7aafc2e-5904-4217-9a3b-5187ae37d673"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.