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": "02307306-ff90-415a-bd72-67370ef3736c", "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": "934708e7-9cb3-4b6a-80d7-5fbede431f77", "cityID": "d9763831-4923-474f-a199-b8cbf1970570", "countyID": "2e03bf36-b6de-495f-9b5b-e0b3236fff94", "bankDetails": [ { "accountDetailID": "cc31c40e-1698-4f08-ba67-a43dc00db387", "iban": "sample string 1", "id": "4b69a60c-7eb7-4b77-bcc5-b1263ca6ffa6", "companyID": "074df1a6-1bf1-475d-af06-c3fc1ba24856" }, { "accountDetailID": "cc31c40e-1698-4f08-ba67-a43dc00db387", "iban": "sample string 1", "id": "4b69a60c-7eb7-4b77-bcc5-b1263ca6ffa6", "companyID": "074df1a6-1bf1-475d-af06-c3fc1ba24856" } ], "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-05-24T14:56:10.413211+03:00", "startDate": "2025-05-24T14:56:10.413211+03:00", "endDate": "2025-05-24T14:56:10.413211+03:00", "salary": 26.1, "salaryDay": 27, "salaryPaymentAccountID": "f22d0fe3-2af6-44ee-b8a9-17d845f692f1", "departmentID": "6ff9b91e-e6bf-4406-94c0-3dff9d1546c2", "job": "sample string 28", "jobEndDate": "2025-05-24T14:56:10.413211+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": "2695cce9-a867-4eaf-a543-f51889dc0778", "companyID": "a909891f-0c6a-4701-9387-1c293c8b0ac5" }, "categoryID": "b332f6b3-2953-4ec5-94c3-5a73ed8f5331", "currencyID": "3feaf8fc-9496-4e20-8429-347ab812bdd4", "isDeleted": true, "id": "05bb0879-1a3d-4cc3-b0d0-21cb72509069", "companyID": "8bb826c6-f89c-40ca-9657-21c0e2fa0951" }
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>8bb826c6-f89c-40ca-9657-21c0e2fa0951</CompanyID> <ID>05bb0879-1a3d-4cc3-b0d0-21cb72509069</ID> <AccountDetail> <CompanyID>a909891f-0c6a-4701-9387-1c293c8b0ac5</CompanyID> <ID>2695cce9-a867-4eaf-a543-f51889dc0778</ID> <AccountID>02307306-ff90-415a-bd72-67370ef3736c</AccountID> <AccountNumber>sample string 18</AccountNumber> <Address>sample string 3</Address> <Alias>sample string 12</Alias> <Author>sample string 5</Author> <BankDetails> <AccountBankDetailUpdateDto> <CompanyID>074df1a6-1bf1-475d-af06-c3fc1ba24856</CompanyID> <ID>4b69a60c-7eb7-4b77-bcc5-b1263ca6ffa6</ID> <AccountDetailID>cc31c40e-1698-4f08-ba67-a43dc00db387</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> <AccountBankDetailUpdateDto> <CompanyID>074df1a6-1bf1-475d-af06-c3fc1ba24856</CompanyID> <ID>4b69a60c-7eb7-4b77-bcc5-b1263ca6ffa6</ID> <AccountDetailID>cc31c40e-1698-4f08-ba67-a43dc00db387</AccountDetailID> <IBAN>sample string 1</IBAN> </AccountBankDetailUpdateDto> </BankDetails> <Branch>sample string 17</Branch> <CardNumber>sample string 25</CardNumber> <CategoryID>934708e7-9cb3-4b6a-80d7-5fbede431f77</CategoryID> <CityID>d9763831-4923-474f-a199-b8cbf1970570</CityID> <CountyID>2e03bf36-b6de-495f-9b5b-e0b3236fff94</CountyID> <DepartmentID>6ff9b91e-e6bf-4406-94c0-3dff9d1546c2</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-05-24T14:56:10.413211+03:00</EndDate> <Expiration>10</Expiration> <ExpireDate>2025-05-24T14:56:10.413211+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-05-24T14:56:10.413211+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>f22d0fe3-2af6-44ee-b8a9-17d845f692f1</SalaryPaymentAccountID> <SalePriceGroup>1</SalePriceGroup> <SgkJobCode>sample string 30</SgkJobCode> <StartDate>2025-05-24T14:56:10.413211+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>b332f6b3-2953-4ec5-94c3-5a73ed8f5331</CategoryID> <Code>sample string 1</Code> <CurrencyID>3feaf8fc-9496-4e20-8429-347ab812bdd4</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":"02307306-ff90-415a-bd72-67370ef3736c","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":"934708e7-9cb3-4b6a-80d7-5fbede431f77","cityID":"d9763831-4923-474f-a199-b8cbf1970570","countyID":"2e03bf36-b6de-495f-9b5b-e0b3236fff94","bankDetails":[{"accountDetailID":"cc31c40e-1698-4f08-ba67-a43dc00db387","iban":"sample string 1","id":"4b69a60c-7eb7-4b77-bcc5-b1263ca6ffa6","companyID":"074df1a6-1bf1-475d-af06-c3fc1ba24856"},{"accountDetailID":"cc31c40e-1698-4f08-ba67-a43dc00db387","iban":"sample string 1","id":"4b69a60c-7eb7-4b77-bcc5-b1263ca6ffa6","companyID":"074df1a6-1bf1-475d-af06-c3fc1ba24856"}],"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-05-24T14:56:10.413211+03:00","startDate":"2025-05-24T14:56:10.413211+03:00","endDate":"2025-05-24T14:56:10.413211+03:00","salary":26.1,"salaryDay":27,"salaryPaymentAccountID":"f22d0fe3-2af6-44ee-b8a9-17d845f692f1","departmentID":"6ff9b91e-e6bf-4406-94c0-3dff9d1546c2","job":"sample string 28","jobEndDate":"2025-05-24T14:56:10.413211+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":"2695cce9-a867-4eaf-a543-f51889dc0778","companyID":"a909891f-0c6a-4701-9387-1c293c8b0ac5"},"categoryID":"b332f6b3-2953-4ec5-94c3-5a73ed8f5331","currencyID":"3feaf8fc-9496-4e20-8429-347ab812bdd4","isDeleted":true,"id":"05bb0879-1a3d-4cc3-b0d0-21cb72509069","companyID":"8bb826c6-f89c-40ca-9657-21c0e2fa0951"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.