POST torque/update/torqueresultlist?ecNumber={ecNumber}


Takes a list of TorqueResult objects and updates all of their changed values in the database

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ecNumber

The Engineering Change reference number that goes with the change

string

Required

Body Parameters

The list of new/updated TorqueResult objects to be inserted/changed

TorqueResultList
NameDescriptionTypeAdditional information
TorqueResults

Collection of TorqueResult

None.

Request Formats

application/json, text/json

Sample:
{
  "TorqueResults": [
    {
      "torqueResultId": 1,
      "ecNumber": "sample string 2",
      "compressor": {
        "compressorId": 1,
        "ecNumber": "sample string 2",
        "compressorDescription": "sample string 3",
        "compressorImage": "sample string 4",
        "isNew": 5,
        "isChanged": 6,
        "isActive": 7
      },
      "boltUse": {
        "boltUseId": 1,
        "ecNumber": "sample string 2",
        "boltGroup": {
          "boltGroupId": 1,
          "boltGroupDescription": "sample string 2",
          "ecNumber": "sample string 3"
        },
        "boltUseDescription": "sample string 3",
        "isNew": 4,
        "isChanged": 5,
        "isActive": 6
      },
      "bolt": {
        "boltId": 1,
        "ecNumber": "sample string 2",
        "boltType": {
          "boltTypeId": 1,
          "ecNumber": "sample string 2",
          "boltTypeGradeValue": "sample string 3",
          "boltTypeDescription": "sample string 4",
          "boltTypeImage": "sample string 5",
          "isNew": 6,
          "isActive": 7
        },
        "boltSize": {
          "boltSizeId": 1,
          "ecNumber": "sample string 2",
          "boltSizeDescription": "sample string 3"
        },
        "boltThreadPerInch": {
          "boltThreadPerInchId": 1,
          "ecNumber": "sample string 2",
          "boltThreadPerInchDescription": "sample string 3"
        },
        "isNew": 3,
        "isChanged": 4,
        "isActive": 5
      },
      "lubrication": {
        "lubricationId": 1,
        "lubricationDescription": "sample string 2",
        "ecNumber": "sample string 3",
        "isNew": 4,
        "isChanged": 5,
        "isActive": 6
      },
      "note": {
        "noteId": 1,
        "ecNumber": "sample string 2",
        "noteDescription": "sample string 3",
        "isNew": 4,
        "isChanged": 5,
        "isActive": 6
      },
      "measurementUnit": {
        "measurementUnitId": 1,
        "ecNumber": "sample string 2",
        "measurementUnitDescription": "sample string 3"
      },
      "value": 3,
      "torqueModifier": {
        "torqueModifierId": 1,
        "torqueModifierDescription": "sample string 2"
      },
      "isNew": 4,
      "isChanged": 5,
      "isActive": 6,
      "isLegacy": 7
    },
    {
      "torqueResultId": 1,
      "ecNumber": "sample string 2",
      "compressor": {
        "compressorId": 1,
        "ecNumber": "sample string 2",
        "compressorDescription": "sample string 3",
        "compressorImage": "sample string 4",
        "isNew": 5,
        "isChanged": 6,
        "isActive": 7
      },
      "boltUse": {
        "boltUseId": 1,
        "ecNumber": "sample string 2",
        "boltGroup": {
          "boltGroupId": 1,
          "boltGroupDescription": "sample string 2",
          "ecNumber": "sample string 3"
        },
        "boltUseDescription": "sample string 3",
        "isNew": 4,
        "isChanged": 5,
        "isActive": 6
      },
      "bolt": {
        "boltId": 1,
        "ecNumber": "sample string 2",
        "boltType": {
          "boltTypeId": 1,
          "ecNumber": "sample string 2",
          "boltTypeGradeValue": "sample string 3",
          "boltTypeDescription": "sample string 4",
          "boltTypeImage": "sample string 5",
          "isNew": 6,
          "isActive": 7
        },
        "boltSize": {
          "boltSizeId": 1,
          "ecNumber": "sample string 2",
          "boltSizeDescription": "sample string 3"
        },
        "boltThreadPerInch": {
          "boltThreadPerInchId": 1,
          "ecNumber": "sample string 2",
          "boltThreadPerInchDescription": "sample string 3"
        },
        "isNew": 3,
        "isChanged": 4,
        "isActive": 5
      },
      "lubrication": {
        "lubricationId": 1,
        "lubricationDescription": "sample string 2",
        "ecNumber": "sample string 3",
        "isNew": 4,
        "isChanged": 5,
        "isActive": 6
      },
      "note": {
        "noteId": 1,
        "ecNumber": "sample string 2",
        "noteDescription": "sample string 3",
        "isNew": 4,
        "isChanged": 5,
        "isActive": 6
      },
      "measurementUnit": {
        "measurementUnitId": 1,
        "ecNumber": "sample string 2",
        "measurementUnitDescription": "sample string 3"
      },
      "value": 3,
      "torqueModifier": {
        "torqueModifierId": 1,
        "torqueModifierDescription": "sample string 2"
      },
      "isNew": 4,
      "isChanged": 5,
      "isActive": 6,
      "isLegacy": 7
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

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.