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": "f1c1f20c-3a49-4293-9e1d-a4939220bd97", "warehouseID": "62692729-ce6e-410c-87b0-0b78a7f66484", "productionID": "95a5af56-1fa1-46cd-b374-3c105a459bd9", "companyID": "a79047c9-204e-4c48-be4f-9350828511f4" }
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>a79047c9-204e-4c48-be4f-9350828511f4</CompanyID> <CurrencyAmount>1.1</CurrencyAmount> <CurrencyRate>2.1</CurrencyRate> <Description>sample string 6</Description> <ProductID>f1c1f20c-3a49-4293-9e1d-a4939220bd97</ProductID> <ProductionID>95a5af56-1fa1-46cd-b374-3c105a459bd9</ProductionID> <Quantity>3.1</Quantity> <TotalAmount>5</TotalAmount> <WarehouseID>62692729-ce6e-410c-87b0-0b78a7f66484</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":"f1c1f20c-3a49-4293-9e1d-a4939220bd97","warehouseID":"62692729-ce6e-410c-87b0-0b78a7f66484","productionID":"95a5af56-1fa1-46cd-b374-3c105a459bd9","companyID":"a79047c9-204e-4c48-be4f-9350828511f4"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.