- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 09:25 PM
Hello All,
I have one question on this TMF 641 Service Order API with the Service Catalog. My scenario is if I Ordered a service using 641 and I see Service Order is getting created in ServiceNow and goes for Approval. Now I want to add one component to this service that I ordered. Now what is the best way to add this to the existing order? do I need to cancel my service order and create a new one or API is having the option to tweak and add this additional component to the existing service order?
PaulSylo
Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 09:45 PM
HI @PaulSylo ,
I trust you are doing great.
can make use of the PUT method for the TMF641 Service Order API. This method allows you to update an existing service order by sending a JSON payload containing the updated details.
For example, let's say you want to add a new component with the ID "COMP001" to an existing service order with the ID "SO001". You can send the following JSON payload via the API:
{
"id": "SO001",
"relatedParty": [...],
"orderItem": [
{
"id": "OI001",
"type": "component",
"action": "add",
"productOffering": {
"id": "COMP001"
}
}
],
"note": "Added new component"
}
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 09:45 PM
HI @PaulSylo ,
I trust you are doing great.
can make use of the PUT method for the TMF641 Service Order API. This method allows you to update an existing service order by sending a JSON payload containing the updated details.
For example, let's say you want to add a new component with the ID "COMP001" to an existing service order with the ID "SO001". You can send the following JSON payload via the API:
{
"id": "SO001",
"relatedParty": [...],
"orderItem": [
{
"id": "OI001",
"type": "component",
"action": "add",
"productOffering": {
"id": "COMP001"
}
}
],
"note": "Added new component"
}
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 11:05 PM
Paul
I have tested PATCH also for Inflight Orders which are approved too.
It creates a new Version and state shows as revision in Progress.
Regards
RP