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": "171d20e4-252f-4696-a675-fd015468898f", "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": "163dd225-ca68-4c30-a1d6-445cbaed4bcd", "cityID": "9279c317-9b64-47a0-9ad8-cc1182240579", "countyID": "4650ee95-5608-42f6-8b35-88f5c5af4648", "bankDetails": [ { "accountDetailID": "480c8d3f-79db-441b-a90f-1fe5c5047740", "iban": "sample string 1", "id": "8b607660-92da-4943-8c3a-a081b71dfc68", "companyID": "16dfb016-9047-4586-a29a-affcd01b3ba0" }, { "accountDetailID": "480c8d3f-79db-441b-a90f-1fe5c5047740", "iban": "sample string 1", "id": "8b607660-92da-4943-8c3a-a081b71dfc68", "companyID": "16dfb016-9047-4586-a29a-affcd01b3ba0" } ], "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-08-05T21:16:13.4594221+03:00", "startDate": "2025-08-05T21:16:13.4750249+03:00", "endDate": "2025-08-05T21:16:13.4750249+03:00", "salary": 26.1, "salaryDay": 27, "salaryPaymentAccountID": "d8c4751f-c45e-452f-8c95-d962ef2ca35f", "departmentID": "97ba23a8-cf60-41d6-a3c3-63805fb67b29", "job": "sample string 28", "jobEndDate": "2025-08-05T21:16:13.4750249+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": "620c41db-4096-4b68-8d48-0666c4c58793", "companyID": "008697f7-2baf-4a35-8028-0ee7812e9843" }, "categoryID": "329a1d20-e3fd-45cd-8ed4-797b6035b3b3", "currencyID": "69cc5c19-a123-44b7-ac42-b13341e4ccd8", "isDeleted": true, "id": "808d784c-d30c-47a4-8a0d-b0126366557d", "companyID": "aafaedfa-3f13-4128-b858-473e4c7eb14f" }
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>aafaedfa-3f13-4128-b858-473e4c7eb14f</CompanyID> <ID>808d784c-d30c-47a4-8a0d-b0126366557d</ID> <AccountDetail> <CompanyID>008697f7-2baf-4a35-8028-0ee7812e9843</CompanyID> <ID>620c41db-4096-4b68-8d48-0666c4c58793</ID> <AccountID>171d20e4-252f-4696-a675-fd015468898f</AccountID> <AccountNumber>sample string 18</AccountNumber> <Address>sample string 3</Address> <Alias>sample string 12</Alias> <Author>sample string 5</Author> <BankDetails> <AccountBankDetailUpdateDto> <CompanyID>16dfb016-9047-4586-a29a-affcd01b3ba0</CompanyID> <ID>8b607660-92da-4943-8c3a-a081b71dfc68</ID> <AccountDetailID>480c8d3f-79db-441b-a90f-1fe5c5047740</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> <AccountBankDetailUpdateDto> <CompanyID>16dfb016-9047-4586-a29a-affcd01b3ba0</CompanyID> <ID>8b607660-92da-4943-8c3a-a081b71dfc68</ID> <AccountDetailID>480c8d3f-79db-441b-a90f-1fe5c5047740</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> </BankDetails> <Branch>sample string 17</Branch> <CardNumber>sample string 25</CardNumber> <CategoryID>163dd225-ca68-4c30-a1d6-445cbaed4bcd</CategoryID> <CityID>9279c317-9b64-47a0-9ad8-cc1182240579</CityID> <CountyID>4650ee95-5608-42f6-8b35-88f5c5af4648</CountyID> <DepartmentID>97ba23a8-cf60-41d6-a3c3-63805fb67b29</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-08-05T21:16:13.4750249+03:00</EndDate> <Expiration>10</Expiration> <ExpireDate>2025-08-05T21:16:13.4594221+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-08-05T21:16:13.4750249+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>d8c4751f-c45e-452f-8c95-d962ef2ca35f</SalaryPaymentAccountID> <SalePriceGroup>1</SalePriceGroup> <SgkJobCode>sample string 30</SgkJobCode> <StartDate>2025-08-05T21:16:13.4750249+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>329a1d20-e3fd-45cd-8ed4-797b6035b3b3</CategoryID> <Code>sample string 1</Code> <CurrencyID>69cc5c19-a123-44b7-ac42-b13341e4ccd8</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":"171d20e4-252f-4696-a675-fd015468898f","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":"163dd225-ca68-4c30-a1d6-445cbaed4bcd","cityID":"9279c317-9b64-47a0-9ad8-cc1182240579","countyID":"4650ee95-5608-42f6-8b35-88f5c5af4648","bankDetails":[{"accountDetailID":"480c8d3f-79db-441b-a90f-1fe5c5047740","iban":"sample string 1","id":"8b607660-92da-4943-8c3a-a081b71dfc68","companyID":"16dfb016-9047-4586-a29a-affcd01b3ba0"},{"accountDetailID":"480c8d3f-79db-441b-a90f-1fe5c5047740","iban":"sample string 1","id":"8b607660-92da-4943-8c3a-a081b71dfc68","companyID":"16dfb016-9047-4586-a29a-affcd01b3ba0"}],"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-08-05T21:16:13.4594221+03:00","startDate":"2025-08-05T21:16:13.4750249+03:00","endDate":"2025-08-05T21:16:13.4750249+03:00","salary":26.1,"salaryDay":27,"salaryPaymentAccountID":"d8c4751f-c45e-452f-8c95-d962ef2ca35f","departmentID":"97ba23a8-cf60-41d6-a3c3-63805fb67b29","job":"sample string 28","jobEndDate":"2025-08-05T21:16:13.4750249+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":"620c41db-4096-4b68-8d48-0666c4c58793","companyID":"008697f7-2baf-4a35-8028-0ee7812e9843"},"categoryID":"329a1d20-e3fd-45cd-8ed4-797b6035b3b3","currencyID":"69cc5c19-a123-44b7-ac42-b13341e4ccd8","isDeleted":true,"id":"808d784c-d30c-47a4-8a0d-b0126366557d","companyID":"aafaedfa-3f13-4128-b858-473e4c7eb14f"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.