Create a product offering in ServiceNow with specific characteristics (Order Management Telecom)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2023 08:13 AM
i send this payload using postman "post" to servicenow instance for create a product offering, the product offering is created in the instance but it recovers all the characteristics of the product specification even if I specified in the payload the characteristics that it must be created with.
Payload
Product Offering Characteristics (18)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2023 09:05 AM
Hi @hajar231 ,
Hope you are doing great.
The issue seems to be related to the association of product specification characteristics with the product offering.To resolve this issue, you need to make sure that the product offering is properly linked to the desired product specification characteristics in the payload.
below is example on how you can modify the payload.
{
"name": "Test payload Premium Unlimited mobile plan",
"description": "Test payload Premium Unlimited voice, data and SMS plan",
"lastUpdate": "2023-06-07 04:55:34",
"validFor": {
"startDateTime": "2022-07-18",
"endDateTime": "2027-07-18"
},
"productOfferingTerm": "12_months",
"productOfferingPrice": [
{
"priceType": "recurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 59
}
}
},
{
"priceType": "nonRecurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
}
],
"productSpecification": {
"id": "3ee1fdb1c3331010d216b5183c40dd81",
"name": "Mobile Plan",
"version": "1"
},
"prodSpecCharValueUse": [
{
"name": "Data Pack",
"description": "Characteristic for data pack options",
"valueType": "choice",
"validFor": {
"startDatetime": "2020-09-28 09:54:02"
},
"productSpecCharacteristicValue": [
{
"value": "Unlimited",
"validFor": {
"startDateTime": ""
}
}
],
"productSpecification": {
"id": "3ee1fdb1c3331010d216b5183c40dd81",
"name": "Mobile Plan"
}
},
{
"name": "Voice Pack",
"description": "Characteristic for voice minutes options",
"valueType": "choice",
"validFor": {
"startDatetime": "2020-09-28 09:51:41"
},
"productSpecCharacteristicValue": [
{
"value": "Unlimited",
"validFor": {
"startDateTime": ""
}
}
],
"productSpecification": {
"id": "3ee1fdb1c3331010d216b5183c40dd81",
"name": "Mobile Plan"
}
},
{
"name": "Shipping Address",
"description": "Shipping Address",
"valueType": "address",
"validFor": {
"startDatetime": "2020-10-28 11:42:38"
},
"productSpecCharacteristicValue": [],
"productSpecification": {
"id": "3ee1fdb1c3331010d216b5183c40dd81",
"name": "Mobile Plan"
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2023 10:09 AM
hello
Sorry, but i can't see any changes or correction on the payload that you provide, it the same payload that i posted;