ServiceNow-OMT- error in loading prod specification using TMF open api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 11:09 AM
Input field for characteristic is created as Choice only for any other input type value
API-
POST https://brightspeedtsmnonprod1.service-now.com/api/sn_prd_pm_adv/catalogmanagement/productspecification
REQUEST-
{
"externalId": "Test_PM_PH1",
"name": "Test_PM_PH3",
"description": "test",
"specificationCategory": "7ebd4a3d877bc9507c178a8acebb359e",
"lastUpdate": "2023-07-16T00:00",
"validFor": {
"startDateTime": "2023-12-12T00:00"
},
"productSpecCharacteristic": [
{
"name": "MobileNumber",
"valueType": "single_line_text",
"@type": "ProductSpecificationCharacteristic",
"productSpecCharacteristicValue": [
{
"valueType": "single_line_text",
"validFor": {
"startDateTime": "2023-08-30T00:00"
},
"value": "Test"
}
]
}
],
"@type": "ProductSpecification"
}
RESPONSE
{
"id": "2fd53b04870df5507d070fa8cebb358f",
"version": "",
"internalId": "2fd53b04870df5507d070fa8cebb358f",
"externalId": "Test_PM_PH1",
"name": "Test_PM_PH3",
"description": "test",
"specificationCategory": "7ebd4a3d877bc9507c178a8acebb359e",
"lastUpdate": "2023-07-16T00:00",
"validFor": {
"startDateTime": "2023-12-12T00:00"
},
"productSpecCharacteristic": [
{
"name": "MobileNumber1",
"valueType": "choice",
"@type": "ProductSpecificationCharacteristic",
"productSpecCharacteristicValue": [
{
"valueType": "single_line_text",
"validFor": {
"startDateTime": "2023-08-30T00:00"
},
"value": "Test"
}
]
}
],
"@type": "ProductSpecification",
"internalVersion": "4"
}