PUT api/Production/Update
Request Information
URI Parameters
None.
Body Parameters
ProductionUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
ProductionDate | date |
None. |
|
Description | string |
None. |
|
Amount | decimal number |
None. |
|
Quantity | decimal number |
None. |
|
WarehouseID | globally unique identifier |
None. |
|
ProductID | globally unique identifier |
None. |
|
UnitID | globally unique identifier |
None. |
|
ProductionDetails | Collection of ProductionDetailUpdateDto |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "productionDate": "2025-08-04T22:51:43.2205143+03:00", "description": "sample string 2", "amount": 3.0, "quantity": 4.1, "warehouseID": "61ab1b5f-521b-474f-86a1-86cfb0b0d47e", "productID": "e7c58e54-5693-4593-bf03-49a5d82479ce", "unitID": "dbf100f7-0114-417c-ab6e-310955d96f72", "productionDetails": [ { "currencyAmount": 1.1, "currencyRate": 2.1, "quantity": 3.1, "amount": 4.0, "totalAmount": 5.0, "description": "sample string 6", "productID": "6dcaff99-a3d4-4f8b-a0ed-fb3dccccd333", "warehouseID": "67c7c414-a68f-4636-a75e-da035e8aa98a", "productionID": "d4e2d634-d058-4989-ae32-967e4a3557a6", "id": "2555ef40-9f65-4ed0-b71f-8bb8a68025ff", "companyID": "da97eeed-1b27-4356-af1d-fd4d9db3fedd" }, { "currencyAmount": 1.1, "currencyRate": 2.1, "quantity": 3.1, "amount": 4.0, "totalAmount": 5.0, "description": "sample string 6", "productID": "6dcaff99-a3d4-4f8b-a0ed-fb3dccccd333", "warehouseID": "67c7c414-a68f-4636-a75e-da035e8aa98a", "productionID": "d4e2d634-d058-4989-ae32-967e4a3557a6", "id": "2555ef40-9f65-4ed0-b71f-8bb8a68025ff", "companyID": "da97eeed-1b27-4356-af1d-fd4d9db3fedd" } ], "id": "8581fed6-a350-4f8e-84ef-bfb9be739553", "companyID": "049c02bc-f62e-4cdb-919a-ee56cf93390e" }
application/xml, text/xml
Sample:
<ProductionUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>049c02bc-f62e-4cdb-919a-ee56cf93390e</CompanyID> <ID>8581fed6-a350-4f8e-84ef-bfb9be739553</ID> <Amount>3</Amount> <Description>sample string 2</Description> <ProductID>e7c58e54-5693-4593-bf03-49a5d82479ce</ProductID> <ProductionDate>2025-08-04T22:51:43.2205143+03:00</ProductionDate> <ProductionDetails> <ProductionDetailUpdateDto> <CompanyID>da97eeed-1b27-4356-af1d-fd4d9db3fedd</CompanyID> <ID>2555ef40-9f65-4ed0-b71f-8bb8a68025ff</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>6dcaff99-a3d4-4f8b-a0ed-fb3dccccd333</ProductID> <ProductionID>d4e2d634-d058-4989-ae32-967e4a3557a6</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>67c7c414-a68f-4636-a75e-da035e8aa98a</WarehouseID> </ProductionDetailUpdateDto> <ProductionDetailUpdateDto> <CompanyID>da97eeed-1b27-4356-af1d-fd4d9db3fedd</CompanyID> <ID>2555ef40-9f65-4ed0-b71f-8bb8a68025ff</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>6dcaff99-a3d4-4f8b-a0ed-fb3dccccd333</ProductID> <ProductionID>d4e2d634-d058-4989-ae32-967e4a3557a6</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>67c7c414-a68f-4636-a75e-da035e8aa98a</WarehouseID> </ProductionDetailUpdateDto> </ProductionDetails> <Quantity>4.1</Quantity> <UnitID>dbf100f7-0114-417c-ab6e-310955d96f72</UnitID> <WarehouseID>61ab1b5f-521b-474f-86a1-86cfb0b0d47e</WarehouseID> </ProductionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"productionDate":"2025-08-04T22:51:43.2205143+03:00","description":"sample string 2","amount":3.0,"quantity":4.1,"warehouseID":"61ab1b5f-521b-474f-86a1-86cfb0b0d47e","productID":"e7c58e54-5693-4593-bf03-49a5d82479ce","unitID":"dbf100f7-0114-417c-ab6e-310955d96f72","productionDetails":[{"currencyAmount":1.1,"currencyRate":2.1,"quantity":3.1,"amount":4.0,"totalAmount":5.0,"description":"sample string 6","productID":"6dcaff99-a3d4-4f8b-a0ed-fb3dccccd333","warehouseID":"67c7c414-a68f-4636-a75e-da035e8aa98a","productionID":"d4e2d634-d058-4989-ae32-967e4a3557a6","id":"2555ef40-9f65-4ed0-b71f-8bb8a68025ff","companyID":"da97eeed-1b27-4356-af1d-fd4d9db3fedd"},{"currencyAmount":1.1,"currencyRate":2.1,"quantity":3.1,"amount":4.0,"totalAmount":5.0,"description":"sample string 6","productID":"6dcaff99-a3d4-4f8b-a0ed-fb3dccccd333","warehouseID":"67c7c414-a68f-4636-a75e-da035e8aa98a","productionID":"d4e2d634-d058-4989-ae32-967e4a3557a6","id":"2555ef40-9f65-4ed0-b71f-8bb8a68025ff","companyID":"da97eeed-1b27-4356-af1d-fd4d9db3fedd"}],"id":"8581fed6-a350-4f8e-84ef-bfb9be739553","companyID":"049c02bc-f62e-4cdb-919a-ee56cf93390e"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.