POST api/ProductStockActionDetail/Add
Request Information
URI Parameters
None.
Body Parameters
ProductStockActionDetailAddDtoName | Description | Type | Additional information |
---|---|---|---|
CurrencyRate | decimal number |
None. |
|
Quantity | decimal number |
None. |
|
Amount | decimal number |
None. |
|
DiscountRate | decimal number |
None. |
|
DiscountAmount | decimal number |
None. |
|
DiscountedUnitPrice | decimal number |
None. |
|
DiscountedTotalPrice | decimal number |
None. |
|
IsDiscountPercentage | boolean |
None. |
|
TotalAmount | decimal number |
None. |
|
KDV | KDV |
None. |
|
KDVAmount | decimal number |
None. |
|
OIV | decimal number |
None. |
|
OIVAmount | decimal number |
None. |
|
OTV | decimal number |
None. |
|
OTVAmount | decimal number |
None. |
|
IsOTVPercentage | boolean |
None. |
|
TheWithholdingID | globally unique identifier |
None. |
|
TheWithholdingAmount | decimal number |
None. |
|
NoKDVReasonID | globally unique identifier |
None. |
|
UnitID | globally unique identifier |
None. |
|
CurrencyID | globally unique identifier |
None. |
|
ProductID | globally unique identifier |
None. |
|
ProductStockActionID | globally unique identifier |
None. |
|
EntryWarehouseID | globally unique identifier |
None. |
|
ExitWarehouseID | globally unique identifier |
None. |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "currencyRate": 1.1, "quantity": 2.1, "amount": 3.1, "discountRate": 4.1, "discountAmount": 5.1, "discountedUnitPrice": 6.1, "discountedTotalPrice": 7.1, "isDiscountPercentage": true, "totalAmount": 9.1, "kdv": 0, "kdvAmount": 10.1, "oiv": 11.1, "oivAmount": 12.1, "otv": 13.1, "otvAmount": 14.1, "isOTVPercentage": true, "theWithholdingID": "bb3794b2-0440-4017-b5b9-b632b90a48b8", "theWithholdingAmount": 16.1, "noKDVReasonID": "47d47ae5-b297-422e-bce1-83124860f1eb", "unitID": "a008fa89-71f0-4a60-aea7-c6c847473aef", "currencyID": "ec699fe5-66c8-402f-a811-dfc82325478e", "productID": "f8d003c1-4512-472c-a6ec-917b9e53b786", "productStockActionID": "d1169aab-6460-4a78-aa41-6c53d67fa927", "entryWarehouseID": "e7c67986-1bd2-4f9a-aa1e-9464babcbc3e", "exitWarehouseID": "eb9fac1a-13f2-4efd-9194-dd7a01bb15be", "companyID": "ccc39c95-616a-49c8-a919-5612b44fcaa2" }
application/xml, text/xml
Sample:
<ProductStockActionDetailAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <Amount>3.1</Amount> <CompanyID>ccc39c95-616a-49c8-a919-5612b44fcaa2</CompanyID> <CurrencyID>ec699fe5-66c8-402f-a811-dfc82325478e</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>e7c67986-1bd2-4f9a-aa1e-9464babcbc3e</EntryWarehouseID> <ExitWarehouseID>eb9fac1a-13f2-4efd-9194-dd7a01bb15be</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>47d47ae5-b297-422e-bce1-83124860f1eb</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>f8d003c1-4512-472c-a6ec-917b9e53b786</ProductID> <ProductStockActionID>d1169aab-6460-4a78-aa41-6c53d67fa927</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>bb3794b2-0440-4017-b5b9-b632b90a48b8</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>a008fa89-71f0-4a60-aea7-c6c847473aef</UnitID> </ProductStockActionDetailAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"currencyRate":1.1,"quantity":2.1,"amount":3.1,"discountRate":4.1,"discountAmount":5.1,"discountedUnitPrice":6.1,"discountedTotalPrice":7.1,"isDiscountPercentage":true,"totalAmount":9.1,"kdv":0,"kdvAmount":10.1,"oiv":11.1,"oivAmount":12.1,"otv":13.1,"otvAmount":14.1,"isOTVPercentage":true,"theWithholdingID":"bb3794b2-0440-4017-b5b9-b632b90a48b8","theWithholdingAmount":16.1,"noKDVReasonID":"47d47ae5-b297-422e-bce1-83124860f1eb","unitID":"a008fa89-71f0-4a60-aea7-c6c847473aef","currencyID":"ec699fe5-66c8-402f-a811-dfc82325478e","productID":"f8d003c1-4512-472c-a6ec-917b9e53b786","productStockActionID":"d1169aab-6460-4a78-aa41-6c53d67fa927","entryWarehouseID":"e7c67986-1bd2-4f9a-aa1e-9464babcbc3e","exitWarehouseID":"eb9fac1a-13f2-4efd-9194-dd7a01bb15be","companyID":"ccc39c95-616a-49c8-a919-5612b44fcaa2"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.