POST api/ProductionDetail/Add
Request Information
URI Parameters
None.
Body Parameters
ProductionDetailAddDtoName | 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. |
|
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": "81a60553-bda7-49ed-87df-cb2f8b005655", "warehouseID": "d929dcd1-a6a2-4b60-9dca-9bbf910b1f6c", "productionID": "6a4dbdc8-4e07-47a5-a2a4-fda96f68b53f", "companyID": "0e2a6f86-cffc-4bb7-9e0b-d91f1fcb6242" }
application/xml, text/xml
Sample:
<ProductionDetailAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <Amount>4</Amount> <CompanyID>0e2a6f86-cffc-4bb7-9e0b-d91f1fcb6242</CompanyID> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>81a60553-bda7-49ed-87df-cb2f8b005655</ProductID> <ProductionID>6a4dbdc8-4e07-47a5-a2a4-fda96f68b53f</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>d929dcd1-a6a2-4b60-9dca-9bbf910b1f6c</WarehouseID> </ProductionDetailAddDto>
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":"81a60553-bda7-49ed-87df-cb2f8b005655","warehouseID":"d929dcd1-a6a2-4b60-9dca-9bbf910b1f6c","productionID":"6a4dbdc8-4e07-47a5-a2a4-fda96f68b53f","companyID":"0e2a6f86-cffc-4bb7-9e0b-d91f1fcb6242"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.