PUT 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:52.1824537+03:00", "description": "sample string 4", "endDate": "2025-08-29T12:26:52.1824537+03:00", "isComplated": true, "warehouseID": "234c5d8f-95a7-4a18-99a9-0e83efe3389c", "countsAreDetailUpdateDto": [ { "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "5f0b479f-c203-47a2-a8eb-a3a1f1de9c65", "countsAreID": "6731d95e-36a8-4b9e-a308-4e69ca7b12f5", "id": "32b73869-0721-440b-af1e-7830bf1e7bf4", "companyID": "140943c4-231b-4b58-9ba2-8a7646de0c45" }, { "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "5f0b479f-c203-47a2-a8eb-a3a1f1de9c65", "countsAreID": "6731d95e-36a8-4b9e-a308-4e69ca7b12f5", "id": "32b73869-0721-440b-af1e-7830bf1e7bf4", "companyID": "140943c4-231b-4b58-9ba2-8a7646de0c45" } ], "id": "75548843-ad61-4fc2-bd24-475a2e51dba2", "companyID": "39aac5ca-2daf-4063-9e66-65259fb13909" }
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>39aac5ca-2daf-4063-9e66-65259fb13909</CompanyID> <ID>75548843-ad61-4fc2-bd24-475a2e51dba2</ID> <Code>sample string 1</Code> <CountsAreDetailUpdateDto> <CountsAreDetailUpdateDto> <CompanyID>140943c4-231b-4b58-9ba2-8a7646de0c45</CompanyID> <ID>32b73869-0721-440b-af1e-7830bf1e7bf4</ID> <CountsAreID>6731d95e-36a8-4b9e-a308-4e69ca7b12f5</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>5f0b479f-c203-47a2-a8eb-a3a1f1de9c65</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto> <CountsAreDetailUpdateDto> <CompanyID>140943c4-231b-4b58-9ba2-8a7646de0c45</CompanyID> <ID>32b73869-0721-440b-af1e-7830bf1e7bf4</ID> <CountsAreID>6731d95e-36a8-4b9e-a308-4e69ca7b12f5</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>5f0b479f-c203-47a2-a8eb-a3a1f1de9c65</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto> </CountsAreDetailUpdateDto> <Date>2025-08-29T12:26:52.1824537+03:00</Date> <Description>sample string 4</Description> <EndDate>2025-08-29T12:26:52.1824537+03:00</EndDate> <IsComplated>true</IsComplated> <TotalAmount>2.1</TotalAmount> <WarehouseID>234c5d8f-95a7-4a18-99a9-0e83efe3389c</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:52.1824537+03:00","description":"sample string 4","endDate":"2025-08-29T12:26:52.1824537+03:00","isComplated":true,"warehouseID":"234c5d8f-95a7-4a18-99a9-0e83efe3389c","countsAreDetailUpdateDto":[{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"5f0b479f-c203-47a2-a8eb-a3a1f1de9c65","countsAreID":"6731d95e-36a8-4b9e-a308-4e69ca7b12f5","id":"32b73869-0721-440b-af1e-7830bf1e7bf4","companyID":"140943c4-231b-4b58-9ba2-8a7646de0c45"},{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"5f0b479f-c203-47a2-a8eb-a3a1f1de9c65","countsAreID":"6731d95e-36a8-4b9e-a308-4e69ca7b12f5","id":"32b73869-0721-440b-af1e-7830bf1e7bf4","companyID":"140943c4-231b-4b58-9ba2-8a7646de0c45"}],"id":"75548843-ad61-4fc2-bd24-475a2e51dba2","companyID":"39aac5ca-2daf-4063-9e66-65259fb13909"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.