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": "0f241085-d033-43c1-a0c4-b99501ea8a03", "theWithholdingAmount": 16.1, "noKDVReasonID": "cfb62118-ec4b-4827-b795-177288765755", "unitID": "cae00b59-1bcf-44dc-9abc-ebadca43bda1", "currencyID": "37401566-5de4-4f58-ba2e-a6fad300baa4", "productID": "5ff1cd9d-4901-472b-89ce-2d0d731a5a7b", "productStockActionID": "975e5db0-d483-4f37-b10e-d1fe3fb89612", "entryWarehouseID": "90bdbaa3-fd18-4dfc-a3c9-fdf1b7a16a3a", "exitWarehouseID": "8b5d8ec7-db34-4c14-9f8e-a1a0581fb60f", "companyID": "927781bd-670f-4e1c-b5ff-0cf49de4c209" }
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>927781bd-670f-4e1c-b5ff-0cf49de4c209</CompanyID> <CurrencyID>37401566-5de4-4f58-ba2e-a6fad300baa4</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>90bdbaa3-fd18-4dfc-a3c9-fdf1b7a16a3a</EntryWarehouseID> <ExitWarehouseID>8b5d8ec7-db34-4c14-9f8e-a1a0581fb60f</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>cfb62118-ec4b-4827-b795-177288765755</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>5ff1cd9d-4901-472b-89ce-2d0d731a5a7b</ProductID> <ProductStockActionID>975e5db0-d483-4f37-b10e-d1fe3fb89612</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>0f241085-d033-43c1-a0c4-b99501ea8a03</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>cae00b59-1bcf-44dc-9abc-ebadca43bda1</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":"0f241085-d033-43c1-a0c4-b99501ea8a03","theWithholdingAmount":16.1,"noKDVReasonID":"cfb62118-ec4b-4827-b795-177288765755","unitID":"cae00b59-1bcf-44dc-9abc-ebadca43bda1","currencyID":"37401566-5de4-4f58-ba2e-a6fad300baa4","productID":"5ff1cd9d-4901-472b-89ce-2d0d731a5a7b","productStockActionID":"975e5db0-d483-4f37-b10e-d1fe3fb89612","entryWarehouseID":"90bdbaa3-fd18-4dfc-a3c9-fdf1b7a16a3a","exitWarehouseID":"8b5d8ec7-db34-4c14-9f8e-a1a0581fb60f","companyID":"927781bd-670f-4e1c-b5ff-0cf49de4c209"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.