POST api/Analysis/UpsertSampleResults

Request Information

URI Parameters

None.

Body Parameters

SampleResultsDto
NameDescriptionTypeAdditional information
SampleId

integer

None.

Recommendation

string

None.

Recommendation2

string

None.

LubricantRatingId

byte

None.

ContaminationRatingId

byte

None.

WearMetalsRatingId

byte

None.

AdditivesRatingId

byte

None.

FerrographyRatingId

byte

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

IsSaveNext

boolean

None.

TransformerDissolvedGasAnalysysRecomm

string

None.

TransformerFuranAnalysysRecomm

string

None.

AnalysisDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SampleId": 1,
  "Recommendation": "sample string 2",
  "Recommendation2": "sample string 3",
  "LubricantRatingId": 64,
  "ContaminationRatingId": 64,
  "WearMetalsRatingId": 64,
  "AdditivesRatingId": 64,
  "FerrographyRatingId": 64,
  "CreatedBy": 4,
  "CreatedDate": "2026-07-29T08:49:01.8605488-06:00",
  "UpdatedBy": 1,
  "UpdatedDate": "2026-07-29T08:49:01.8605488-06:00",
  "IsSaveNext": true,
  "TransformerDissolvedGasAnalysysRecomm": "sample string 7",
  "TransformerFuranAnalysysRecomm": "sample string 8",
  "AnalysisDate": "2026-07-29T08:49:01.8605488-06:00"
}

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.