GET api/stockEntry/get/{stockEntryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockEntryId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StocksEntryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| StockEntryStatusId | integer |
None. |
|
| DeliveryLocationId | integer |
None. |
|
| UniqueId | string |
None. |
|
| RoleId | integer |
None. |
|
| IsAdminUser | boolean |
None. |
|
| BoatNumber | string |
None. |
|
| UserName | string |
None. |
|
| ProductTypeId | integer |
None. |
|
| SubProductId | integer |
None. |
|
| UOMId | integer |
None. |
|
| ProductId | integer |
None. |
|
| BranchId | integer |
None. |
|
| DurationHour | integer |
None. |
|
| StockEntryDimensionsDTOs | Collection of StockEntryDimensionsDTO |
None. |
|
| StockEntryNegotiationDTOs | Collection of StockEntryNegotiationDTO |
None. |
|
| StockEntryAuditDTOs | Collection of StockEntryAuditDTO |
None. |
|
| StockEntryImageDTOs | Collection of StockEntryImageDTO |
None. |
|
| DateRange | string |
None. |
|
| FromDate | string |
None. |
|
| ToDate | string |
None. |
|
| CancelledDate | string |
None. |
|
| ReasonId | string |
None. |
|
| CancelledDescription | string |
None. |
|
| ActualPrice | decimal number |
None. |
|
| ActualQuantity | decimal number |
None. |
|
| CancelDateRange | string |
None. |
|
| SaleOrderId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 1,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Price": 1.0,
"StockEntryStatusId": 1,
"DeliveryLocationId": 1,
"UniqueId": "sample string 2",
"RoleId": 1,
"IsAdminUser": true,
"BoatNumber": "sample string 4",
"UserName": "sample string 5",
"ProductTypeId": 1,
"SubProductId": 1,
"UOMId": 1,
"ProductId": 1,
"BranchId": 1,
"DurationHour": 1,
"StockEntryDimensionsDTOs": [
{
"StockEntryId": 1,
"DimensionId": 1,
"DimensionSourceId": 1,
"DimensionSourceValue": "sample string 1",
"Status": true
},
{
"StockEntryId": 1,
"DimensionId": 1,
"DimensionSourceId": 1,
"DimensionSourceValue": "sample string 1",
"Status": true
}
],
"StockEntryNegotiationDTOs": [
{
"StockEntryId": 1,
"Quantity": 1.0,
"Price": 1.0,
"StatusId": 1,
"UserId": 1,
"Description": "sample string 1"
},
{
"StockEntryId": 1,
"Quantity": 1.0,
"Price": 1.0,
"StatusId": 1,
"UserId": 1,
"Description": "sample string 1"
}
],
"StockEntryAuditDTOs": [
{
"StockEntryId": 1,
"UserID": 1,
"StatusId": 1,
"PreviousValue": 1.0,
"CurrentValue": 1.0,
"Status": true
},
{
"StockEntryId": 1,
"UserID": 1,
"StatusId": 1,
"PreviousValue": 1.0,
"CurrentValue": 1.0,
"Status": true
}
],
"StockEntryImageDTOs": [
{
"Id": 1,
"StockEntryId": 1,
"Image": "sample string 2"
},
{
"Id": 1,
"StockEntryId": 1,
"Image": "sample string 2"
}
],
"DateRange": "sample string 6",
"FromDate": "sample string 7",
"ToDate": "sample string 8",
"CancelledDate": "sample string 9",
"ReasonId": "sample string 10",
"CancelledDescription": "sample string 11",
"ActualPrice": 12.0,
"ActualQuantity": 13.0,
"CancelDateRange": "sample string 14",
"SaleOrderId": 1
}
application/xml, text/xml
Sample:
<StocksEntryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.StockEntries">
<ActualPrice>12</ActualPrice>
<ActualQuantity>13</ActualQuantity>
<BoatNumber>sample string 4</BoatNumber>
<BranchId>1</BranchId>
<CancelDateRange>sample string 14</CancelDateRange>
<CancelledDate>sample string 9</CancelledDate>
<CancelledDescription>sample string 11</CancelledDescription>
<DateRange>sample string 6</DateRange>
<DeliveryLocationId>1</DeliveryLocationId>
<DurationHour>1</DurationHour>
<FromDate>sample string 7</FromDate>
<Id>1</Id>
<IsAdminUser>true</IsAdminUser>
<Price>1</Price>
<ProductId>1</ProductId>
<ProductTypeId>1</ProductTypeId>
<Quantity>1</Quantity>
<ReasonId>sample string 10</ReasonId>
<RoleId>1</RoleId>
<SaleOrderId>1</SaleOrderId>
<StockEntryAuditDTOs>
<StockEntryAuditDTO>
<CurrentValue>1</CurrentValue>
<PreviousValue>1</PreviousValue>
<Status>true</Status>
<StatusId>1</StatusId>
<StockEntryId>1</StockEntryId>
<UserID>1</UserID>
</StockEntryAuditDTO>
<StockEntryAuditDTO>
<CurrentValue>1</CurrentValue>
<PreviousValue>1</PreviousValue>
<Status>true</Status>
<StatusId>1</StatusId>
<StockEntryId>1</StockEntryId>
<UserID>1</UserID>
</StockEntryAuditDTO>
</StockEntryAuditDTOs>
<StockEntryDimensionsDTOs>
<StockEntryDimensionsDTO>
<DimensionId>1</DimensionId>
<DimensionSourceId>1</DimensionSourceId>
<DimensionSourceValue>sample string 1</DimensionSourceValue>
<Status>true</Status>
<StockEntryId>1</StockEntryId>
</StockEntryDimensionsDTO>
<StockEntryDimensionsDTO>
<DimensionId>1</DimensionId>
<DimensionSourceId>1</DimensionSourceId>
<DimensionSourceValue>sample string 1</DimensionSourceValue>
<Status>true</Status>
<StockEntryId>1</StockEntryId>
</StockEntryDimensionsDTO>
</StockEntryDimensionsDTOs>
<StockEntryImageDTOs>
<StockEntryImageDTO>
<Id>1</Id>
<Image>sample string 2</Image>
<StockEntryId>1</StockEntryId>
</StockEntryImageDTO>
<StockEntryImageDTO>
<Id>1</Id>
<Image>sample string 2</Image>
<StockEntryId>1</StockEntryId>
</StockEntryImageDTO>
</StockEntryImageDTOs>
<StockEntryNegotiationDTOs>
<StockEntryNegotiationDTO>
<Description>sample string 1</Description>
<Price>1</Price>
<Quantity>1</Quantity>
<StatusId>1</StatusId>
<StockEntryId>1</StockEntryId>
<UserId>1</UserId>
</StockEntryNegotiationDTO>
<StockEntryNegotiationDTO>
<Description>sample string 1</Description>
<Price>1</Price>
<Quantity>1</Quantity>
<StatusId>1</StatusId>
<StockEntryId>1</StockEntryId>
<UserId>1</UserId>
</StockEntryNegotiationDTO>
</StockEntryNegotiationDTOs>
<StockEntryStatusId>1</StockEntryStatusId>
<SubProductId>1</SubProductId>
<ToDate>sample string 8</ToDate>
<UOMId>1</UOMId>
<UniqueId>sample string 2</UniqueId>
<UnitPrice>1</UnitPrice>
<UserId>1</UserId>
<UserName>sample string 5</UserName>
</StocksEntryDTO>