PUT api/ProductionDetail/Update
Request Information
URI Parameters
None.
Body Parameters
ProductionDetailUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
CurrencyAmount | decimal number |
None. |
|
CurrencyRate | decimal number |
None. |
|
Quantity | decimal number |
None. |
|
Amount | decimal number |
None. |
|
TotalAmount | decimal number |
None. |
|
Description | string |
None. |
|
ProductID | globally unique identifier |
None. |
|
WarehouseID | globally unique identifier |
None. |
|
ProductionID | globally unique identifier |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "currencyAmount": 1.1, "currencyRate": 2.1, "quantity": 3.1, "amount": 4.0, "totalAmount": 5.0, "description": "sample string 6", "productID": "24b390cc-99ae-499f-9143-edf6702a5c75", "warehouseID": "7fed6d82-7c0a-4a62-8cca-d748343cdec7", "productionID": "8e5270bb-0c6e-4431-8cb7-5904cd065bdd", "id": "921c9b6d-02c1-41e7-86bb-097e741e7814", "companyID": "3b28242c-bc97-460a-966a-db4ded64e225" }
application/xml, text/xml
Sample:
<ProductionDetailUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>3b28242c-bc97-460a-966a-db4ded64e225</CompanyID> <ID>921c9b6d-02c1-41e7-86bb-097e741e7814</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>24b390cc-99ae-499f-9143-edf6702a5c75</ProductID> <ProductionID>8e5270bb-0c6e-4431-8cb7-5904cd065bdd</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>7fed6d82-7c0a-4a62-8cca-d748343cdec7</WarehouseID> </ProductionDetailUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"currencyAmount":1.1,"currencyRate":2.1,"quantity":3.1,"amount":4.0,"totalAmount":5.0,"description":"sample string 6","productID":"24b390cc-99ae-499f-9143-edf6702a5c75","warehouseID":"7fed6d82-7c0a-4a62-8cca-d748343cdec7","productionID":"8e5270bb-0c6e-4431-8cb7-5904cd065bdd","id":"921c9b6d-02c1-41e7-86bb-097e741e7814","companyID":"3b28242c-bc97-460a-966a-db4ded64e225"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.