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": "708e1fb1-af9d-4078-9937-c41adb032d11", "theWithholdingAmount": 16.1, "noKDVReasonID": "e2198bf0-f62c-41d3-9434-d2e1188681ca", "unitID": "dc7ea40e-d33f-453b-81e6-e9b120829824", "currencyID": "7cd9fb06-991e-4095-a446-50e22bda5389", "productID": "b2752c44-57d4-442d-ab21-25d9e13d2164", "productStockActionID": "e8591efc-23dd-41fc-80ca-baca82eccd93", "entryWarehouseID": "b1284858-4764-4a0a-a4d1-37c6eb5208b7", "exitWarehouseID": "3b40753c-bc51-4f42-bddf-0ab7b5c2da84", "companyID": "33d04e3b-7128-4c83-a9fb-59d91148353c" }
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>33d04e3b-7128-4c83-a9fb-59d91148353c</CompanyID> <CurrencyID>7cd9fb06-991e-4095-a446-50e22bda5389</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>b1284858-4764-4a0a-a4d1-37c6eb5208b7</EntryWarehouseID> <ExitWarehouseID>3b40753c-bc51-4f42-bddf-0ab7b5c2da84</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>e2198bf0-f62c-41d3-9434-d2e1188681ca</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>b2752c44-57d4-442d-ab21-25d9e13d2164</ProductID> <ProductStockActionID>e8591efc-23dd-41fc-80ca-baca82eccd93</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>708e1fb1-af9d-4078-9937-c41adb032d11</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>dc7ea40e-d33f-453b-81e6-e9b120829824</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":"708e1fb1-af9d-4078-9937-c41adb032d11","theWithholdingAmount":16.1,"noKDVReasonID":"e2198bf0-f62c-41d3-9434-d2e1188681ca","unitID":"dc7ea40e-d33f-453b-81e6-e9b120829824","currencyID":"7cd9fb06-991e-4095-a446-50e22bda5389","productID":"b2752c44-57d4-442d-ab21-25d9e13d2164","productStockActionID":"e8591efc-23dd-41fc-80ca-baca82eccd93","entryWarehouseID":"b1284858-4764-4a0a-a4d1-37c6eb5208b7","exitWarehouseID":"3b40753c-bc51-4f42-bddf-0ab7b5c2da84","companyID":"33d04e3b-7128-4c83-a9fb-59d91148353c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.