POST api/PumpFlow/GetGraph

Request Information

URI Parameters

None.

Body Parameters

GraphInputModel
NameDescriptionTypeAdditional information
ListId

unsigned integer

None.

PumpStateId

unsigned integer

None.

Width

unsigned integer

None.

Height

unsigned integer

None.

Options

GraphOptionsModel

None.

Views

PumpView

None.

Locale

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ListId": 1,
  "PumpStateId": 2,
  "Width": 3,
  "Height": 4,
  "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 5"
}

application/xml, text/xml

Sample:
<GraphInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infor.Enhancements.Zoeller.Web.Model.Graphing">
  <Height>4</Height>
  <ListId>1</ListId>
  <Locale>sample string 5</Locale>
  <Options>
    <AcceptanceGrade>2</AcceptanceGrade>
    <Auto_src>3</Auto_src>
    <CurveBEP>4</CurveBEP>
    <CurveLabel>5</CurveLabel>
    <DPI>1</DPI>
    <DashedPower>6</DashedPower>
    <DesignPoint>7</DesignPoint>
    <DualAxis>8</DualAxis>
    <DualAxisAltFlowUnit>9</DualAxisAltFlowUnit>
    <DualAxisAltHeadUnit>10</DualAxisAltHeadUnit>
    <DutyPointMarker>11</DutyPointMarker>
    <Efficiency>12</Efficiency>
    <ExtensionData>1</ExtensionData>
    <Grid>13</Grid>
    <LeaderLines>14</LeaderLines>
    <NPSH>15</NPSH>
    <OperatingPointDisplay>16</OperatingPointDisplay>
    <OperatingPointLabels>17</OperatingPointLabels>
    <Power>18</Power>
    <PumpCurve>19</PumpCurve>
    <SecondaryFluids>
      <Fluids>
        <SecondaryGraphFluidModel>
          <Color>
            <Red>1</Red>
          </Color>
          <Fluid_Id>1</Fluid_Id>
        </SecondaryGraphFluidModel>
        <SecondaryGraphFluidModel>
          <Color>
            <Red>1</Red>
          </Color>
          <Fluid_Id>1</Fluid_Id>
        </SecondaryGraphFluidModel>
      </Fluids>
    </SecondaryFluids>
    <SelectionWindow>20</SelectionWindow>
    <Spacing>21</Spacing>
    <Src>22</Src>
    <SrcLineWeights>23</SrcLineWeights>
    <SrcType>24</SrcType>
    <Subgraphs>
      <EfficiencyFlow>
        <Enabled>true</Enabled>
        <HeightPercentage>2.1</HeightPercentage>
        <SortOrder>3</SortOrder>
      </EfficiencyFlow>
      <HeadFlow>
        <Enabled>true</Enabled>
        <HeightPercentage>2.1</HeightPercentage>
        <SortOrder>3</SortOrder>
      </HeadFlow>
      <NpshrFlow>
        <Enabled>true</Enabled>
        <HeightPercentage>2.1</HeightPercentage>
        <SortOrder>3</SortOrder>
      </NpshrFlow>
      <PowerFlow>
        <Enabled>true</Enabled>
        <HeightPercentage>2.1</HeightPercentage>
        <SortOrder>3</SortOrder>
      </PowerFlow>
      <SpeedFlow>
        <Enabled>true</Enabled>
        <HeightPercentage>2.1</HeightPercentage>
        <SortOrder>3</SortOrder>
      </SpeedFlow>
    </Subgraphs>
    <VerticalFlowLines>25</VerticalFlowLines>
  </Options>
  <PumpStateId>2</PumpStateId>
  <Views xmlns:d2p1="http://schemas.datacontract.org/2004/07/Infor.Enhancements.Zoeller.Web.Model.Views" />
  <Width>3</Width>
</GraphInputModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GraphInputModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.