POST 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-07-08T21:27:31.8323506+03:00", "description": "sample string 2", "amount": 3.0, "quantity": 4.1, "warehouseID": "906fab56-8efb-47b0-94f5-cc61b44e86f0", "productID": "71d8fd75-f564-4577-8e40-4410d290f654", "unitID": "dd4fd5ba-fd38-44cb-89f4-bac15fc22d99", "productionDetails": [ { "currencyAmount": 1.1, "currencyRate": 2.1, "quantity": 3.1, "amount": 4.0, "totalAmount": 5.0, "description": "sample string 6", "productID": "ee36a429-31ed-4943-9772-8c253b31a8a3", "warehouseID": "64c332fa-17bd-445a-8e87-1d08e889d2b1", "productionID": "960e4440-d26a-4b23-839c-7045ad2ccf7d", "id": "22d5c388-247a-4aaf-9f58-a5fd57668506", "companyID": "41a6e1b6-9e6e-427f-81f5-02d2cdeeff79" }, { "currencyAmount": 1.1, "currencyRate": 2.1, "quantity": 3.1, "amount": 4.0, "totalAmount": 5.0, "description": "sample string 6", "productID": "ee36a429-31ed-4943-9772-8c253b31a8a3", "warehouseID": "64c332fa-17bd-445a-8e87-1d08e889d2b1", "productionID": "960e4440-d26a-4b23-839c-7045ad2ccf7d", "id": "22d5c388-247a-4aaf-9f58-a5fd57668506", "companyID": "41a6e1b6-9e6e-427f-81f5-02d2cdeeff79" } ], "id": "f3512eaf-837d-4fc7-b8e0-d52c85c5e391", "companyID": "cafcbd93-c2cc-4733-b3b2-422b8f2e0baa" }
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>cafcbd93-c2cc-4733-b3b2-422b8f2e0baa</CompanyID> <ID>f3512eaf-837d-4fc7-b8e0-d52c85c5e391</ID> <Amount>3</Amount> <Description>sample string 2</Description> <ProductID>71d8fd75-f564-4577-8e40-4410d290f654</ProductID> <ProductionDate>2025-07-08T21:27:31.8323506+03:00</ProductionDate> <ProductionDetails> <ProductionDetailUpdateDto> <CompanyID>41a6e1b6-9e6e-427f-81f5-02d2cdeeff79</CompanyID> <ID>22d5c388-247a-4aaf-9f58-a5fd57668506</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>ee36a429-31ed-4943-9772-8c253b31a8a3</ProductID> <ProductionID>960e4440-d26a-4b23-839c-7045ad2ccf7d</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>64c332fa-17bd-445a-8e87-1d08e889d2b1</WarehouseID> </ProductionDetailUpdateDto> <ProductionDetailUpdateDto> <CompanyID>41a6e1b6-9e6e-427f-81f5-02d2cdeeff79</CompanyID> <ID>22d5c388-247a-4aaf-9f58-a5fd57668506</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>ee36a429-31ed-4943-9772-8c253b31a8a3</ProductID> <ProductionID>960e4440-d26a-4b23-839c-7045ad2ccf7d</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>64c332fa-17bd-445a-8e87-1d08e889d2b1</WarehouseID> </ProductionDetailUpdateDto> </ProductionDetails> <Quantity>4.1</Quantity> <UnitID>dd4fd5ba-fd38-44cb-89f4-bac15fc22d99</UnitID> <WarehouseID>906fab56-8efb-47b0-94f5-cc61b44e86f0</WarehouseID> </ProductionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"productionDate":"2025-07-08T21:27:31.8323506+03:00","description":"sample string 2","amount":3.0,"quantity":4.1,"warehouseID":"906fab56-8efb-47b0-94f5-cc61b44e86f0","productID":"71d8fd75-f564-4577-8e40-4410d290f654","unitID":"dd4fd5ba-fd38-44cb-89f4-bac15fc22d99","productionDetails":[{"currencyAmount":1.1,"currencyRate":2.1,"quantity":3.1,"amount":4.0,"totalAmount":5.0,"description":"sample string 6","productID":"ee36a429-31ed-4943-9772-8c253b31a8a3","warehouseID":"64c332fa-17bd-445a-8e87-1d08e889d2b1","productionID":"960e4440-d26a-4b23-839c-7045ad2ccf7d","id":"22d5c388-247a-4aaf-9f58-a5fd57668506","companyID":"41a6e1b6-9e6e-427f-81f5-02d2cdeeff79"},{"currencyAmount":1.1,"currencyRate":2.1,"quantity":3.1,"amount":4.0,"totalAmount":5.0,"description":"sample string 6","productID":"ee36a429-31ed-4943-9772-8c253b31a8a3","warehouseID":"64c332fa-17bd-445a-8e87-1d08e889d2b1","productionID":"960e4440-d26a-4b23-839c-7045ad2ccf7d","id":"22d5c388-247a-4aaf-9f58-a5fd57668506","companyID":"41a6e1b6-9e6e-427f-81f5-02d2cdeeff79"}],"id":"f3512eaf-837d-4fc7-b8e0-d52c85c5e391","companyID":"cafcbd93-c2cc-4733-b3b2-422b8f2e0baa"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.