POST api/Job/SaveJob
Request Information
URI Parameters
None.
Body Parameters
JobInputsName | Description | Type | Additional information |
---|---|---|---|
oJob | JobModelNew |
None. |
Request Formats
application/json, text/json
Sample:
{ "oJob": { "intJobId": 1, "intCreatedUserId": 2, "intRevisedUserId": 3, "strJobName": "sample string 4", "intBasisOfDesignId": 5, "strProjectInternalId": "sample string 6", "strReferenceNo": "sample string 7", "intRevisionNo": 8, "intCompanyNameId": 9, "strCompanyName": "sample string 10", "intCompanyContactNameId": 11, "strCompanyContactName": "sample string 12", "strSpecifyingFirm": "sample string 13", "intApplicationId": 14, "strApplicationOther": "sample string 15", "intUoMId": 16, "intDesignConditionsId": 17, "strCountry": "sample string 18", "strProvState": "sample string 19", "intCityId": 20, "intAltitude": 21, "dblSummerOA_DB": 22.1, "dblSummerOA_WB": 23.1, "dblSummerOA_RH": 24.1, "dblWinterOA_DB": 25.1, "dblWinterOA_WB": 26.1, "dblWinterOA_RH": 27.1, "dblSummerRA_DB": 28.1, "dblSummerRA_WB": 29.1, "dblSummerRA_RH": 30.1, "dblWinterRA_DB": 31.1, "dblWinterRA_WB": 32.1, "dblWinterRA_RH": 33.1, "strCreatedDate": "sample string 34", "strRevisedDate": "sample string 35", "intIsTestNewPrice": 36 } }
application/xml, text/xml
Sample:
<JobInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oxygen8SelectorApi.Models"> <oJob> <dblSummerOA_DB>22.1</dblSummerOA_DB> <dblSummerOA_RH>24.1</dblSummerOA_RH> <dblSummerOA_WB>23.1</dblSummerOA_WB> <dblSummerRA_DB>28.1</dblSummerRA_DB> <dblSummerRA_RH>30.1</dblSummerRA_RH> <dblSummerRA_WB>29.1</dblSummerRA_WB> <dblWinterOA_DB>25.1</dblWinterOA_DB> <dblWinterOA_RH>27.1</dblWinterOA_RH> <dblWinterOA_WB>26.1</dblWinterOA_WB> <dblWinterRA_DB>31.1</dblWinterRA_DB> <dblWinterRA_RH>33.1</dblWinterRA_RH> <dblWinterRA_WB>32.1</dblWinterRA_WB> <intAltitude>21</intAltitude> <intApplicationId>14</intApplicationId> <intBasisOfDesignId>5</intBasisOfDesignId> <intCityId>20</intCityId> <intCompanyContactNameId>11</intCompanyContactNameId> <intCompanyNameId>9</intCompanyNameId> <intCreatedUserId>2</intCreatedUserId> <intDesignConditionsId>17</intDesignConditionsId> <intIsTestNewPrice>36</intIsTestNewPrice> <intJobId>1</intJobId> <intRevisedUserId>3</intRevisedUserId> <intRevisionNo>8</intRevisionNo> <intUoMId>16</intUoMId> <strApplicationOther>sample string 15</strApplicationOther> <strCompanyContactName>sample string 12</strCompanyContactName> <strCompanyName>sample string 10</strCompanyName> <strCountry>sample string 18</strCountry> <strCreatedDate>sample string 34</strCreatedDate> <strJobName>sample string 4</strJobName> <strProjectInternalId>sample string 6</strProjectInternalId> <strProvState>sample string 19</strProvState> <strReferenceNo>sample string 7</strReferenceNo> <strRevisedDate>sample string 35</strRevisedDate> <strSpecifyingFirm>sample string 13</strSpecifyingFirm> </oJob> </JobInputs>
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/" />