POST 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": "a7a7c07e-03d6-4e2f-833d-b910712bcc5a", "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": "e245c9e9-2129-42a2-830c-1c2586b5fd3d", "cityID": "0b27a091-afb5-4b71-aae4-2a768192e8a8", "countyID": "8994e397-b6b2-4064-b156-aee7a39d5e7f", "bankDetails": [ { "accountDetailID": "3b2877ff-33ac-4f45-bc74-f602fcf8cf98", "iban": "sample string 1", "id": "f3fa8dc3-0a55-47e9-bf8a-91e91369ce2b", "companyID": "880d6d13-8676-4ee5-a4fa-791daf98a991" }, { "accountDetailID": "3b2877ff-33ac-4f45-bc74-f602fcf8cf98", "iban": "sample string 1", "id": "f3fa8dc3-0a55-47e9-bf8a-91e91369ce2b", "companyID": "880d6d13-8676-4ee5-a4fa-791daf98a991" } ], "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-08T21:37:23.4558036+03:00", "startDate": "2025-07-08T21:37:23.4558036+03:00", "endDate": "2025-07-08T21:37:23.4558036+03:00", "salary": 26.1, "salaryDay": 27, "salaryPaymentAccountID": "3d3ef3da-bd30-461f-8bac-d673c0a42402", "departmentID": "15c6dbc7-d2ea-445c-a986-a8bc2be81f5d", "job": "sample string 28", "jobEndDate": "2025-07-08T21:37:23.4558036+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": "4a15b4ab-79d6-4baa-aab1-096d0ae26116", "companyID": "4bc65de2-ed03-4c33-8ed7-f92a724b013d" }, "categoryID": "db7096de-4bf7-44e6-bed4-9300fcdf173a", "currencyID": "41749ae5-c478-4920-837d-e76f0a8ec71a", "isDeleted": true, "id": "017307ff-6226-4f38-adce-5c312b30ae09", "companyID": "3c1fe889-3a4b-425c-83d7-1899f49f5d2c" }
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>3c1fe889-3a4b-425c-83d7-1899f49f5d2c</CompanyID> <ID>017307ff-6226-4f38-adce-5c312b30ae09</ID> <AccountDetail> <CompanyID>4bc65de2-ed03-4c33-8ed7-f92a724b013d</CompanyID> <ID>4a15b4ab-79d6-4baa-aab1-096d0ae26116</ID> <AccountID>a7a7c07e-03d6-4e2f-833d-b910712bcc5a</AccountID> <AccountNumber>sample string 18</AccountNumber> <Address>sample string 3</Address> <Alias>sample string 12</Alias> <Author>sample string 5</Author> <BankDetails> <AccountBankDetailUpdateDto> <CompanyID>880d6d13-8676-4ee5-a4fa-791daf98a991</CompanyID> <ID>f3fa8dc3-0a55-47e9-bf8a-91e91369ce2b</ID> <AccountDetailID>3b2877ff-33ac-4f45-bc74-f602fcf8cf98</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> <AccountBankDetailUpdateDto> <CompanyID>880d6d13-8676-4ee5-a4fa-791daf98a991</CompanyID> <ID>f3fa8dc3-0a55-47e9-bf8a-91e91369ce2b</ID> <AccountDetailID>3b2877ff-33ac-4f45-bc74-f602fcf8cf98</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> </BankDetails> <Branch>sample string 17</Branch> <CardNumber>sample string 25</CardNumber> <CategoryID>e245c9e9-2129-42a2-830c-1c2586b5fd3d</CategoryID> <CityID>0b27a091-afb5-4b71-aae4-2a768192e8a8</CityID> <CountyID>8994e397-b6b2-4064-b156-aee7a39d5e7f</CountyID> <DepartmentID>15c6dbc7-d2ea-445c-a986-a8bc2be81f5d</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-08T21:37:23.4558036+03:00</EndDate> <Expiration>10</Expiration> <ExpireDate>2025-07-08T21:37:23.4558036+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-08T21:37:23.4558036+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>3d3ef3da-bd30-461f-8bac-d673c0a42402</SalaryPaymentAccountID> <SalePriceGroup>1</SalePriceGroup> <SgkJobCode>sample string 30</SgkJobCode> <StartDate>2025-07-08T21:37:23.4558036+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>db7096de-4bf7-44e6-bed4-9300fcdf173a</CategoryID> <Code>sample string 1</Code> <CurrencyID>41749ae5-c478-4920-837d-e76f0a8ec71a</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":"a7a7c07e-03d6-4e2f-833d-b910712bcc5a","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":"e245c9e9-2129-42a2-830c-1c2586b5fd3d","cityID":"0b27a091-afb5-4b71-aae4-2a768192e8a8","countyID":"8994e397-b6b2-4064-b156-aee7a39d5e7f","bankDetails":[{"accountDetailID":"3b2877ff-33ac-4f45-bc74-f602fcf8cf98","iban":"sample string 1","id":"f3fa8dc3-0a55-47e9-bf8a-91e91369ce2b","companyID":"880d6d13-8676-4ee5-a4fa-791daf98a991"},{"accountDetailID":"3b2877ff-33ac-4f45-bc74-f602fcf8cf98","iban":"sample string 1","id":"f3fa8dc3-0a55-47e9-bf8a-91e91369ce2b","companyID":"880d6d13-8676-4ee5-a4fa-791daf98a991"}],"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-08T21:37:23.4558036+03:00","startDate":"2025-07-08T21:37:23.4558036+03:00","endDate":"2025-07-08T21:37:23.4558036+03:00","salary":26.1,"salaryDay":27,"salaryPaymentAccountID":"3d3ef3da-bd30-461f-8bac-d673c0a42402","departmentID":"15c6dbc7-d2ea-445c-a986-a8bc2be81f5d","job":"sample string 28","jobEndDate":"2025-07-08T21:37:23.4558036+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":"4a15b4ab-79d6-4baa-aab1-096d0ae26116","companyID":"4bc65de2-ed03-4c33-8ed7-f92a724b013d"},"categoryID":"db7096de-4bf7-44e6-bed4-9300fcdf173a","currencyID":"41749ae5-c478-4920-837d-e76f0a8ec71a","isDeleted":true,"id":"017307ff-6226-4f38-adce-5c312b30ae09","companyID":"3c1fe889-3a4b-425c-83d7-1899f49f5d2c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.