POST api/NPCPlans/GetPlan_ProductsByProjectId
Request Information
URI Parameters
None.
Body Parameters
VO_Plan_Products| Name | Description | Type | Additional information |
|---|---|---|---|
| PProductId | integer |
None. |
|
| PPTypeId | integer |
None. |
|
| PlanId | integer |
None. |
|
| ProjectId | integer |
None. |
|
| PProductProductionCapacity | decimal number |
None. |
|
| PProductAverageProduction | decimal number |
None. |
|
| PProductFinalProduction | decimal number |
None. |
|
| PProductAmount | decimal number |
None. |
|
| UnitOfMeasureId | integer |
None. |
|
| InnerMarkAmount | decimal number |
None. |
|
| OuterMarkAmount | decimal number |
None. |
|
| RialAmount | decimal number |
None. |
|
| RialCoefId | integer |
None. |
|
| FXAmount | decimal number |
None. |
|
| FXUnitId | integer |
None. |
|
| FXCoefId | integer |
None. |
|
| ConversionRate | decimal number |
None. |
|
| CreationDate | date |
None. |
|
| Usage | string |
None. |
|
| SaleAmount | decimal number |
None. |
|
| PureSaleAmount | decimal number |
None. |
|
| PlanRealStartUtilizationDate | date |
None. |
|
| BackSourceAmount | decimal number |
None. |
|
| InterUseAmount | decimal number |
None. |
|
| InterUseFromDate | date |
None. |
|
| Plan_Products_InternalUse | Collection of VO_Plan_Products_InternalUse |
None. |
|
| Plan_Product_BetweenComplexUse | Collection of VO_Plan_Product_BetweenComplexUse |
None. |
|
| ProductionFeedInternalUse | Collection of VO_ProductionFeedInternalUse |
None. |
|
| ProductionFeedBetweenComplexUse | Collection of VO_ProductionFeedBetweenComplexUse |
None. |
|
| ProjectName | string |
None. |
|
| ProductName | string |
None. |
|
| ProductTypeUnit | string |
None. |
|
| Mode | string |
None. |
|
| Company_ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PProductId": 1,
"PPTypeId": 2,
"PlanId": 3,
"ProjectId": 1,
"PProductProductionCapacity": 1.1,
"PProductAverageProduction": 1.1,
"PProductFinalProduction": 1.1,
"PProductAmount": 1.1,
"UnitOfMeasureId": 1,
"InnerMarkAmount": 1.1,
"OuterMarkAmount": 1.1,
"RialAmount": 1.1,
"RialCoefId": 1,
"FXAmount": 1.1,
"FXUnitId": 1,
"FXCoefId": 1,
"ConversionRate": 1.1,
"CreationDate": "2021-05-21T19:56:53.7428401+04:30",
"Usage": "sample string 5",
"SaleAmount": 6.1,
"PureSaleAmount": 7.1,
"PlanRealStartUtilizationDate": "2021-05-21T19:56:53.7428401+04:30",
"BackSourceAmount": 1.1,
"InterUseAmount": 1.1,
"InterUseFromDate": "2021-05-21T19:56:53.7428401+04:30",
"Plan_Products_InternalUse": [
{
"ID": 1,
"PProductId": 2,
"InternalUseAmount": 3.0,
"InternalUsePProductId": 4,
"SelectedPPTypeId": 5,
"SelectedProjectId": 6
},
{
"ID": 1,
"PProductId": 2,
"InternalUseAmount": 3.0,
"InternalUsePProductId": 4,
"SelectedPPTypeId": 5,
"SelectedProjectId": 6
}
],
"Plan_Product_BetweenComplexUse": [
{
"ID": 1,
"PProductId": 2,
"BetweenComplexUseAmount": 3.0,
"BetweenComplexPProductId": 4,
"SelectedPlanId": 5,
"SelectedPPTypeId": 6,
"SelectedProjectId": 7
},
{
"ID": 1,
"PProductId": 2,
"BetweenComplexUseAmount": 3.0,
"BetweenComplexPProductId": 4,
"SelectedPlanId": 5,
"SelectedPPTypeId": 6,
"SelectedProjectId": 7
}
],
"ProductionFeedInternalUse": [
{
"ID": 1,
"PProductId": 2,
"Value": 3.0,
"FeedId": 4,
"EntryLineId": 5
},
{
"ID": 1,
"PProductId": 2,
"Value": 3.0,
"FeedId": 4,
"EntryLineId": 5
}
],
"ProductionFeedBetweenComplexUse": [
{
"ID": 1,
"PProductId": 2,
"Value": 3.0,
"CompanyId": 4,
"EntryLineId": 5,
"FeedId": 6
},
{
"ID": 1,
"PProductId": 2,
"Value": 3.0,
"CompanyId": 4,
"EntryLineId": 5,
"FeedId": 6
}
],
"ProjectName": "sample string 8",
"ProductName": "sample string 9",
"ProductTypeUnit": "sample string 10",
"Mode": "sample string 11",
"Company_ID": 1
}
application/xml, text/xml
Sample:
<VO_Plan_Products xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parstasmim.BusinessValue.VO">
<BackSourceAmount>1.1</BackSourceAmount>
<Company_ID>1</Company_ID>
<ConversionRate>1.1</ConversionRate>
<CreationDate>2021-05-21T19:56:53.7428401+04:30</CreationDate>
<FXAmount>1.1</FXAmount>
<FXCoefId>1</FXCoefId>
<FXUnitId>1</FXUnitId>
<InnerMarkAmount>1.1</InnerMarkAmount>
<InterUseAmount>1.1</InterUseAmount>
<InterUseFromDate>2021-05-21T19:56:53.7428401+04:30</InterUseFromDate>
<Mode>sample string 11</Mode>
<OuterMarkAmount>1.1</OuterMarkAmount>
<PPTypeId>2</PPTypeId>
<PProductAmount>1.1</PProductAmount>
<PProductAverageProduction>1.1</PProductAverageProduction>
<PProductFinalProduction>1.1</PProductFinalProduction>
<PProductId>1</PProductId>
<PProductProductionCapacity>1.1</PProductProductionCapacity>
<PlanId>3</PlanId>
<PlanRealStartUtilizationDate>2021-05-21T19:56:53.7428401+04:30</PlanRealStartUtilizationDate>
<Plan_Product_BetweenComplexUse>
<VO_Plan_Product_BetweenComplexUse>
<BetweenComplexPProductId>4</BetweenComplexPProductId>
<BetweenComplexUseAmount>3</BetweenComplexUseAmount>
<ID>1</ID>
<PProductId>2</PProductId>
<SelectedPPTypeId>6</SelectedPPTypeId>
<SelectedPlanId>5</SelectedPlanId>
<SelectedProjectId>7</SelectedProjectId>
</VO_Plan_Product_BetweenComplexUse>
<VO_Plan_Product_BetweenComplexUse>
<BetweenComplexPProductId>4</BetweenComplexPProductId>
<BetweenComplexUseAmount>3</BetweenComplexUseAmount>
<ID>1</ID>
<PProductId>2</PProductId>
<SelectedPPTypeId>6</SelectedPPTypeId>
<SelectedPlanId>5</SelectedPlanId>
<SelectedProjectId>7</SelectedProjectId>
</VO_Plan_Product_BetweenComplexUse>
</Plan_Product_BetweenComplexUse>
<Plan_Products_InternalUse>
<VO_Plan_Products_InternalUse>
<ID>1</ID>
<InternalUseAmount>3</InternalUseAmount>
<InternalUsePProductId>4</InternalUsePProductId>
<PProductId>2</PProductId>
<SelectedPPTypeId>5</SelectedPPTypeId>
<SelectedProjectId>6</SelectedProjectId>
</VO_Plan_Products_InternalUse>
<VO_Plan_Products_InternalUse>
<ID>1</ID>
<InternalUseAmount>3</InternalUseAmount>
<InternalUsePProductId>4</InternalUsePProductId>
<PProductId>2</PProductId>
<SelectedPPTypeId>5</SelectedPPTypeId>
<SelectedProjectId>6</SelectedProjectId>
</VO_Plan_Products_InternalUse>
</Plan_Products_InternalUse>
<ProductName>sample string 9</ProductName>
<ProductTypeUnit>sample string 10</ProductTypeUnit>
<ProductionFeedBetweenComplexUse>
<VO_ProductionFeedBetweenComplexUse>
<CompanyId>4</CompanyId>
<EntryLineId>5</EntryLineId>
<FeedId>6</FeedId>
<ID>1</ID>
<PProductId>2</PProductId>
<Value>3</Value>
</VO_ProductionFeedBetweenComplexUse>
<VO_ProductionFeedBetweenComplexUse>
<CompanyId>4</CompanyId>
<EntryLineId>5</EntryLineId>
<FeedId>6</FeedId>
<ID>1</ID>
<PProductId>2</PProductId>
<Value>3</Value>
</VO_ProductionFeedBetweenComplexUse>
</ProductionFeedBetweenComplexUse>
<ProductionFeedInternalUse>
<VO_ProductionFeedInternalUse>
<EntryLineId>5</EntryLineId>
<FeedId>4</FeedId>
<ID>1</ID>
<PProductId>2</PProductId>
<Value>3</Value>
</VO_ProductionFeedInternalUse>
<VO_ProductionFeedInternalUse>
<EntryLineId>5</EntryLineId>
<FeedId>4</FeedId>
<ID>1</ID>
<PProductId>2</PProductId>
<Value>3</Value>
</VO_ProductionFeedInternalUse>
</ProductionFeedInternalUse>
<ProjectId>1</ProjectId>
<ProjectName>sample string 8</ProjectName>
<PureSaleAmount>7.1</PureSaleAmount>
<RialAmount>1.1</RialAmount>
<RialCoefId>1</RialCoefId>
<SaleAmount>6.1</SaleAmount>
<UnitOfMeasureId>1</UnitOfMeasureId>
<Usage>sample string 5</Usage>
</VO_Plan_Products>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.