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": "710e2bfe-181f-4c58-a06e-c328c4dbc3fc", "warehouseID": "abddbe96-58a1-4a9d-b66a-5474e5a12a4d", "productionID": "29d29449-da47-467d-96b6-979be92ea7e8", "id": "72fc4bb6-6440-4f0e-8d9e-c0b4f513438d", "companyID": "78270bdc-cf8b-41a9-87a2-1ee259df0ab5" }
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>78270bdc-cf8b-41a9-87a2-1ee259df0ab5</CompanyID> <ID>72fc4bb6-6440-4f0e-8d9e-c0b4f513438d</ID> <Amount>4</Amount> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>710e2bfe-181f-4c58-a06e-c328c4dbc3fc</ProductID> <ProductionID>29d29449-da47-467d-96b6-979be92ea7e8</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>abddbe96-58a1-4a9d-b66a-5474e5a12a4d</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":"710e2bfe-181f-4c58-a06e-c328c4dbc3fc","warehouseID":"abddbe96-58a1-4a9d-b66a-5474e5a12a4d","productionID":"29d29449-da47-467d-96b6-979be92ea7e8","id":"72fc4bb6-6440-4f0e-8d9e-c0b4f513438d","companyID":"78270bdc-cf8b-41a9-87a2-1ee259df0ab5"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.