POST api/CountsAre/Update
Request Information
URI Parameters
None.
Body Parameters
CountsAreUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
TotalAmount | decimal number |
None. |
|
Date | date |
None. |
|
Description | string |
None. |
|
EndDate | date |
None. |
|
IsComplated | boolean |
None. |
|
WarehouseID | globally unique identifier |
None. |
|
CountsAreDetailUpdateDto | Collection of CountsAreDetailUpdateDto |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "totalAmount": 2.1, "date": "2025-05-24T14:57:22.2680835+03:00", "description": "sample string 4", "endDate": "2025-05-24T14:57:22.2680835+03:00", "isComplated": true, "warehouseID": "7790d037-232d-4512-bcd8-fe227cc0bced", "countsAreDetailUpdateDto": [ { "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "ef82d3a4-2145-4008-bc8e-7af3446bfb5d", "countsAreID": "58728d4d-b15b-4c26-9e8b-95450fdf184f", "id": "92f07ce6-faf8-4878-b00f-6b478efa0a29", "companyID": "a49a5989-fe79-4717-b3b2-3cf748c9750d" }, { "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "ef82d3a4-2145-4008-bc8e-7af3446bfb5d", "countsAreID": "58728d4d-b15b-4c26-9e8b-95450fdf184f", "id": "92f07ce6-faf8-4878-b00f-6b478efa0a29", "companyID": "a49a5989-fe79-4717-b3b2-3cf748c9750d" } ], "id": "2ab9de5a-0600-4c20-a5f9-8c2a1621280a", "companyID": "c02e4469-353f-4176-99b8-04a38b5949a3" }
application/xml, text/xml
Sample:
<CountsAreUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>c02e4469-353f-4176-99b8-04a38b5949a3</CompanyID> <ID>2ab9de5a-0600-4c20-a5f9-8c2a1621280a</ID> <Code>sample string 1</Code> <CountsAreDetailUpdateDto> <CountsAreDetailUpdateDto> <CompanyID>a49a5989-fe79-4717-b3b2-3cf748c9750d</CompanyID> <ID>92f07ce6-faf8-4878-b00f-6b478efa0a29</ID> <CountsAreID>58728d4d-b15b-4c26-9e8b-95450fdf184f</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>ef82d3a4-2145-4008-bc8e-7af3446bfb5d</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto> <CountsAreDetailUpdateDto> <CompanyID>a49a5989-fe79-4717-b3b2-3cf748c9750d</CompanyID> <ID>92f07ce6-faf8-4878-b00f-6b478efa0a29</ID> <CountsAreID>58728d4d-b15b-4c26-9e8b-95450fdf184f</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>ef82d3a4-2145-4008-bc8e-7af3446bfb5d</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto> </CountsAreDetailUpdateDto> <Date>2025-05-24T14:57:22.2680835+03:00</Date> <Description>sample string 4</Description> <EndDate>2025-05-24T14:57:22.2680835+03:00</EndDate> <IsComplated>true</IsComplated> <TotalAmount>2.1</TotalAmount> <WarehouseID>7790d037-232d-4512-bcd8-fe227cc0bced</WarehouseID> </CountsAreUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"code":"sample string 1","totalAmount":2.1,"date":"2025-05-24T14:57:22.2680835+03:00","description":"sample string 4","endDate":"2025-05-24T14:57:22.2680835+03:00","isComplated":true,"warehouseID":"7790d037-232d-4512-bcd8-fe227cc0bced","countsAreDetailUpdateDto":[{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"ef82d3a4-2145-4008-bc8e-7af3446bfb5d","countsAreID":"58728d4d-b15b-4c26-9e8b-95450fdf184f","id":"92f07ce6-faf8-4878-b00f-6b478efa0a29","companyID":"a49a5989-fe79-4717-b3b2-3cf748c9750d"},{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"ef82d3a4-2145-4008-bc8e-7af3446bfb5d","countsAreID":"58728d4d-b15b-4c26-9e8b-95450fdf184f","id":"92f07ce6-faf8-4878-b00f-6b478efa0a29","companyID":"a49a5989-fe79-4717-b3b2-3cf748c9750d"}],"id":"2ab9de5a-0600-4c20-a5f9-8c2a1621280a","companyID":"c02e4469-353f-4176-99b8-04a38b5949a3"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.