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": "042cb156-a0f1-4004-9945-cfbdbf056359", "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": "fe30ad68-f262-4e1b-b09d-63d97d0de82b", "cityID": "e049fcfc-b28e-46fc-a71c-60b981af144a", "countyID": "2346adb9-6a2d-4e23-9653-bccb0184f127", "bankDetails": [ { "accountDetailID": "a7f010ca-87b5-45ff-b1b0-27914443954f", "iban": "sample string 1", "id": "48ab1c18-08f9-4b3b-844c-14b82a18d97e", "companyID": "882184ea-c16c-4f43-9994-d174027881b6" }, { "accountDetailID": "a7f010ca-87b5-45ff-b1b0-27914443954f", "iban": "sample string 1", "id": "48ab1c18-08f9-4b3b-844c-14b82a18d97e", "companyID": "882184ea-c16c-4f43-9994-d174027881b6" } ], "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-29T12:26:52.9324989+03:00", "startDate": "2025-08-29T12:26:52.9324989+03:00", "endDate": "2025-08-29T12:26:52.9324989+03:00", "salary": 26.1, "salaryDay": 27, "salaryPaymentAccountID": "48128c28-3398-4997-bd3d-b1b062a19a62", "departmentID": "4c0e5e5f-8038-4d89-a194-812251d597da", "job": "sample string 28", "jobEndDate": "2025-08-29T12:26:52.9324989+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": "f9b11009-4429-489e-9421-9e198f3daece", "companyID": "c863cd71-a913-46ea-9d08-2ddb85db836e" }, "categoryID": "18c27d6e-70e6-4267-aa3c-acb0f35ca6c8", "currencyID": "24aec472-516b-473d-aa82-78d221aeeb2a", "isDeleted": true, "id": "ebf1b886-8324-454a-8984-4c716bfcee63", "companyID": "03e1defc-858b-40c5-bc3b-d0277a9dee0e" }
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>03e1defc-858b-40c5-bc3b-d0277a9dee0e</CompanyID> <ID>ebf1b886-8324-454a-8984-4c716bfcee63</ID> <AccountDetail> <CompanyID>c863cd71-a913-46ea-9d08-2ddb85db836e</CompanyID> <ID>f9b11009-4429-489e-9421-9e198f3daece</ID> <AccountID>042cb156-a0f1-4004-9945-cfbdbf056359</AccountID> <AccountNumber>sample string 18</AccountNumber> <Address>sample string 3</Address> <Alias>sample string 12</Alias> <Author>sample string 5</Author> <BankDetails> <AccountBankDetailUpdateDto> <CompanyID>882184ea-c16c-4f43-9994-d174027881b6</CompanyID> <ID>48ab1c18-08f9-4b3b-844c-14b82a18d97e</ID> <AccountDetailID>a7f010ca-87b5-45ff-b1b0-27914443954f</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> <AccountBankDetailUpdateDto> <CompanyID>882184ea-c16c-4f43-9994-d174027881b6</CompanyID> <ID>48ab1c18-08f9-4b3b-844c-14b82a18d97e</ID> <AccountDetailID>a7f010ca-87b5-45ff-b1b0-27914443954f</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> </BankDetails> <Branch>sample string 17</Branch> <CardNumber>sample string 25</CardNumber> <CategoryID>fe30ad68-f262-4e1b-b09d-63d97d0de82b</CategoryID> <CityID>e049fcfc-b28e-46fc-a71c-60b981af144a</CityID> <CountyID>2346adb9-6a2d-4e23-9653-bccb0184f127</CountyID> <DepartmentID>4c0e5e5f-8038-4d89-a194-812251d597da</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-29T12:26:52.9324989+03:00</EndDate> <Expiration>10</Expiration> <ExpireDate>2025-08-29T12:26:52.9324989+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-29T12:26:52.9324989+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>48128c28-3398-4997-bd3d-b1b062a19a62</SalaryPaymentAccountID> <SalePriceGroup>1</SalePriceGroup> <SgkJobCode>sample string 30</SgkJobCode> <StartDate>2025-08-29T12:26:52.9324989+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>18c27d6e-70e6-4267-aa3c-acb0f35ca6c8</CategoryID> <Code>sample string 1</Code> <CurrencyID>24aec472-516b-473d-aa82-78d221aeeb2a</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":"042cb156-a0f1-4004-9945-cfbdbf056359","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":"fe30ad68-f262-4e1b-b09d-63d97d0de82b","cityID":"e049fcfc-b28e-46fc-a71c-60b981af144a","countyID":"2346adb9-6a2d-4e23-9653-bccb0184f127","bankDetails":[{"accountDetailID":"a7f010ca-87b5-45ff-b1b0-27914443954f","iban":"sample string 1","id":"48ab1c18-08f9-4b3b-844c-14b82a18d97e","companyID":"882184ea-c16c-4f43-9994-d174027881b6"},{"accountDetailID":"a7f010ca-87b5-45ff-b1b0-27914443954f","iban":"sample string 1","id":"48ab1c18-08f9-4b3b-844c-14b82a18d97e","companyID":"882184ea-c16c-4f43-9994-d174027881b6"}],"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-29T12:26:52.9324989+03:00","startDate":"2025-08-29T12:26:52.9324989+03:00","endDate":"2025-08-29T12:26:52.9324989+03:00","salary":26.1,"salaryDay":27,"salaryPaymentAccountID":"48128c28-3398-4997-bd3d-b1b062a19a62","departmentID":"4c0e5e5f-8038-4d89-a194-812251d597da","job":"sample string 28","jobEndDate":"2025-08-29T12:26:52.9324989+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":"f9b11009-4429-489e-9421-9e198f3daece","companyID":"c863cd71-a913-46ea-9d08-2ddb85db836e"},"categoryID":"18c27d6e-70e6-4267-aa3c-acb0f35ca6c8","currencyID":"24aec472-516b-473d-aa82-78d221aeeb2a","isDeleted":true,"id":"ebf1b886-8324-454a-8984-4c716bfcee63","companyID":"03e1defc-858b-40c5-bc3b-d0277a9dee0e"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.