POST api/GlobalRegistry/UpsertCharacteristic
Request Information
URI Parameters
None.
Body Parameters
CharacteristicsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CharacteristicId | integer |
None. |
|
| Name | string |
Required Min length: 1 String length: inclusive between 0 and 50 |
|
| Description | string |
None. |
|
| UnitId | integer |
None. |
|
| TestMethodId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdateBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| StatusTypeId | byte |
None. |
|
| OrgId | integer |
None. |
|
| RoleId | integer |
None. |
|
| UserTypeId | byte |
None. |
|
| UnitName | string |
None. |
|
| TestMethodName | string |
None. |
|
| IsChecked | boolean |
None. |
|
| HasAnalysisGraph | boolean |
None. |
|
| CharacteristicOrderId | integer |
None. |
|
| AnalysisElementTypeId | integer |
None. |
|
| ShowInOilGrades | boolean |
None. |
|
| ShowInGeneralSamples | boolean |
None. |
|
| ShowInFerrographySamples | boolean |
None. |
|
| ShowInTataSamples | boolean |
None. |
|
| IsLabelOnly | boolean |
None. |
|
| ShowInTransformerSamples | boolean |
None. |
|
| ParentCharId | integer |
None. |
|
| SpIdChar | SpIdCharDto |
None. |
|
| CustomerChar | CustomerCharDto |
None. |
|
| JobCardChar | JobCardCharsDto |
None. |
|
| LubricantChar | LubricantCharsDto |
None. |
|
| AliasName | string |
None. |
|
| SubCharcteristics | Collection of CharacteristicsDto |
None. |
|
| Collapsed | boolean |
None. |
|
| IsIntermediate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CharacteristicId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"UnitId": 1,
"TestMethodId": 1,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:51:05.3975387-06:00",
"UpdateBy": 1,
"UpdatedDate": "2026-07-29T08:51:05.3975387-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:51:05.3975387-06:00"
},
"CustomerChar": {
"CustomerCharId": 1,
"CustomerId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:51:05.3975387-06:00"
},
"JobCardChar": {
"JobCardCharId": 1,
"JobCardId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:51:05.3975387-06:00"
},
"LubricantChar": {
"LubricantCharId": 1,
"LubricantTypeId": 2,
"CharacteristicId": 3,
"IsChecked": true,
"CreatedBy": 5,
"CreatedDate": "2026-07-29T08:51:05.3975387-06:00",
"UpdatedBy": 1,
"UpdatedDate": "2026-07-29T08:51:05.3975387-06:00"
},
"AliasName": "sample string 15",
"SubCharcteristics": [],
"Collapsed": true,
"IsIntermediate": true
}
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. |