Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Bulk ServiceItems Creation though HTTP REST API call on CiscoPrimeServiceCatalog10

Creating single service item is happening as mentioned below, but i want to know how to do it for bulk of service items can be processed in single request?

Please provide me xml or a way to do bulk create service items.

Create Service Item

Creates a service item.

POST URL:

http://<ServerURL>/RequestCenter/nsapi/serviceitem/process

xml:

<serviceitem>

<name>custom_sitype</name>

<serviceItemData>

<serviceItemAttribute name="Name">sit1</serviceItemAttribute>

<serviceItemAttribute name="Field1">a</serviceItemAttribute>

<serviceItemAttribute name="Field2">b</serviceItemAttribute>

</serviceItemData>

</serviceitem>

2 REPLIES
Cisco Employee

Bulk ServiceItems Creation though HTTP REST API call on CiscoPri

This is the format we used earlier for bulk SI creation. But never tried with in CCP itself. Try your luck.

<

create

>

LaptopComputer

LT-LENVT60-17032

Thinkpad T60

LENOVO

899.99

3

2009-04-15

12:00:00

jsmith

Finance

DesktopComputer

DT-DELLV200-02274

Vostro 200

DELL

755.99

4

2010-03-01

12:00:00

New Member

Bulk ServiceItems Creation though HTTP REST API call on CiscoPri

Tried kiran this one, getting error:

JAXBException occurred : unexpected element (uri:"", local:"message"). Expected elements are <{}serviceitem>. 

Actually that works fine with estore 9.4 with some turn around and not working with estore 10.0

155
Views
0
Helpful
2
Replies