POST api/ReportConfig/UpsertPrdGrd

Request Information

URI Parameters

None.

Body Parameters

OilGradeDto
NameDescriptionTypeAdditional information
OilGradeId

integer

None.

Name

string

None.

Description

string

None.

OrgId

integer

None.

AliasName

string

None.

Brand

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

StatusTypeId

byte

None.

CharacteristicId

integer

None.

CharName

string

None.

Value1

string

None.

LubCharValueTypeId

byte

None.

Value2

string

None.

LstOilGradeChars

Collection of OilGradeCharDto

None.

PageNo

integer

None.

PageSize

integer

None.

Totalrecords

integer

None.

SortColoum

string

None.

IsDsc

boolean

None.

TakeCount

integer

None.

SkipCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OilGradeId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "OrgId": 4,
  "AliasName": "sample string 5",
  "Brand": "sample string 6",
  "CreatedBy": 7,
  "CreatedDate": "2026-07-29T08:49:22.6667259-06:00",
  "UpdatedBy": 1,
  "UpdatedDate": "2026-07-29T08:49:22.6667259-06:00",
  "StatusTypeId": 64,
  "CharacteristicId": 10,
  "CharName": "sample string 11",
  "Value1": "sample string 12",
  "LubCharValueTypeId": 64,
  "Value2": "sample string 14",
  "LstOilGradeChars": [
    {
      "OilGradeId": 1,
      "CharacteristicId": 2,
      "LubCharValueTypeId": 64,
      "CharSpecComparisionTypeId": 1,
      "NormalCharValueTypeId": 64,
      "NormalValue1": "sample string 4",
      "NormalValue2": "sample string 5",
      "WarningLowerCharValueTypeId": 64,
      "WarningLowerValue1": "sample string 6",
      "WarningLowerValue2": "sample string 7",
      "WarningUpperCharValueTypeId": 64,
      "WarningUpperValue1": "sample string 8",
      "WarningUpperValue2": "sample string 9",
      "CriticalLowerCharValueTypeId": 64,
      "CriticalLowerValue1": "sample string 10",
      "CriticalLowerValue2": "sample string 11",
      "CriticalUpperCharValueTypeId": 64,
      "CriticalUpperValue1": "sample string 12",
      "CriticalUpperValue2": "sample string 13",
      "CreatedBy": 14,
      "CreatedDate": "2026-07-29T08:49:22.6677238-06:00",
      "UpdatedBy": 1,
      "UpdatedDate": "2026-07-29T08:49:22.6677238-06:00",
      "StatusTypeId": 64
    },
    {
      "OilGradeId": 1,
      "CharacteristicId": 2,
      "LubCharValueTypeId": 64,
      "CharSpecComparisionTypeId": 1,
      "NormalCharValueTypeId": 64,
      "NormalValue1": "sample string 4",
      "NormalValue2": "sample string 5",
      "WarningLowerCharValueTypeId": 64,
      "WarningLowerValue1": "sample string 6",
      "WarningLowerValue2": "sample string 7",
      "WarningUpperCharValueTypeId": 64,
      "WarningUpperValue1": "sample string 8",
      "WarningUpperValue2": "sample string 9",
      "CriticalLowerCharValueTypeId": 64,
      "CriticalLowerValue1": "sample string 10",
      "CriticalLowerValue2": "sample string 11",
      "CriticalUpperCharValueTypeId": 64,
      "CriticalUpperValue1": "sample string 12",
      "CriticalUpperValue2": "sample string 13",
      "CreatedBy": 14,
      "CreatedDate": "2026-07-29T08:49:22.6677238-06:00",
      "UpdatedBy": 1,
      "UpdatedDate": "2026-07-29T08:49:22.6677238-06:00",
      "StatusTypeId": 64
    }
  ],
  "PageNo": 15,
  "PageSize": 16,
  "Totalrecords": 17,
  "SortColoum": "sample string 18",
  "IsDsc": true,
  "TakeCount": 16,
  "SkipCount": 240
}

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.