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-08-29T12:26:53.088712+03:00", "description": "sample string 4", "endDate": "2025-08-29T12:26:53.088712+03:00", "isComplated": true, "warehouseID": "c796fd8d-c654-463f-9fcb-f2e1181e3fb4", "countsAreDetailUpdateDto": [ { "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "eb5404be-d169-4b8f-b067-19de7a117ad7", "countsAreID": "292fc615-9cbb-435e-8a3b-c67fbd9ae5d2", "id": "25337a48-b5cf-4b52-b5ee-917ac497aabe", "companyID": "f7f07c58-f55e-4e55-a492-796ea7eea2df" }, { "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "eb5404be-d169-4b8f-b067-19de7a117ad7", "countsAreID": "292fc615-9cbb-435e-8a3b-c67fbd9ae5d2", "id": "25337a48-b5cf-4b52-b5ee-917ac497aabe", "companyID": "f7f07c58-f55e-4e55-a492-796ea7eea2df" } ], "id": "903f40fe-9929-4c5a-85a0-5e0974cbc9ee", "companyID": "ce53d7ce-7d97-4928-9a29-9176e0c022b6" }
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>ce53d7ce-7d97-4928-9a29-9176e0c022b6</CompanyID> <ID>903f40fe-9929-4c5a-85a0-5e0974cbc9ee</ID> <Code>sample string 1</Code> <CountsAreDetailUpdateDto> <CountsAreDetailUpdateDto> <CompanyID>f7f07c58-f55e-4e55-a492-796ea7eea2df</CompanyID> <ID>25337a48-b5cf-4b52-b5ee-917ac497aabe</ID> <CountsAreID>292fc615-9cbb-435e-8a3b-c67fbd9ae5d2</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>eb5404be-d169-4b8f-b067-19de7a117ad7</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto> <CountsAreDetailUpdateDto> <CompanyID>f7f07c58-f55e-4e55-a492-796ea7eea2df</CompanyID> <ID>25337a48-b5cf-4b52-b5ee-917ac497aabe</ID> <CountsAreID>292fc615-9cbb-435e-8a3b-c67fbd9ae5d2</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>eb5404be-d169-4b8f-b067-19de7a117ad7</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto> </CountsAreDetailUpdateDto> <Date>2025-08-29T12:26:53.088712+03:00</Date> <Description>sample string 4</Description> <EndDate>2025-08-29T12:26:53.088712+03:00</EndDate> <IsComplated>true</IsComplated> <TotalAmount>2.1</TotalAmount> <WarehouseID>c796fd8d-c654-463f-9fcb-f2e1181e3fb4</WarehouseID> </CountsAreUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"code":"sample string 1","totalAmount":2.1,"date":"2025-08-29T12:26:53.088712+03:00","description":"sample string 4","endDate":"2025-08-29T12:26:53.088712+03:00","isComplated":true,"warehouseID":"c796fd8d-c654-463f-9fcb-f2e1181e3fb4","countsAreDetailUpdateDto":[{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"eb5404be-d169-4b8f-b067-19de7a117ad7","countsAreID":"292fc615-9cbb-435e-8a3b-c67fbd9ae5d2","id":"25337a48-b5cf-4b52-b5ee-917ac497aabe","companyID":"f7f07c58-f55e-4e55-a492-796ea7eea2df"},{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"eb5404be-d169-4b8f-b067-19de7a117ad7","countsAreID":"292fc615-9cbb-435e-8a3b-c67fbd9ae5d2","id":"25337a48-b5cf-4b52-b5ee-917ac497aabe","companyID":"f7f07c58-f55e-4e55-a492-796ea7eea2df"}],"id":"903f40fe-9929-4c5a-85a0-5e0974cbc9ee","companyID":"ce53d7ce-7d97-4928-9a29-9176e0c022b6"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.