POST torque/reject/torqueresult


Rejects pending changes to the TorqueResult object that is passed in

Request Information

URI Parameters

None.

Body Parameters

The TorqueResult object with the unwanted changes

TorqueResult
NameDescriptionTypeAdditional information
torqueResultId

integer

None.

ecNumber

string

None.

compressor

Compressor

None.

boltUse

BoltUse

None.

bolt

Bolt

None.

lubrication

Lubrication

None.

note

Note

None.

measurementUnit

MeasurementUnit

None.

value

integer

None.

torqueModifier

TorqueModifier

None.

isNew

integer

None.

isChanged

integer

None.

isActive

integer

None.

isLegacy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "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.