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": "a0498017-db95-4019-8912-2a21ca02a84e", "warehouseID": "72e173c3-bae1-48a4-a06b-3f6c0ccf1838", "productionID": "2f02cfc0-451a-4a8f-a1b5-1b1e8facc92d", "id": "20274946-5fbc-4b72-8df2-e33ed9c1d1c4", "companyID": "21be72b9-48f5-4408-b933-eea065cd0c8e" }
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>21be72b9-48f5-4408-b933-eea065cd0c8e</CompanyID> <ID>20274946-5fbc-4b72-8df2-e33ed9c1d1c4</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>a0498017-db95-4019-8912-2a21ca02a84e</ProductID> <ProductionID>2f02cfc0-451a-4a8f-a1b5-1b1e8facc92d</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>72e173c3-bae1-48a4-a06b-3f6c0ccf1838</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":"a0498017-db95-4019-8912-2a21ca02a84e","warehouseID":"72e173c3-bae1-48a4-a06b-3f6c0ccf1838","productionID":"2f02cfc0-451a-4a8f-a1b5-1b1e8facc92d","id":"20274946-5fbc-4b72-8df2-e33ed9c1d1c4","companyID":"21be72b9-48f5-4408-b933-eea065cd0c8e"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.