PUT api/Accounts/Update
Request Information
URI Parameters
None.
Body Parameters
AccountUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
AccountType | AccountType |
None. |
|
Title | string |
None. |
|
SubTitle | string |
None. |
|
Description | string |
None. |
|
AccountDetail | AccountDetailUpdateDto |
None. |
|
CategoryID | globally unique identifier |
None. |
|
CurrencyID | globally unique identifier |
None. |
|
IsDeleted | boolean |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "accountType": 7, "title": "sample string 2", "subTitle": "sample string 3", "description": "sample string 4", "accountDetail": { "accountID": "3087a629-bf7a-4e18-9fe7-98cfab5951b9", "email": "sample string 1", "phone": "sample string 2", "address": "sample string 3", "taxNumber": "sample string 4", "salePriceGroup": 1, "author": "sample string 5", "webSite": "sample string 6", "taxOffice": "sample string 7", "maxDebtLimit": 8.0, "discount": 9.1, "expiration": 10, "categoryID": "426f7339-cb7b-4488-8588-5460ab11d963", "cityID": "3b567539-6e8b-4b19-b61f-85ce9e199396", "countyID": "ecdfea1c-66a3-49d7-8e95-2f8fa1393b8d", "bankDetails": [ { "accountDetailID": "b7ed55d2-090d-4440-8ab1-a9e8f882f27c", "iban": "sample string 1", "id": "f1a86817-33f2-4d0e-841d-6f9965598ae3", "companyID": "7c533283-b04f-45b9-ac76-0e3bd577bd56" }, { "accountDetailID": "b7ed55d2-090d-4440-8ab1-a9e8f882f27c", "iban": "sample string 1", "id": "f1a86817-33f2-4d0e-841d-6f9965598ae3", "companyID": "7c533283-b04f-45b9-ac76-0e3bd577bd56" } ], "isEInvoiceAccount": true, "alias": "sample string 12", "isEDispatchAccount": true, "dispatchAlias": "sample string 14", "isExportCustomer": true, "isBranch": true, "branch": "sample string 17", "accountNumber": "sample string 18", "iban": "sample string 19", "isDeferred": true, "installmentCount": 21, "stoppagePercentage": 22.1, "limit": 23.1, "lastPaymentDay": 24, "cardNumber": "sample string 25", "expireDate": "2025-07-04T16:20:40.7129805+03:00", "startDate": "2025-07-04T16:20:40.7129805+03:00", "endDate": "2025-07-04T16:20:40.7129805+03:00", "salary": 26.1, "salaryDay": 27, "salaryPaymentAccountID": "ccf9e909-0a24-459d-a479-74013d5b07fd", "departmentID": "482e5810-fba5-46a9-89ba-4b609a256e38", "job": "sample string 28", "jobEndDate": "2025-07-04T16:20:40.7129805+03:00", "jobEndReasonCode": "sample string 29", "sgkJobCode": "sample string 30", "dispatchDeliveryAddress": "sample string 31", "dispatchDeliveryCountry": "sample string 32", "dispatchDeliveryCity": "sample string 33", "dispatchDeliveryCounty": "sample string 34", "dispatchDeliveryPostalCode": "sample string 35", "isForeign": true, "id": "5aa629cb-b80b-40a5-b468-e6d316fa8d6c", "companyID": "b58962b8-5e5c-4dce-aedb-b1214802c3e1" }, "categoryID": "4ed4cb08-ebf2-4e56-b46e-edec0736e346", "currencyID": "5221c82d-ff3c-4f52-a9cc-3430dc716d92", "isDeleted": true, "id": "7482d160-ee3d-4c46-a093-4e54924d9e9a", "companyID": "6405d5bc-0bdd-4230-8096-1394b0bc0acc" }
application/xml, text/xml
Sample:
<AccountUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>6405d5bc-0bdd-4230-8096-1394b0bc0acc</CompanyID> <ID>7482d160-ee3d-4c46-a093-4e54924d9e9a</ID> <AccountDetail> <CompanyID>b58962b8-5e5c-4dce-aedb-b1214802c3e1</CompanyID> <ID>5aa629cb-b80b-40a5-b468-e6d316fa8d6c</ID> <AccountID>3087a629-bf7a-4e18-9fe7-98cfab5951b9</AccountID> <AccountNumber>sample string 18</AccountNumber> <Address>sample string 3</Address> <Alias>sample string 12</Alias> <Author>sample string 5</Author> <BankDetails> <AccountBankDetailUpdateDto> <CompanyID>7c533283-b04f-45b9-ac76-0e3bd577bd56</CompanyID> <ID>f1a86817-33f2-4d0e-841d-6f9965598ae3</ID> <AccountDetailID>b7ed55d2-090d-4440-8ab1-a9e8f882f27c</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> <AccountBankDetailUpdateDto> <CompanyID>7c533283-b04f-45b9-ac76-0e3bd577bd56</CompanyID> <ID>f1a86817-33f2-4d0e-841d-6f9965598ae3</ID> <AccountDetailID>b7ed55d2-090d-4440-8ab1-a9e8f882f27c</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> </BankDetails> <Branch>sample string 17</Branch> <CardNumber>sample string 25</CardNumber> <CategoryID>426f7339-cb7b-4488-8588-5460ab11d963</CategoryID> <CityID>3b567539-6e8b-4b19-b61f-85ce9e199396</CityID> <CountyID>ecdfea1c-66a3-49d7-8e95-2f8fa1393b8d</CountyID> <DepartmentID>482e5810-fba5-46a9-89ba-4b609a256e38</DepartmentID> <Discount>9.1</Discount> <DispatchAlias>sample string 14</DispatchAlias> <DispatchDeliveryAddress>sample string 31</DispatchDeliveryAddress> <DispatchDeliveryCity>sample string 33</DispatchDeliveryCity> <DispatchDeliveryCountry>sample string 32</DispatchDeliveryCountry> <DispatchDeliveryCounty>sample string 34</DispatchDeliveryCounty> <DispatchDeliveryPostalCode>sample string 35</DispatchDeliveryPostalCode> <Email>sample string 1</Email> <EndDate>2025-07-04T16:20:40.7129805+03:00</EndDate> <Expiration>10</Expiration> <ExpireDate>2025-07-04T16:20:40.7129805+03:00</ExpireDate> <IBAN>sample string 19</IBAN> <InstallmentCount>21</InstallmentCount> <IsBranch>true</IsBranch> <IsDeferred>true</IsDeferred> <IsEDispatchAccount>true</IsEDispatchAccount> <IsEInvoiceAccount>true</IsEInvoiceAccount> <IsExportCustomer>true</IsExportCustomer> <IsForeign>true</IsForeign> <Job>sample string 28</Job> <JobEndDate>2025-07-04T16:20:40.7129805+03:00</JobEndDate> <JobEndReasonCode>sample string 29</JobEndReasonCode> <LastPaymentDay>24</LastPaymentDay> <Limit>23.1</Limit> <MaxDebtLimit>8</MaxDebtLimit> <Phone>sample string 2</Phone> <Salary>26.1</Salary> <SalaryDay>27</SalaryDay> <SalaryPaymentAccountID>ccf9e909-0a24-459d-a479-74013d5b07fd</SalaryPaymentAccountID> <SalePriceGroup>1</SalePriceGroup> <SgkJobCode>sample string 30</SgkJobCode> <StartDate>2025-07-04T16:20:40.7129805+03:00</StartDate> <StoppagePercentage>22.1</StoppagePercentage> <TaxNumber>sample string 4</TaxNumber> <TaxOffice>sample string 7</TaxOffice> <WebSite>sample string 6</WebSite> </AccountDetail> <AccountType>Expense</AccountType> <CategoryID>4ed4cb08-ebf2-4e56-b46e-edec0736e346</CategoryID> <Code>sample string 1</Code> <CurrencyID>5221c82d-ff3c-4f52-a9cc-3430dc716d92</CurrencyID> <Description>sample string 4</Description> <IsDeleted>true</IsDeleted> <SubTitle>sample string 3</SubTitle> <Title>sample string 2</Title> </AccountUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"code":"sample string 1","accountType":7,"title":"sample string 2","subTitle":"sample string 3","description":"sample string 4","accountDetail":{"accountID":"3087a629-bf7a-4e18-9fe7-98cfab5951b9","email":"sample string 1","phone":"sample string 2","address":"sample string 3","taxNumber":"sample string 4","salePriceGroup":1,"author":"sample string 5","webSite":"sample string 6","taxOffice":"sample string 7","maxDebtLimit":8.0,"discount":9.1,"expiration":10,"categoryID":"426f7339-cb7b-4488-8588-5460ab11d963","cityID":"3b567539-6e8b-4b19-b61f-85ce9e199396","countyID":"ecdfea1c-66a3-49d7-8e95-2f8fa1393b8d","bankDetails":[{"accountDetailID":"b7ed55d2-090d-4440-8ab1-a9e8f882f27c","iban":"sample string 1","id":"f1a86817-33f2-4d0e-841d-6f9965598ae3","companyID":"7c533283-b04f-45b9-ac76-0e3bd577bd56"},{"accountDetailID":"b7ed55d2-090d-4440-8ab1-a9e8f882f27c","iban":"sample string 1","id":"f1a86817-33f2-4d0e-841d-6f9965598ae3","companyID":"7c533283-b04f-45b9-ac76-0e3bd577bd56"}],"isEInvoiceAccount":true,"alias":"sample string 12","isEDispatchAccount":true,"dispatchAlias":"sample string 14","isExportCustomer":true,"isBranch":true,"branch":"sample string 17","accountNumber":"sample string 18","iban":"sample string 19","isDeferred":true,"installmentCount":21,"stoppagePercentage":22.1,"limit":23.1,"lastPaymentDay":24,"cardNumber":"sample string 25","expireDate":"2025-07-04T16:20:40.7129805+03:00","startDate":"2025-07-04T16:20:40.7129805+03:00","endDate":"2025-07-04T16:20:40.7129805+03:00","salary":26.1,"salaryDay":27,"salaryPaymentAccountID":"ccf9e909-0a24-459d-a479-74013d5b07fd","departmentID":"482e5810-fba5-46a9-89ba-4b609a256e38","job":"sample string 28","jobEndDate":"2025-07-04T16:20:40.7129805+03:00","jobEndReasonCode":"sample string 29","sgkJobCode":"sample string 30","dispatchDeliveryAddress":"sample string 31","dispatchDeliveryCountry":"sample string 32","dispatchDeliveryCity":"sample string 33","dispatchDeliveryCounty":"sample string 34","dispatchDeliveryPostalCode":"sample string 35","isForeign":true,"id":"5aa629cb-b80b-40a5-b468-e6d316fa8d6c","companyID":"b58962b8-5e5c-4dce-aedb-b1214802c3e1"},"categoryID":"4ed4cb08-ebf2-4e56-b46e-edec0736e346","currencyID":"5221c82d-ff3c-4f52-a9cc-3430dc716d92","isDeleted":true,"id":"7482d160-ee3d-4c46-a093-4e54924d9e9a","companyID":"6405d5bc-0bdd-4230-8096-1394b0bc0acc"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.