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": "47e2a9ef-3660-45e1-aa4b-847d1a579c55", "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": "9e6ec358-9be4-4cba-a0fa-f8683279cd68", "cityID": "d5cfea7d-4cff-4ce1-a94c-b433e90c334a", "countyID": "6e6d4ea1-b398-4884-b719-04375b152b2f", "bankDetails": [ { "accountDetailID": "c39c4f7f-1ab1-49b5-be69-f65a4719173d", "iban": "sample string 1", "id": "33e4fa11-a577-4e68-9257-ceff82ddfed8", "companyID": "927a0e7e-13a4-45dc-a83f-9d5db3f80f20" }, { "accountDetailID": "c39c4f7f-1ab1-49b5-be69-f65a4719173d", "iban": "sample string 1", "id": "33e4fa11-a577-4e68-9257-ceff82ddfed8", "companyID": "927a0e7e-13a4-45dc-a83f-9d5db3f80f20" } ], "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:14.7062533+03:00", "startDate": "2025-08-05T21:16:14.7062533+03:00", "endDate": "2025-08-05T21:16:14.7062533+03:00", "salary": 26.1, "salaryDay": 27, "salaryPaymentAccountID": "dfcb0df1-b9f3-481b-9177-b426c9f62cf5", "departmentID": "fd46cc52-2368-484f-a58c-804bf92add16", "job": "sample string 28", "jobEndDate": "2025-08-05T21:16:14.7062533+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": "edfab39d-c64a-4d7f-93ed-e2ad4b9f9626", "companyID": "8a259e89-dad4-4445-b57a-04ebb0cbeb6a" }, "categoryID": "379cb2e1-3b95-40fb-807f-962c8f4fc6f6", "currencyID": "9928eee6-62a2-45e8-90d2-f57a7a3bbd14", "isDeleted": true, "id": "51e00307-56fc-4b10-9cf6-72b0a70509dd", "companyID": "225e7c2e-e315-4f59-968c-5ce2de6fd2d8" }
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>225e7c2e-e315-4f59-968c-5ce2de6fd2d8</CompanyID> <ID>51e00307-56fc-4b10-9cf6-72b0a70509dd</ID> <AccountDetail> <CompanyID>8a259e89-dad4-4445-b57a-04ebb0cbeb6a</CompanyID> <ID>edfab39d-c64a-4d7f-93ed-e2ad4b9f9626</ID> <AccountID>47e2a9ef-3660-45e1-aa4b-847d1a579c55</AccountID> <AccountNumber>sample string 18</AccountNumber> <Address>sample string 3</Address> <Alias>sample string 12</Alias> <Author>sample string 5</Author> <BankDetails> <AccountBankDetailUpdateDto> <CompanyID>927a0e7e-13a4-45dc-a83f-9d5db3f80f20</CompanyID> <ID>33e4fa11-a577-4e68-9257-ceff82ddfed8</ID> <AccountDetailID>c39c4f7f-1ab1-49b5-be69-f65a4719173d</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> <AccountBankDetailUpdateDto> <CompanyID>927a0e7e-13a4-45dc-a83f-9d5db3f80f20</CompanyID> <ID>33e4fa11-a577-4e68-9257-ceff82ddfed8</ID> <AccountDetailID>c39c4f7f-1ab1-49b5-be69-f65a4719173d</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> </BankDetails> <Branch>sample string 17</Branch> <CardNumber>sample string 25</CardNumber> <CategoryID>9e6ec358-9be4-4cba-a0fa-f8683279cd68</CategoryID> <CityID>d5cfea7d-4cff-4ce1-a94c-b433e90c334a</CityID> <CountyID>6e6d4ea1-b398-4884-b719-04375b152b2f</CountyID> <DepartmentID>fd46cc52-2368-484f-a58c-804bf92add16</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:14.7062533+03:00</EndDate> <Expiration>10</Expiration> <ExpireDate>2025-08-05T21:16:14.7062533+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:14.7062533+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>dfcb0df1-b9f3-481b-9177-b426c9f62cf5</SalaryPaymentAccountID> <SalePriceGroup>1</SalePriceGroup> <SgkJobCode>sample string 30</SgkJobCode> <StartDate>2025-08-05T21:16:14.7062533+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>379cb2e1-3b95-40fb-807f-962c8f4fc6f6</CategoryID> <Code>sample string 1</Code> <CurrencyID>9928eee6-62a2-45e8-90d2-f57a7a3bbd14</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":"47e2a9ef-3660-45e1-aa4b-847d1a579c55","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":"9e6ec358-9be4-4cba-a0fa-f8683279cd68","cityID":"d5cfea7d-4cff-4ce1-a94c-b433e90c334a","countyID":"6e6d4ea1-b398-4884-b719-04375b152b2f","bankDetails":[{"accountDetailID":"c39c4f7f-1ab1-49b5-be69-f65a4719173d","iban":"sample string 1","id":"33e4fa11-a577-4e68-9257-ceff82ddfed8","companyID":"927a0e7e-13a4-45dc-a83f-9d5db3f80f20"},{"accountDetailID":"c39c4f7f-1ab1-49b5-be69-f65a4719173d","iban":"sample string 1","id":"33e4fa11-a577-4e68-9257-ceff82ddfed8","companyID":"927a0e7e-13a4-45dc-a83f-9d5db3f80f20"}],"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:14.7062533+03:00","startDate":"2025-08-05T21:16:14.7062533+03:00","endDate":"2025-08-05T21:16:14.7062533+03:00","salary":26.1,"salaryDay":27,"salaryPaymentAccountID":"dfcb0df1-b9f3-481b-9177-b426c9f62cf5","departmentID":"fd46cc52-2368-484f-a58c-804bf92add16","job":"sample string 28","jobEndDate":"2025-08-05T21:16:14.7062533+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":"edfab39d-c64a-4d7f-93ed-e2ad4b9f9626","companyID":"8a259e89-dad4-4445-b57a-04ebb0cbeb6a"},"categoryID":"379cb2e1-3b95-40fb-807f-962c8f4fc6f6","currencyID":"9928eee6-62a2-45e8-90d2-f57a7a3bbd14","isDeleted":true,"id":"51e00307-56fc-4b10-9cf6-72b0a70509dd","companyID":"225e7c2e-e315-4f59-968c-5ce2de6fd2d8"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.