POST api/Unit/SaveUnit
Request Information
URI Parameters
None.
Body Parameters
UnitInputsName | Description | Type | Additional information |
---|---|---|---|
oUser | UserNew |
None. |
|
oUnit | UnitNew |
None. |
|
oUnitAirflow | UnitAirflowModelNew |
None. |
|
oUnitCompOpt | UnitCompOptModelNew |
None. |
|
oUnitCompOptCust | UnitCompOptCustModelNew |
None. |
|
oUnitLayout | UnitLayoutNew |
None. |
Request Formats
application/json, text/json
Sample:
{ "oUser": { "intUserId": 1, "intUAL": 2 }, "oUnit": { "intJobId": 1, "intUnitNo": 2, "intProdTypeId": 3, "intUnitTypeId": 4, "strTag": "sample string 5", "intQty": 6, "intUnitVoltageId": 7, "intIsVoltageSPP": 8, "intIsPHI": 9, "intIsBypass": 10, "intUnitModelId": 11, "intSelectionTypeId": 12, "intLocationId": 13, "intIsDownshot": 14, "intOrientationId": 15, "intControlsPreferenceId": 16, "intControlViaId": 17, "strConfigNotes": "sample string 18", "dblUnitHeight": 19.1, "dblUnitWidth": 20.1, "dblUnitLength": 21.1, "dblUnitWeight": 22.1, "intIsUnitModelSelected": 23, "intIsSelectionCompleted": 24, "dblUnitPrice": 25.1 }, "oUnitAirflow": { "intJobId": 1, "intUnitNo": 2, "intProdTypeId": 3, "intUnitTypeId": 4, "intAltitude": 5, "intSummerSupplyAirCFM": 6, "intSummerReturnAirCFM": 7, "intWinterSupplyAirCFM": 8, "intWinterReturnAirCFM": 9, "dblSummerOutdoorAirDB": 10.1, "dblSummerOutdoorAirWB": 11.1, "dblSummerOutdoorAirRH": 12.1, "dblWinterOutdoorAirDB": 13.1, "dblWinterOutdoorAirWB": 14.1, "dblWinterOutdoorAirRH": 15.1, "dblSummerReturnAirDB": 16.1, "dblSummerReturnAirWB": 17.1, "dblSummerReturnAirRH": 18.1, "dblWinterReturnAirDB": 19.1, "dblWinterReturnAirWB": 20.1, "dblWinterReturnAirRH": 21.1, "dblMixSummerOA_CFMPct": 22.1, "dblMixWinterOA_CFMPct": 23.1, "intIsMixUseProjectDefault": 24, "dblMixSummerOutdoorAirDB": 25.1, "dblMixSummerOutdoorAirWB": 26.1, "dblMixSummerOutdoorAirRH": 27.1, "dblMixWinterOutdoorAirDB": 28.1, "dblMixWinterOutdoorAirWB": 29.1, "dblMixWinterOutdoorAirRH": 30.1, "dblMixSummerReturnAirDB": 31.1, "dblMixSummerReturnAirWB": 32.1, "dblMixSummerReturnAirRH": 33.1, "dblMixWinterReturnAirDB": 34.1, "dblMixWinterReturnAirWB": 35.1, "dblMixWinterReturnAirRH": 36.1, "dblSupplyAirESP": 37.1, "dblExhaustAirESP": 38.1 }, "oUnitCompOpt": { "intElecHeaterQty": 1, "intJobId": 1, "intUnitNo": 2, "intProdTypeId": 3, "intUnitTypeId": 4, "intUnitModelId": 5, "intOAFilterModelId": 6, "intSAFinalFilterModelId": 7, "intRAFilterModelId": 8, "intFilterConditionId": 9, "dblOAFilterPD": 10.1, "dblRAFilterPD": 11.1, "intIsMixingBox": 12, "intPreheatCompId": 13, "intPreheatElecHeaterInstallationId": 14, "intPreheatElecHeaterVoltageId": 15, "intIsPreheatElecHeaterVoltageSPP": 16, "intPreheatFluidTypeId": 17, "intPreheatFluidConcentId": 18, "dblPreheatFluidEntTemp": 19.1, "dblPreheatFluidLvgTemp": 20.1, "dblPreheatSetpointDB": 21.1, "intIsPreheatAutoSize": 22, "intIsPreheatValveAndActuatorIncluded": 23, "intPreheatValveTypeId": 24, "intPreheatElecHeaterStdCoilNo": 25, "intPreheatHWCValveAndActuatorId": 26, "intIsPreheatElecHeatBackupOnly": 27, "intHeatExchCompId": 28, "intCoolingCompId": 29, "intIsHeatPump": 30, "intIsDehumidification": 31, "intCoolingFluidTypeId": 32, "intCoolingFluidConcentId": 33, "dblCoolingFluidEntTemp": 34.1, "dblCoolingFluidLvgTemp": 35.1, "intIsDaikinVRV": 36, "intEKEXVKitInstallId": 37, "dblRefrigSuctionTemp": 38.1, "dblRefrigLiquidTemp": 39.1, "dblRefrigSuperheatTemp": 40.1, "dblCoolingSetpointDB": 41.1, "dblCoolingSetpointWB": 42.1, "intIsCoolingValveAndActuatorIncluded": 43, "intCoolingValveTypeId": 44, "intCoolingCWCValveAndActuatorId": 45, "intCoolingDX_VRVKitQty": 46, "dblCoolingDX_VRVKitTonnage": 47.1, "intHeatingCompId": 48, "intHeatingElecHeaterInstallationId": 49, "intHeatingElecHeaterVoltageId": 50, "intIsHeatingElecHeaterVoltageSPP": 51, "intHeatingFluidTypeId": 52, "intHeatingFluidConcentId": 53, "dblHeatingFluidEntTemp": 54.1, "dblHeatingFluidLvgTemp": 55.1, "dblHeatingSetpointDB": 56.1, "intHeatingElecHeaterStdCoilNo": 57, "intIsHeatingValveAndActuatorIncluded": 58, "intHeatingValveTypeId": 59, "intHeatingHWCValveAndActuatorId": 60, "intReheatCompId": 61, "intReheatElecHeaterInstallationId": 62, "intReheatElecHeaterVoltageId": 63, "intIsReheatElecHeaterVoltageSPP": 64, "intReheatFluidTypeId": 65, "intReheatFluidConcentId": 66, "dblReheatFluidEntTemp": 67.1, "dblReheatFluidLvgTemp": 68.1, "dblRefrigCondensingTemp": 69.1, "dblRefrigVaporTemp": 70.1, "dblRefrigSubcoolingTemp": 71.1, "dblReheatSetpointDB": 72.1, "intIsReheatValveAndActuatorIncluded": 73, "intReheatValveTypeId": 74, "intReheatElecHeaterStdCoilNo": 75, "intReheatHWCValveAndActuatorId": 76, "intReheatHGRC_VRVKitQty": 77, "dblReheatHGRC_VRVKitTonnage": 78.1, "intIsBackupHeating": 79, "dblBackupHeatingSetpointDB": 80.1, "intIsValveAndActuatorIncluded": 81, "intValveTypeId": 82, "intDamperAndActuatorId": 83, "intIsDrainPan": 84, "intIsHeatExchEA_Warning": 85 }, "oUnitCompOptCust": { "intJobId": 1, "intUnitNo": 2, "intProdTypeId": 3, "intUnitTypeId": 4, "intIsPreheatHWCUseCap": 5, "dblPreheatHWCCap": 6.1, "intIsPreheatHWCUseFlowRate": 7, "dblPreheatHWCFlowRate": 8.1, "intIsCoolingCWCUseCap": 9, "dblCoolingCWCCap": 10.1, "intIsCoolingCWCUseFlowRate": 11, "dblCoolingCWCFlowRate": 12.1, "intIsHeatingHWCUseCap": 13, "dblHeatingHWCCap": 14.1, "intIsHeatingHWCUseFlowRate": 15, "dblHeatingHWCFlowRate": 16.1, "intIsReheatHWCUseCap": 17, "dblReheatHWCCap": 18.1, "intIsReheatHWCUseFlowRate": 19, "dblReheatHWCFlowRate": 20.1 }, "oUnitLayout": { "intJobId": 1, "intUnitNo": 2, "intProdTypeId": 3, "intUnitTypeId": 4, "intHandingId": 5, "intPreheatCoilHandingId": 6, "intCoolingCoilHandingId": 7, "intHeatingCoilHandingId": 8, "intSAOpeningId": 9, "strSAOpening": "sample string 10", "intEAOpeningId": 11, "strEAOpening": "sample string 12", "intOAOpeningId": 13, "strOAOpening": "sample string 14", "intRAOpeningId": 15, "strRAOpening": "sample string 16", "intMixOADamperPosId": 17, "intMixRADamperPosId": 18 } }
application/xml, text/xml
Sample:
<UnitInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oxygen8SelectorApi.Models"> <oUnit> <dblUnitHeight>19.1</dblUnitHeight> <dblUnitLength>21.1</dblUnitLength> <dblUnitPrice>25.1</dblUnitPrice> <dblUnitWeight>22.1</dblUnitWeight> <dblUnitWidth>20.1</dblUnitWidth> <intControlViaId>17</intControlViaId> <intControlsPreferenceId>16</intControlsPreferenceId> <intIsBypass>10</intIsBypass> <intIsDownshot>14</intIsDownshot> <intIsPHI>9</intIsPHI> <intIsSelectionCompleted>24</intIsSelectionCompleted> <intIsUnitModelSelected>23</intIsUnitModelSelected> <intIsVoltageSPP>8</intIsVoltageSPP> <intJobId>1</intJobId> <intLocationId>13</intLocationId> <intOrientationId>15</intOrientationId> <intProdTypeId>3</intProdTypeId> <intQty>6</intQty> <intSelectionTypeId>12</intSelectionTypeId> <intUnitModelId>11</intUnitModelId> <intUnitNo>2</intUnitNo> <intUnitTypeId>4</intUnitTypeId> <intUnitVoltageId>7</intUnitVoltageId> <strConfigNotes>sample string 18</strConfigNotes> <strTag>sample string 5</strTag> </oUnit> <oUnitAirflow> <dblExhaustAirESP>38.1</dblExhaustAirESP> <dblMixSummerOA_CFMPct>22.1</dblMixSummerOA_CFMPct> <dblMixSummerOutdoorAirDB>25.1</dblMixSummerOutdoorAirDB> <dblMixSummerOutdoorAirRH>27.1</dblMixSummerOutdoorAirRH> <dblMixSummerOutdoorAirWB>26.1</dblMixSummerOutdoorAirWB> <dblMixSummerReturnAirDB>31.1</dblMixSummerReturnAirDB> <dblMixSummerReturnAirRH>33.1</dblMixSummerReturnAirRH> <dblMixSummerReturnAirWB>32.1</dblMixSummerReturnAirWB> <dblMixWinterOA_CFMPct>23.1</dblMixWinterOA_CFMPct> <dblMixWinterOutdoorAirDB>28.1</dblMixWinterOutdoorAirDB> <dblMixWinterOutdoorAirRH>30.1</dblMixWinterOutdoorAirRH> <dblMixWinterOutdoorAirWB>29.1</dblMixWinterOutdoorAirWB> <dblMixWinterReturnAirDB>34.1</dblMixWinterReturnAirDB> <dblMixWinterReturnAirRH>36.1</dblMixWinterReturnAirRH> <dblMixWinterReturnAirWB>35.1</dblMixWinterReturnAirWB> <dblSummerOutdoorAirDB>10.1</dblSummerOutdoorAirDB> <dblSummerOutdoorAirRH>12.1</dblSummerOutdoorAirRH> <dblSummerOutdoorAirWB>11.1</dblSummerOutdoorAirWB> <dblSummerReturnAirDB>16.1</dblSummerReturnAirDB> <dblSummerReturnAirRH>18.1</dblSummerReturnAirRH> <dblSummerReturnAirWB>17.1</dblSummerReturnAirWB> <dblSupplyAirESP>37.1</dblSupplyAirESP> <dblWinterOutdoorAirDB>13.1</dblWinterOutdoorAirDB> <dblWinterOutdoorAirRH>15.1</dblWinterOutdoorAirRH> <dblWinterOutdoorAirWB>14.1</dblWinterOutdoorAirWB> <dblWinterReturnAirDB>19.1</dblWinterReturnAirDB> <dblWinterReturnAirRH>21.1</dblWinterReturnAirRH> <dblWinterReturnAirWB>20.1</dblWinterReturnAirWB> <intAltitude>5</intAltitude> <intIsMixUseProjectDefault>24</intIsMixUseProjectDefault> <intJobId>1</intJobId> <intProdTypeId>3</intProdTypeId> <intSummerReturnAirCFM>7</intSummerReturnAirCFM> <intSummerSupplyAirCFM>6</intSummerSupplyAirCFM> <intUnitNo>2</intUnitNo> <intUnitTypeId>4</intUnitTypeId> <intWinterReturnAirCFM>9</intWinterReturnAirCFM> <intWinterSupplyAirCFM>8</intWinterSupplyAirCFM> </oUnitAirflow> <oUnitCompOpt> <dblBackupHeatingSetpointDB>80.1</dblBackupHeatingSetpointDB> <dblCoolingDX_VRVKitTonnage>47.1</dblCoolingDX_VRVKitTonnage> <dblCoolingFluidEntTemp>34.1</dblCoolingFluidEntTemp> <dblCoolingFluidLvgTemp>35.1</dblCoolingFluidLvgTemp> <dblCoolingSetpointDB>41.1</dblCoolingSetpointDB> <dblCoolingSetpointWB>42.1</dblCoolingSetpointWB> <dblHeatingFluidEntTemp>54.1</dblHeatingFluidEntTemp> <dblHeatingFluidLvgTemp>55.1</dblHeatingFluidLvgTemp> <dblHeatingSetpointDB>56.1</dblHeatingSetpointDB> <dblOAFilterPD>10.1</dblOAFilterPD> <dblPreheatFluidEntTemp>19.1</dblPreheatFluidEntTemp> <dblPreheatFluidLvgTemp>20.1</dblPreheatFluidLvgTemp> <dblPreheatSetpointDB>21.1</dblPreheatSetpointDB> <dblRAFilterPD>11.1</dblRAFilterPD> <dblRefrigCondensingTemp>69.1</dblRefrigCondensingTemp> <dblRefrigLiquidTemp>39.1</dblRefrigLiquidTemp> <dblRefrigSubcoolingTemp>71.1</dblRefrigSubcoolingTemp> <dblRefrigSuctionTemp>38.1</dblRefrigSuctionTemp> <dblRefrigSuperheatTemp>40.1</dblRefrigSuperheatTemp> <dblRefrigVaporTemp>70.1</dblRefrigVaporTemp> <dblReheatFluidEntTemp>67.1</dblReheatFluidEntTemp> <dblReheatFluidLvgTemp>68.1</dblReheatFluidLvgTemp> <dblReheatHGRC_VRVKitTonnage>78.1</dblReheatHGRC_VRVKitTonnage> <dblReheatSetpointDB>72.1</dblReheatSetpointDB> <intCoolingCWCValveAndActuatorId>45</intCoolingCWCValveAndActuatorId> <intCoolingCompId>29</intCoolingCompId> <intCoolingDX_VRVKitQty>46</intCoolingDX_VRVKitQty> <intCoolingFluidConcentId>33</intCoolingFluidConcentId> <intCoolingFluidTypeId>32</intCoolingFluidTypeId> <intCoolingValveTypeId>44</intCoolingValveTypeId> <intDamperAndActuatorId>83</intDamperAndActuatorId> <intEKEXVKitInstallId>37</intEKEXVKitInstallId> <intElecHeaterQty>1</intElecHeaterQty> <intFilterConditionId>9</intFilterConditionId> <intHeatExchCompId>28</intHeatExchCompId> <intHeatingCompId>48</intHeatingCompId> <intHeatingElecHeaterInstallationId>49</intHeatingElecHeaterInstallationId> <intHeatingElecHeaterStdCoilNo>57</intHeatingElecHeaterStdCoilNo> <intHeatingElecHeaterVoltageId>50</intHeatingElecHeaterVoltageId> <intHeatingFluidConcentId>53</intHeatingFluidConcentId> <intHeatingFluidTypeId>52</intHeatingFluidTypeId> <intHeatingHWCValveAndActuatorId>60</intHeatingHWCValveAndActuatorId> <intHeatingValveTypeId>59</intHeatingValveTypeId> <intIsBackupHeating>79</intIsBackupHeating> <intIsCoolingValveAndActuatorIncluded>43</intIsCoolingValveAndActuatorIncluded> <intIsDaikinVRV>36</intIsDaikinVRV> <intIsDehumidification>31</intIsDehumidification> <intIsDrainPan>84</intIsDrainPan> <intIsHeatExchEA_Warning>85</intIsHeatExchEA_Warning> <intIsHeatPump>30</intIsHeatPump> <intIsHeatingElecHeaterVoltageSPP>51</intIsHeatingElecHeaterVoltageSPP> <intIsHeatingValveAndActuatorIncluded>58</intIsHeatingValveAndActuatorIncluded> <intIsMixingBox>12</intIsMixingBox> <intIsPreheatAutoSize>22</intIsPreheatAutoSize> <intIsPreheatElecHeatBackupOnly>27</intIsPreheatElecHeatBackupOnly> <intIsPreheatElecHeaterVoltageSPP>16</intIsPreheatElecHeaterVoltageSPP> <intIsPreheatValveAndActuatorIncluded>23</intIsPreheatValveAndActuatorIncluded> <intIsReheatElecHeaterVoltageSPP>64</intIsReheatElecHeaterVoltageSPP> <intIsReheatValveAndActuatorIncluded>73</intIsReheatValveAndActuatorIncluded> <intIsValveAndActuatorIncluded>81</intIsValveAndActuatorIncluded> <intJobId>1</intJobId> <intOAFilterModelId>6</intOAFilterModelId> <intPreheatCompId>13</intPreheatCompId> <intPreheatElecHeaterInstallationId>14</intPreheatElecHeaterInstallationId> <intPreheatElecHeaterStdCoilNo>25</intPreheatElecHeaterStdCoilNo> <intPreheatElecHeaterVoltageId>15</intPreheatElecHeaterVoltageId> <intPreheatFluidConcentId>18</intPreheatFluidConcentId> <intPreheatFluidTypeId>17</intPreheatFluidTypeId> <intPreheatHWCValveAndActuatorId>26</intPreheatHWCValveAndActuatorId> <intPreheatValveTypeId>24</intPreheatValveTypeId> <intProdTypeId>3</intProdTypeId> <intRAFilterModelId>8</intRAFilterModelId> <intReheatCompId>61</intReheatCompId> <intReheatElecHeaterInstallationId>62</intReheatElecHeaterInstallationId> <intReheatElecHeaterStdCoilNo>75</intReheatElecHeaterStdCoilNo> <intReheatElecHeaterVoltageId>63</intReheatElecHeaterVoltageId> <intReheatFluidConcentId>66</intReheatFluidConcentId> <intReheatFluidTypeId>65</intReheatFluidTypeId> <intReheatHGRC_VRVKitQty>77</intReheatHGRC_VRVKitQty> <intReheatHWCValveAndActuatorId>76</intReheatHWCValveAndActuatorId> <intReheatValveTypeId>74</intReheatValveTypeId> <intSAFinalFilterModelId>7</intSAFinalFilterModelId> <intUnitModelId>5</intUnitModelId> <intUnitNo>2</intUnitNo> <intUnitTypeId>4</intUnitTypeId> <intValveTypeId>82</intValveTypeId> </oUnitCompOpt> <oUnitCompOptCust> <dblCoolingCWCCap>10.1</dblCoolingCWCCap> <dblCoolingCWCFlowRate>12.1</dblCoolingCWCFlowRate> <dblHeatingHWCCap>14.1</dblHeatingHWCCap> <dblHeatingHWCFlowRate>16.1</dblHeatingHWCFlowRate> <dblPreheatHWCCap>6.1</dblPreheatHWCCap> <dblPreheatHWCFlowRate>8.1</dblPreheatHWCFlowRate> <dblReheatHWCCap>18.1</dblReheatHWCCap> <dblReheatHWCFlowRate>20.1</dblReheatHWCFlowRate> <intIsCoolingCWCUseCap>9</intIsCoolingCWCUseCap> <intIsCoolingCWCUseFlowRate>11</intIsCoolingCWCUseFlowRate> <intIsHeatingHWCUseCap>13</intIsHeatingHWCUseCap> <intIsHeatingHWCUseFlowRate>15</intIsHeatingHWCUseFlowRate> <intIsPreheatHWCUseCap>5</intIsPreheatHWCUseCap> <intIsPreheatHWCUseFlowRate>7</intIsPreheatHWCUseFlowRate> <intIsReheatHWCUseCap>17</intIsReheatHWCUseCap> <intIsReheatHWCUseFlowRate>19</intIsReheatHWCUseFlowRate> <intJobId>1</intJobId> <intProdTypeId>3</intProdTypeId> <intUnitNo>2</intUnitNo> <intUnitTypeId>4</intUnitTypeId> </oUnitCompOptCust> <oUnitLayout> <intCoolingCoilHandingId>7</intCoolingCoilHandingId> <intEAOpeningId>11</intEAOpeningId> <intHandingId>5</intHandingId> <intHeatingCoilHandingId>8</intHeatingCoilHandingId> <intJobId>1</intJobId> <intMixOADamperPosId>17</intMixOADamperPosId> <intMixRADamperPosId>18</intMixRADamperPosId> <intOAOpeningId>13</intOAOpeningId> <intPreheatCoilHandingId>6</intPreheatCoilHandingId> <intProdTypeId>3</intProdTypeId> <intRAOpeningId>15</intRAOpeningId> <intSAOpeningId>9</intSAOpeningId> <intUnitNo>2</intUnitNo> <intUnitTypeId>4</intUnitTypeId> <strEAOpening>sample string 12</strEAOpening> <strOAOpening>sample string 14</strOAOpening> <strRAOpening>sample string 16</strRAOpening> <strSAOpening>sample string 10</strSAOpening> </oUnitLayout> <oUser> <intUAL>2</intUAL> <intUserId>1</intUserId> </oUser> </UnitInputs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />