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-07-08T21:37:23.4558036+03:00", "description": "sample string 4", "endDate": "2025-07-08T21:37:23.4558036+03:00", "isComplated": true, "warehouseID": "045b9c5f-2b7b-4e58-900d-31f8723b5e97", "countsAreDetailUpdateDto": [ { "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "d5806e09-07c6-4270-b559-bdda4cf89d41", "countsAreID": "34a952de-5fc5-4b51-89f3-3f92ce751845", "id": "f0b09ca5-2228-45d1-a8b5-3695fc424f4f", "companyID": "729c2d08-eb7e-495e-8a73-2e3e9f41227a" }, { "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "d5806e09-07c6-4270-b559-bdda4cf89d41", "countsAreID": "34a952de-5fc5-4b51-89f3-3f92ce751845", "id": "f0b09ca5-2228-45d1-a8b5-3695fc424f4f", "companyID": "729c2d08-eb7e-495e-8a73-2e3e9f41227a" } ], "id": "992c8747-3d92-47b2-978b-a4fa8120e4b0", "companyID": "b03d62dc-1676-4776-b374-4daf18c5e371" }
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>b03d62dc-1676-4776-b374-4daf18c5e371</CompanyID> <ID>992c8747-3d92-47b2-978b-a4fa8120e4b0</ID> <Code>sample string 1</Code> <CountsAreDetailUpdateDto> <CountsAreDetailUpdateDto> <CompanyID>729c2d08-eb7e-495e-8a73-2e3e9f41227a</CompanyID> <ID>f0b09ca5-2228-45d1-a8b5-3695fc424f4f</ID> <CountsAreID>34a952de-5fc5-4b51-89f3-3f92ce751845</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>d5806e09-07c6-4270-b559-bdda4cf89d41</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto> <CountsAreDetailUpdateDto> <CompanyID>729c2d08-eb7e-495e-8a73-2e3e9f41227a</CompanyID> <ID>f0b09ca5-2228-45d1-a8b5-3695fc424f4f</ID> <CountsAreID>34a952de-5fc5-4b51-89f3-3f92ce751845</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>d5806e09-07c6-4270-b559-bdda4cf89d41</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto> </CountsAreDetailUpdateDto> <Date>2025-07-08T21:37:23.4558036+03:00</Date> <Description>sample string 4</Description> <EndDate>2025-07-08T21:37:23.4558036+03:00</EndDate> <IsComplated>true</IsComplated> <TotalAmount>2.1</TotalAmount> <WarehouseID>045b9c5f-2b7b-4e58-900d-31f8723b5e97</WarehouseID> </CountsAreUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"code":"sample string 1","totalAmount":2.1,"date":"2025-07-08T21:37:23.4558036+03:00","description":"sample string 4","endDate":"2025-07-08T21:37:23.4558036+03:00","isComplated":true,"warehouseID":"045b9c5f-2b7b-4e58-900d-31f8723b5e97","countsAreDetailUpdateDto":[{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"d5806e09-07c6-4270-b559-bdda4cf89d41","countsAreID":"34a952de-5fc5-4b51-89f3-3f92ce751845","id":"f0b09ca5-2228-45d1-a8b5-3695fc424f4f","companyID":"729c2d08-eb7e-495e-8a73-2e3e9f41227a"},{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"d5806e09-07c6-4270-b559-bdda4cf89d41","countsAreID":"34a952de-5fc5-4b51-89f3-3f92ce751845","id":"f0b09ca5-2228-45d1-a8b5-3695fc424f4f","companyID":"729c2d08-eb7e-495e-8a73-2e3e9f41227a"}],"id":"992c8747-3d92-47b2-978b-a4fa8120e4b0","companyID":"b03d62dc-1676-4776-b374-4daf18c5e371"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.