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-29T12:25:43.948078+03:00", "description": "sample string 2", "amount": 3.0, "quantity": 4.1, "warehouseID": "590bc0a3-9489-4453-b333-565f814bbf51", "productID": "72dae8c2-593f-4738-b76c-5fc0db445d1e", "unitID": "8190d7c1-d43b-4905-9bbf-06de0ba24c24", "productionDetails": [ { "currencyAmount": 1.1, "currencyRate": 2.1, "quantity": 3.1, "amount": 4.0, "totalAmount": 5.0, "description": "sample string 6", "productID": "be5816b6-bd2b-4618-9f2b-d0b82c2a9df7", "warehouseID": "6d753c77-751b-469c-9215-35e067f464b2", "productionID": "386eb28a-6491-4ca6-af08-41bc7ddedb9b", "id": "ce9d7e49-0226-4f1f-930b-eb47b406260d", "companyID": "2b558a44-7379-47ce-ab2c-ed4a41af95e5" }, { "currencyAmount": 1.1, "currencyRate": 2.1, "quantity": 3.1, "amount": 4.0, "totalAmount": 5.0, "description": "sample string 6", "productID": "be5816b6-bd2b-4618-9f2b-d0b82c2a9df7", "warehouseID": "6d753c77-751b-469c-9215-35e067f464b2", "productionID": "386eb28a-6491-4ca6-af08-41bc7ddedb9b", "id": "ce9d7e49-0226-4f1f-930b-eb47b406260d", "companyID": "2b558a44-7379-47ce-ab2c-ed4a41af95e5" } ], "id": "530c3b4d-e2ef-4f3b-88db-05e0d299114f", "companyID": "fc7a7a13-e7c5-4321-a6e9-8bb51fddddad" }
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>fc7a7a13-e7c5-4321-a6e9-8bb51fddddad</CompanyID> <ID>530c3b4d-e2ef-4f3b-88db-05e0d299114f</ID> <Amount>3</Amount> <Description>sample string 2</Description> <ProductID>72dae8c2-593f-4738-b76c-5fc0db445d1e</ProductID> <ProductionDate>2025-08-29T12:25:43.948078+03:00</ProductionDate> <ProductionDetails> <ProductionDetailUpdateDto> <CompanyID>2b558a44-7379-47ce-ab2c-ed4a41af95e5</CompanyID> <ID>ce9d7e49-0226-4f1f-930b-eb47b406260d</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>be5816b6-bd2b-4618-9f2b-d0b82c2a9df7</ProductID> <ProductionID>386eb28a-6491-4ca6-af08-41bc7ddedb9b</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>6d753c77-751b-469c-9215-35e067f464b2</WarehouseID> </ProductionDetailUpdateDto> <ProductionDetailUpdateDto> <CompanyID>2b558a44-7379-47ce-ab2c-ed4a41af95e5</CompanyID> <ID>ce9d7e49-0226-4f1f-930b-eb47b406260d</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>be5816b6-bd2b-4618-9f2b-d0b82c2a9df7</ProductID> <ProductionID>386eb28a-6491-4ca6-af08-41bc7ddedb9b</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>6d753c77-751b-469c-9215-35e067f464b2</WarehouseID> </ProductionDetailUpdateDto> </ProductionDetails> <Quantity>4.1</Quantity> <UnitID>8190d7c1-d43b-4905-9bbf-06de0ba24c24</UnitID> <WarehouseID>590bc0a3-9489-4453-b333-565f814bbf51</WarehouseID> </ProductionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"productionDate":"2025-08-29T12:25:43.948078+03:00","description":"sample string 2","amount":3.0,"quantity":4.1,"warehouseID":"590bc0a3-9489-4453-b333-565f814bbf51","productID":"72dae8c2-593f-4738-b76c-5fc0db445d1e","unitID":"8190d7c1-d43b-4905-9bbf-06de0ba24c24","productionDetails":[{"currencyAmount":1.1,"currencyRate":2.1,"quantity":3.1,"amount":4.0,"totalAmount":5.0,"description":"sample string 6","productID":"be5816b6-bd2b-4618-9f2b-d0b82c2a9df7","warehouseID":"6d753c77-751b-469c-9215-35e067f464b2","productionID":"386eb28a-6491-4ca6-af08-41bc7ddedb9b","id":"ce9d7e49-0226-4f1f-930b-eb47b406260d","companyID":"2b558a44-7379-47ce-ab2c-ed4a41af95e5"},{"currencyAmount":1.1,"currencyRate":2.1,"quantity":3.1,"amount":4.0,"totalAmount":5.0,"description":"sample string 6","productID":"be5816b6-bd2b-4618-9f2b-d0b82c2a9df7","warehouseID":"6d753c77-751b-469c-9215-35e067f464b2","productionID":"386eb28a-6491-4ca6-af08-41bc7ddedb9b","id":"ce9d7e49-0226-4f1f-930b-eb47b406260d","companyID":"2b558a44-7379-47ce-ab2c-ed4a41af95e5"}],"id":"530c3b4d-e2ef-4f3b-88db-05e0d299114f","companyID":"fc7a7a13-e7c5-4321-a6e9-8bb51fddddad"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.