POST api/stockEntry/update
Request Information
URI Parameters
None.
Body Parameters
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. |
|
| StockEntryRoleTypeId | 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. |
|
| Days | integer |
None. |
|
| NamePhone | string |
None. |
|
| ContractBranch | string |
None. |
|
| OrganizationBranchId | 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. |
|
| IsMandatoryImage | boolean |
None. |
|
| PerishibleType | string |
None. |
|
| SubProductDimensionName | string |
None. |
|
| Discription | string |
None. |
|
| Category | string |
None. |
|
| CompanyName | string |
None. |
|
| CompanyId | integer |
None. |
|
| CompanyBranchId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| StatusId | integer |
None. |
Request 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,
"StockEntryRoleTypeId": 1,
"IsAdminUser": true,
"BoatNumber": "sample string 4",
"UserName": "sample string 5",
"ProductTypeId": 1,
"SubProductId": 1,
"UOMId": 1,
"ProductId": 1,
"BranchId": 1,
"DurationHour": 1,
"Days": 1,
"NamePhone": "sample string 6",
"ContractBranch": "sample string 7",
"OrganizationBranchId": 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 8",
"FromDate": "sample string 9",
"ToDate": "sample string 10",
"CancelledDate": "sample string 11",
"ReasonId": "sample string 12",
"CancelledDescription": "sample string 13",
"ActualPrice": 14.0,
"ActualQuantity": 15.0,
"CancelDateRange": "sample string 16",
"SaleOrderId": 1,
"IsMandatoryImage": true,
"PerishibleType": "sample string 18",
"SubProductDimensionName": "sample string 19",
"Discription": "sample string 20",
"Category": "sample string 21",
"CompanyName": "sample string 22",
"CompanyId": 1,
"CompanyBranchId": 1,
"CreatedBy": 23,
"ModifiedBy": 24,
"StatusId": 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>14</ActualPrice>
<ActualQuantity>15</ActualQuantity>
<BoatNumber>sample string 4</BoatNumber>
<BranchId>1</BranchId>
<CancelDateRange>sample string 16</CancelDateRange>
<CancelledDate>sample string 11</CancelledDate>
<CancelledDescription>sample string 13</CancelledDescription>
<Category>sample string 21</Category>
<CompanyBranchId>1</CompanyBranchId>
<CompanyId>1</CompanyId>
<CompanyName>sample string 22</CompanyName>
<ContractBranch>sample string 7</ContractBranch>
<CreatedBy>23</CreatedBy>
<DateRange>sample string 8</DateRange>
<Days>1</Days>
<DeliveryLocationId>1</DeliveryLocationId>
<Discription>sample string 20</Discription>
<DurationHour>1</DurationHour>
<FromDate>sample string 9</FromDate>
<Id>1</Id>
<IsAdminUser>true</IsAdminUser>
<IsMandatoryImage>true</IsMandatoryImage>
<ModifiedBy>24</ModifiedBy>
<NamePhone>sample string 6</NamePhone>
<OrganizationBranchId>1</OrganizationBranchId>
<PerishibleType>sample string 18</PerishibleType>
<Price>1</Price>
<ProductId>1</ProductId>
<ProductTypeId>1</ProductTypeId>
<Quantity>1</Quantity>
<ReasonId>sample string 12</ReasonId>
<RoleId>1</RoleId>
<SaleOrderId>1</SaleOrderId>
<StatusId>1</StatusId>
<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>
<StockEntryRoleTypeId>1</StockEntryRoleTypeId>
<StockEntryStatusId>1</StockEntryStatusId>
<SubProductDimensionName>sample string 19</SubProductDimensionName>
<SubProductId>1</SubProductId>
<ToDate>sample string 10</ToDate>
<UOMId>1</UOMId>
<UniqueId>sample string 2</UniqueId>
<UnitPrice>1</UnitPrice>
<UserId>1</UserId>
<UserName>sample string 5</UserName>
</StocksEntryDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>