POST api/ChangePump/ChangeSpeed
Request Information
URI Parameters
None.
Body Parameters
ChangeSpeed| Name | Description | Type | Additional information |
|---|---|---|---|
| Speed | unsigned integer |
None. |
|
| ListId | integer |
None. |
|
| PumpStateId | integer |
None. |
|
| GraphOptions | GraphUpdateInputModel |
None. |
|
| WithGraph | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Speed": 1,
"ListId": 2,
"PumpStateId": 3,
"GraphOptions": {
"Width": 1,
"Height": 2,
"Options": {
"ExtensionData": 1,
"AcceptanceGrade": 2,
"Auto_src": 3,
"CurveBEP": 4,
"CurveLabel": 5,
"DPI": 1,
"DashedPower": 6,
"DesignPoint": 7,
"DualAxis": 8,
"DualAxisAltFlowUnit": 9,
"DualAxisAltHeadUnit": 10,
"DutyPointMarker": 11,
"Efficiency": 12,
"Grid": 13,
"LeaderLines": 14,
"NPSH": 15,
"OperatingPointDisplay": 16,
"OperatingPointLabels": 17,
"Power": 18,
"PumpCurve": 19,
"SecondaryFluids": {
"Fluids": [
{
"Color": {
"Red": 1
},
"Fluid_Id": 1
},
{
"Color": {
"Red": 1
},
"Fluid_Id": 1
}
]
},
"SelectionWindow": 20,
"Spacing": 21,
"Src": 22,
"SrcLineWeights": 23,
"SrcType": 24,
"Subgraphs": {
"EfficiencyFlow": {
"Enabled": true,
"HeightPercentage": 2.1,
"SortOrder": 3
},
"HeadFlow": {
"Enabled": true,
"HeightPercentage": 2.1,
"SortOrder": 3
},
"NpshrFlow": {
"Enabled": true,
"HeightPercentage": 2.1,
"SortOrder": 3
},
"PowerFlow": {
"Enabled": true,
"HeightPercentage": 2.1,
"SortOrder": 3
},
"SpeedFlow": {
"Enabled": true,
"HeightPercentage": 2.1,
"SortOrder": 3
}
},
"VerticalFlowLines": 25
},
"Views": {},
"Locale": "sample string 3"
},
"WithGraph": true
}
application/xml, text/xml
Sample:
<ChangeSpeed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infor.Enhancements.Zoeller.Web.Model.PumpChange">
<GraphOptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Infor.Enhancements.Zoeller.Web.Model.Graphing">
<d2p1:Height>2</d2p1:Height>
<d2p1:Locale>sample string 3</d2p1:Locale>
<d2p1:Options>
<d2p1:AcceptanceGrade>2</d2p1:AcceptanceGrade>
<d2p1:Auto_src>3</d2p1:Auto_src>
<d2p1:CurveBEP>4</d2p1:CurveBEP>
<d2p1:CurveLabel>5</d2p1:CurveLabel>
<d2p1:DPI>1</d2p1:DPI>
<d2p1:DashedPower>6</d2p1:DashedPower>
<d2p1:DesignPoint>7</d2p1:DesignPoint>
<d2p1:DualAxis>8</d2p1:DualAxis>
<d2p1:DualAxisAltFlowUnit>9</d2p1:DualAxisAltFlowUnit>
<d2p1:DualAxisAltHeadUnit>10</d2p1:DualAxisAltHeadUnit>
<d2p1:DutyPointMarker>11</d2p1:DutyPointMarker>
<d2p1:Efficiency>12</d2p1:Efficiency>
<d2p1:ExtensionData>1</d2p1:ExtensionData>
<d2p1:Grid>13</d2p1:Grid>
<d2p1:LeaderLines>14</d2p1:LeaderLines>
<d2p1:NPSH>15</d2p1:NPSH>
<d2p1:OperatingPointDisplay>16</d2p1:OperatingPointDisplay>
<d2p1:OperatingPointLabels>17</d2p1:OperatingPointLabels>
<d2p1:Power>18</d2p1:Power>
<d2p1:PumpCurve>19</d2p1:PumpCurve>
<d2p1:SecondaryFluids>
<d2p1:Fluids>
<d2p1:SecondaryGraphFluidModel>
<d2p1:Color>
<d2p1:Red>1</d2p1:Red>
</d2p1:Color>
<d2p1:Fluid_Id>1</d2p1:Fluid_Id>
</d2p1:SecondaryGraphFluidModel>
<d2p1:SecondaryGraphFluidModel>
<d2p1:Color>
<d2p1:Red>1</d2p1:Red>
</d2p1:Color>
<d2p1:Fluid_Id>1</d2p1:Fluid_Id>
</d2p1:SecondaryGraphFluidModel>
</d2p1:Fluids>
</d2p1:SecondaryFluids>
<d2p1:SelectionWindow>20</d2p1:SelectionWindow>
<d2p1:Spacing>21</d2p1:Spacing>
<d2p1:Src>22</d2p1:Src>
<d2p1:SrcLineWeights>23</d2p1:SrcLineWeights>
<d2p1:SrcType>24</d2p1:SrcType>
<d2p1:Subgraphs>
<d2p1:EfficiencyFlow>
<d2p1:Enabled>true</d2p1:Enabled>
<d2p1:HeightPercentage>2.1</d2p1:HeightPercentage>
<d2p1:SortOrder>3</d2p1:SortOrder>
</d2p1:EfficiencyFlow>
<d2p1:HeadFlow>
<d2p1:Enabled>true</d2p1:Enabled>
<d2p1:HeightPercentage>2.1</d2p1:HeightPercentage>
<d2p1:SortOrder>3</d2p1:SortOrder>
</d2p1:HeadFlow>
<d2p1:NpshrFlow>
<d2p1:Enabled>true</d2p1:Enabled>
<d2p1:HeightPercentage>2.1</d2p1:HeightPercentage>
<d2p1:SortOrder>3</d2p1:SortOrder>
</d2p1:NpshrFlow>
<d2p1:PowerFlow>
<d2p1:Enabled>true</d2p1:Enabled>
<d2p1:HeightPercentage>2.1</d2p1:HeightPercentage>
<d2p1:SortOrder>3</d2p1:SortOrder>
</d2p1:PowerFlow>
<d2p1:SpeedFlow>
<d2p1:Enabled>true</d2p1:Enabled>
<d2p1:HeightPercentage>2.1</d2p1:HeightPercentage>
<d2p1:SortOrder>3</d2p1:SortOrder>
</d2p1:SpeedFlow>
</d2p1:Subgraphs>
<d2p1:VerticalFlowLines>25</d2p1:VerticalFlowLines>
</d2p1:Options>
<d2p1:Views xmlns:d3p1="http://schemas.datacontract.org/2004/07/Infor.Enhancements.Zoeller.Web.Model.Views" />
<d2p1:Width>1</d2p1:Width>
</GraphOptions>
<ListId>2</ListId>
<PumpStateId>3</PumpStateId>
<WithGraph>true</WithGraph>
<Speed>1</Speed>
</ChangeSpeed>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |