POST api/GlobalRegistry/UpsertLubricantChars
Request Information
URI Parameters
None.
Body Parameters
LubricantTypesDto| Name | Description | Type | Additional information |
|---|---|---|---|
| LubricantTypeId | integer |
None. |
|
| Name | string |
None. |
|
| OrgId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| StatusTypeId | byte |
None. |
|
| lstLubricantChars | Collection of CharacteristicsDto |
None. |
|
| lstCharIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LubricantTypeId": 1,
"Name": "sample string 2",
"OrgId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00",
"UpdatedBy": 1,
"UpdatedDate": "2026-07-29T08:52:59.3239502-06:00",
"StatusTypeId": 64,
"lstLubricantChars": [
{
"CharacteristicId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"UnitId": 1,
"TestMethodId": 1,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00",
"UpdateBy": 1,
"UpdatedDate": "2026-07-29T08:52:59.3239502-06:00",
"StatusTypeId": 64,
"OrgId": 7,
"RoleId": 8,
"UserTypeId": 64,
"UnitName": "sample string 10",
"TestMethodName": "sample string 11",
"IsChecked": true,
"HasAnalysisGraph": true,
"CharacteristicOrderId": 1,
"AnalysisElementTypeId": 14,
"ShowInOilGrades": true,
"ShowInGeneralSamples": true,
"ShowInFerrographySamples": true,
"ShowInTataSamples": true,
"IsLabelOnly": true,
"ShowInTransformerSamples": true,
"ParentCharId": 1,
"SpIdChar": {
"SpidChariId": 1,
"Spid": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00"
},
"CustomerChar": {
"CustomerCharId": 1,
"CustomerId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00"
},
"JobCardChar": {
"JobCardCharId": 1,
"JobCardId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00"
},
"LubricantChar": {
"LubricantCharId": 1,
"LubricantTypeId": 2,
"CharacteristicId": 3,
"IsChecked": true,
"CreatedBy": 5,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00",
"UpdatedBy": 1,
"UpdatedDate": "2026-07-29T08:52:59.3239502-06:00"
},
"AliasName": "sample string 15",
"SubCharcteristics": [],
"Collapsed": true,
"IsIntermediate": true
},
{
"CharacteristicId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"UnitId": 1,
"TestMethodId": 1,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00",
"UpdateBy": 1,
"UpdatedDate": "2026-07-29T08:52:59.3239502-06:00",
"StatusTypeId": 64,
"OrgId": 7,
"RoleId": 8,
"UserTypeId": 64,
"UnitName": "sample string 10",
"TestMethodName": "sample string 11",
"IsChecked": true,
"HasAnalysisGraph": true,
"CharacteristicOrderId": 1,
"AnalysisElementTypeId": 14,
"ShowInOilGrades": true,
"ShowInGeneralSamples": true,
"ShowInFerrographySamples": true,
"ShowInTataSamples": true,
"IsLabelOnly": true,
"ShowInTransformerSamples": true,
"ParentCharId": 1,
"SpIdChar": {
"SpidChariId": 1,
"Spid": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00"
},
"CustomerChar": {
"CustomerCharId": 1,
"CustomerId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00"
},
"JobCardChar": {
"JobCardCharId": 1,
"JobCardId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00"
},
"LubricantChar": {
"LubricantCharId": 1,
"LubricantTypeId": 2,
"CharacteristicId": 3,
"IsChecked": true,
"CreatedBy": 5,
"CreatedDate": "2026-07-29T08:52:59.3239502-06:00",
"UpdatedBy": 1,
"UpdatedDate": "2026-07-29T08:52:59.3239502-06:00"
},
"AliasName": "sample string 15",
"SubCharcteristics": [],
"Collapsed": true,
"IsIntermediate": true
}
],
"lstCharIds": [
1,
2
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |