<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: REST API Issue for service-now catalog in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027688#M684614</link>
    <description>&lt;P&gt;I looked at the variables and it looks like that service_offering is the only mandatory variable.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I just don't know how to add the service_offering variable to the variables.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I get a 400 Bad Request &lt;SPAN class="ng-binding"&gt;"Mandatory Variables are required".&lt;/SPAN&gt;&lt;STRONG class="ng-binding"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;Below is the Request body with my 2 elements:&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;{"sysparm_quantity":"1","variables":"{\"service_offering\":\"56aedfba0ff1b100f178317ce1050e2e\"}"}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;I think the problem is the variables element, it must not be formatted correctly, that's the only thing I can think of.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Sep 2017 17:50:07 GMT</pubDate>
    <dc:creator>esr124</dc:creator>
    <dc:date>2017-09-14T17:50:07Z</dc:date>
    <item>
      <title>REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027669#M684595</link>
      <description>&lt;P&gt;Hi I am planning to use REST API for service &amp;nbsp; catalog in C# and facing below issue while testing. Please help me to fix this issue -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test I navigated to "REST API Explorer" &amp;nbsp; in service now. While testing &lt;STRONG class="ng-binding"&gt;Add Item To Cart&lt;/STRONG&gt; &amp;nbsp; (POST) call fails. Please refer attached screen short.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;{&lt;BR /&gt; &amp;nbsp; "error": {&lt;BR /&gt; &amp;nbsp; "detail": "",&lt;BR /&gt; &amp;nbsp; "message": "Invalid Quantity value"&lt;BR /&gt; &amp;nbsp; },&lt;BR /&gt; &amp;nbsp; "status": "failure"&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;Please help me what the issue is?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 18:56:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027669#M684595</guid>
      <dc:creator>adityamadhira</dc:creator>
      <dc:date>2017-03-06T18:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027670#M684596</link>
      <description>&lt;P&gt;It's a bit difficult to see your screenshot, but it looks like in the body 'quantity' is misspelled. &amp;nbsp; It appears you're setting 'quantitiy' (extra i before the y)&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 19:12:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027670#M684596</guid>
      <dc:creator>fredflintstone</dc:creator>
      <dc:date>2017-03-06T19:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027671#M684597</link>
      <description>&lt;P&gt;Hi Aditya, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I don't think you can use quantity in cart, as the field is on the cart item table.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 19:12:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027671#M684597</guid>
      <dc:creator>karthik73</dc:creator>
      <dc:date>2017-03-06T19:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027672#M684598</link>
      <description>&lt;P&gt;Hi Aditya, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The parameter for quantity is sysparm_quantity, &lt;A href="https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/integrate/inbound-rest/reference/r_SCatAPIUpdateCartItemPOST.html" title="https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/integrate/inbound-rest/reference/r_SCatAPIUpdateCartItemPOST.html"&gt;Service Catalog API - POST /sn_sc/servicecatalog/cart/{cart_item_id}&lt;/A&gt; . And i am able to update the quantity on the cart item by setting sysparm_quantity&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 19:22:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027672#M684598</guid>
      <dc:creator>karthik73</dc:creator>
      <dc:date>2017-03-06T19:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027673#M684599</link>
      <description>&lt;P&gt;I am seeing below error , after adding syspam_quantity&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &lt;SPAN class="ng-binding"&gt;{&lt;BR /&gt; &amp;nbsp; "error": {&lt;BR /&gt; &amp;nbsp; "detail": "",&lt;BR /&gt; &amp;nbsp; "message": "Security constraints prevent ordering of Item"&lt;BR /&gt; &amp;nbsp; },&lt;BR /&gt; &amp;nbsp; "status": "failure"&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:16:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027673#M684599</guid>
      <dc:creator>adityamadhira</dc:creator>
      <dc:date>2017-03-06T21:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027674#M684600</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/61197i2B6D8D7AE41B882D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:17:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027674#M684600</guid>
      <dc:creator>adityamadhira</dc:creator>
      <dc:date>2017-03-06T21:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027675#M684601</link>
      <description>&lt;P&gt;Hi Aditya, Which sys_id are you providing in the request?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You &amp;nbsp; have to provide the sys id of the catalog item &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:35:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027675#M684601</guid>
      <dc:creator>karthik73</dc:creator>
      <dc:date>2017-03-06T21:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027676#M684602</link>
      <description>&lt;P&gt;Also please ensure you have access to the catalog item&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:39:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027676#M684602</guid>
      <dc:creator>karthik73</dc:creator>
      <dc:date>2017-03-06T21:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027677#M684603</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="catalogitem.PNG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/61195iA55BC211D2E5DC1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="catalogitem.PNG" alt="catalogitem.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Provided below item sysid.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/61193iFD4BD9E80509830C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:39:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027677#M684603</guid>
      <dc:creator>adityamadhira</dc:creator>
      <dc:date>2017-03-06T21:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027678#M684604</link>
      <description>&lt;P&gt;Are you aware of any security constraints on the item? Have you tried sending the request as a different user?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:56:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027678#M684604</guid>
      <dc:creator>karthik73</dc:creator>
      <dc:date>2017-03-06T21:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027679#M684605</link>
      <description>&lt;P&gt;I trying with user that admin,catalog &amp;amp; catalog_admin &amp;amp; security_admin roles. Do I miss any info&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2017 22:12:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027679#M684605</guid>
      <dc:creator>adityamadhira</dc:creator>
      <dc:date>2017-03-06T22:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027680#M684606</link>
      <description>&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Did you get any solution to this issue of invalid quantity?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Jaspal Singh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2017 13:12:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027680#M684606</guid>
      <dc:creator>Jaspal Singh</dc:creator>
      <dc:date>2017-06-12T13:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027681#M684607</link>
      <description>&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Did you get it worked or you weren't able to?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Jaspal Singh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2017 10:06:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027681#M684607</guid>
      <dc:creator>Jaspal Singh</dc:creator>
      <dc:date>2017-06-21T10:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027682#M684608</link>
      <description>&lt;P&gt;Did you ever get this error resolved? &amp;nbsp; I'm having the same issue. &amp;nbsp; Adding a catalog item to the cart with the API getting the same error. &amp;nbsp; When I set the &lt;STRONG&gt;sysparm_quantity&lt;/STRONG&gt; value to &lt;STRONG&gt;1&lt;/STRONG&gt; I get the same error.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Sep 2017 15:24:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027682#M684608</guid>
      <dc:creator>esr124</dc:creator>
      <dc:date>2017-09-12T15:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027683#M684609</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Try passing in header as below&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/61194i4196F63924210312/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Sep 2017 15:48:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027683#M684609</guid>
      <dc:creator>Jaspal Singh</dc:creator>
      <dc:date>2017-09-12T15:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027684#M684610</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;curl "&lt;/SPAN&gt;&lt;A title="k-external-small" class="jive-link-external-small" href="https://instance_name.service-now.com/api/sn_sc/servicecatalog/items/04b7e94b4f7b4200086eeed18110c7fd/add_to_cart" rel="nofollow" target="_blank"&gt;https://instance_name.service-now.com/api/sn_sc/servicecatalog/items/04b7e94b4f7b4200086eeed18110c7fd/add_to_cart&lt;/A&gt;&lt;SPAN&gt;" \&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;--request POST \&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;--header "Accept:application/json" \&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;--header "Content-Type:application/json" \&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;--data "{\"sysparm_quantity\":\"1\"}" \&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;--user 'admin':'admin'&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;gave this response:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;{&lt;BR /&gt; &amp;nbsp; "result": {&lt;BR /&gt; &amp;nbsp; "cart_id": "ad08fe9413b04b00125ad8228144b0bc",&lt;BR /&gt; &amp;nbsp; "subtotal": "$1,100.00",&lt;BR /&gt; &amp;nbsp; "items": [&lt;BR /&gt; &amp;nbsp; {&lt;BR /&gt; &amp;nbsp; "catalog_item_id": "04b7e94b4f7b4200086eeed18110c7fd",&lt;BR /&gt; &amp;nbsp; "quantity": "1",&lt;BR /&gt; &amp;nbsp; "localized_price": "$1,100.00",&lt;BR /&gt; &amp;nbsp; "price": "$1,100.00",&lt;BR /&gt; &amp;nbsp; "recurring_frequency": "Annually",&lt;BR /&gt; &amp;nbsp; "localized_recurring_price": "$100.00",&lt;BR /&gt; &amp;nbsp; "recurring_price": "$100.00",&lt;BR /&gt; &amp;nbsp; "item_name": "Standard Laptop",&lt;BR /&gt; &amp;nbsp; "cart_item_id": "40838c6713894300125ad8228144b0e0"&lt;BR /&gt; &amp;nbsp; }&lt;BR /&gt; &amp;nbsp; ]&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Sep 2017 16:33:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027684#M684610</guid>
      <dc:creator>tony_barratt</dc:creator>
      <dc:date>2017-09-12T16:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027685#M684611</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-09-12 at 6.34.51 PM.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/61196i6A0F0C9AE8C87D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-09-12 at 6.34.51 PM.png" alt="Screen Shot 2017-09-12 at 6.34.51 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Sep 2017 16:35:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027685#M684611</guid>
      <dc:creator>tony_barratt</dc:creator>
      <dc:date>2017-09-12T16:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027686#M684612</link>
      <description>&lt;P&gt;Using the REST API Explorer withing ServiceNow I was able to get the sysparm_quantity variable to be passed, but now it's giving me another error:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="ng-binding"&gt;Mandatory Variables are required&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="ng-binding"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;I looked at the catalog item. &amp;nbsp; When I go to that catalog item's form and right-click and select Configure variables, there is only one variable listed: service_offering.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2017 17:22:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027686#M684612</guid>
      <dc:creator>esr124</dc:creator>
      <dc:date>2017-09-14T17:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027687#M684613</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Could you generate the curl code from the REST api explorer and post it - along the lines of my post Sept 12?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There may be some clues there!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2017 17:39:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027687#M684613</guid>
      <dc:creator>tony_barratt</dc:creator>
      <dc:date>2017-09-14T17:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Issue for service-now catalog</title>
      <link>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027688#M684614</link>
      <description>&lt;P&gt;I looked at the variables and it looks like that service_offering is the only mandatory variable.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I just don't know how to add the service_offering variable to the variables.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I get a 400 Bad Request &lt;SPAN class="ng-binding"&gt;"Mandatory Variables are required".&lt;/SPAN&gt;&lt;STRONG class="ng-binding"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;Below is the Request body with my 2 elements:&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;{"sysparm_quantity":"1","variables":"{\"service_offering\":\"56aedfba0ff1b100f178317ce1050e2e\"}"}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;I think the problem is the variables element, it must not be formatted correctly, that's the only thing I can think of.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2017 17:50:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/rest-api-issue-for-service-now-catalog/m-p/2027688#M684614</guid>
      <dc:creator>esr124</dc:creator>
      <dc:date>2017-09-14T17:50:07Z</dc:date>
    </item>
  </channel>
</rss>

