POST api/ProductStockActionDetail/Add

Request Information

URI Parameters

None.

Body Parameters

ProductStockActionDetailAddDto
NameDescriptionTypeAdditional 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": "e866f738-2669-4108-b53a-1a26a9fb196d",
  "theWithholdingAmount": 16.1,
  "noKDVReasonID": "6eed007c-7209-4a77-9d08-3af9184f241e",
  "unitID": "4ed73389-fa4c-4928-ab63-b32c3bc56fa2",
  "currencyID": "aeffc472-87f3-4a38-9455-d2eae4a513b4",
  "productID": "b4da653d-2c4a-498b-ad2d-642d5434c1e2",
  "productStockActionID": "27cab935-72fe-4b3f-8118-6346d4d215b2",
  "entryWarehouseID": "9effc403-f05a-451b-86ce-6beeeabfda41",
  "exitWarehouseID": "5df5e72e-76f3-42ef-a3ef-df113f4b4ec5",
  "companyID": "dcc13796-0511-4374-aa23-f999ef679db6"
}

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>dcc13796-0511-4374-aa23-f999ef679db6</CompanyID>
  <CurrencyID>aeffc472-87f3-4a38-9455-d2eae4a513b4</CurrencyID>
  <CurrencyRate>1.1</CurrencyRate>
  <DiscountAmount>5.1</DiscountAmount>
  <DiscountRate>4.1</DiscountRate>
  <DiscountedTotalPrice>7.1</DiscountedTotalPrice>
  <DiscountedUnitPrice>6.1</DiscountedUnitPrice>
  <EntryWarehouseID>9effc403-f05a-451b-86ce-6beeeabfda41</EntryWarehouseID>
  <ExitWarehouseID>5df5e72e-76f3-42ef-a3ef-df113f4b4ec5</ExitWarehouseID>
  <IsDiscountPercentage>true</IsDiscountPercentage>
  <IsOTVPercentage>true</IsOTVPercentage>
  <KDV>KDV0</KDV>
  <KDVAmount>10.1</KDVAmount>
  <NoKDVReasonID>6eed007c-7209-4a77-9d08-3af9184f241e</NoKDVReasonID>
  <OIV>11.1</OIV>
  <OIVAmount>12.1</OIVAmount>
  <OTV>13.1</OTV>
  <OTVAmount>14.1</OTVAmount>
  <ProductID>b4da653d-2c4a-498b-ad2d-642d5434c1e2</ProductID>
  <ProductStockActionID>27cab935-72fe-4b3f-8118-6346d4d215b2</ProductStockActionID>
  <Quantity>2.1</Quantity>
  <TheWithholdingAmount>16.1</TheWithholdingAmount>
  <TheWithholdingID>e866f738-2669-4108-b53a-1a26a9fb196d</TheWithholdingID>
  <TotalAmount>9.1</TotalAmount>
  <UnitID>4ed73389-fa4c-4928-ab63-b32c3bc56fa2</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":"e866f738-2669-4108-b53a-1a26a9fb196d","theWithholdingAmount":16.1,"noKDVReasonID":"6eed007c-7209-4a77-9d08-3af9184f241e","unitID":"4ed73389-fa4c-4928-ab63-b32c3bc56fa2","currencyID":"aeffc472-87f3-4a38-9455-d2eae4a513b4","productID":"b4da653d-2c4a-498b-ad2d-642d5434c1e2","productStockActionID":"27cab935-72fe-4b3f-8118-6346d4d215b2","entryWarehouseID":"9effc403-f05a-451b-86ce-6beeeabfda41","exitWarehouseID":"5df5e72e-76f3-42ef-a3ef-df113f4b4ec5","companyID":"dcc13796-0511-4374-aa23-f999ef679db6"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.