<?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>topic Re: CCWR List Quote API in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192517#M1131</link>
    <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/293649"&gt;@Marcel Zehnder&lt;/a&gt;&amp;nbsp;i dont know this doc/api. Only thing i can think of is if the API requires the list to be wrapped in square brackets? I had a look and cannot find any code examples&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "billToLocation": [123456789]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bit of an old thread, but has a contact email on there&amp;nbsp;&lt;A href="https://community.cisco.com/t5/services-discussions/ccw-r-api-availability/td-p/3599580" target="_blank"&gt;https://community.cisco.com/t5/services-discussions/ccw-r-api-availability/td-p/3599580&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update whilst replying, i found the doc here&amp;nbsp;&lt;A href="https://apidocs-prod.cisco.com/explore;category=6083723925042e9035f6a750;epname=6083723a25042e9035f6a769;apiendpt=642f09ead0cb02238b1dae31" target="_blank"&gt;https://apidocs-prod.cisco.com/explore;category=6083723925042e9035f6a750;epname=6083723a25042e9035f6a769;apiendpt=642f09ead0cb02238b1dae31&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;What i noted was this&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;billToLocation[]	integer	billToLocation&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;I am 100% guessing here mate, purely based on the provided snippet "billToLocation[]integerbillToLocation," it seems there might be a formatting issue or a misunderstanding in the documentation. This leads me to think the most likely interpretation that the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;billToLocation&lt;/CODE&gt;&lt;SPAN&gt; field is an array (or list) containing one or more integer values, hence this is&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;denoted by square brackets &lt;/SPAN&gt;&lt;CODE class=""&gt;[]&lt;/CODE&gt;&lt;SPAN&gt; in JSON.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try the square brackets, if that breaks again, i would go via the email and ask what the support for this API is or some working examples.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 09:40:27 GMT</pubDate>
    <dc:creator>bigevilbeard</dc:creator>
    <dc:date>2024-09-10T09:40:27Z</dc:date>
    <item>
      <title>CCWR List Quote API</title>
      <link>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192440#M1130</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Anybody using the CCWR List Quote API successfully?&lt;/P&gt;
&lt;P&gt;According to the documentation the endpoint is&amp;nbsp;&lt;A href="https://apix.cisco.com/ccw/renewals/api/v1.0/quote/manager" target="_blank" rel="noopener"&gt;https://apix.cisco.com/ccw/renewals/api/v1.0/quote/manager&lt;/A&gt;&amp;nbsp;(POST) and the only mandatory field is "billToLocation" (as a list of integers):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
    "billToLocation":[123456789]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sending the request (Bearer Authorization Token is OK and for sure I change 123456789 to my acutal BID) results in a HTTP 400/bad request.&lt;/P&gt;
&lt;P&gt;Any help is very much appreciated&lt;BR /&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 07:05:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192440#M1130</guid>
      <dc:creator>Marcel Zehnder</dc:creator>
      <dc:date>2024-09-10T07:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: CCWR List Quote API</title>
      <link>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192517#M1131</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/293649"&gt;@Marcel Zehnder&lt;/a&gt;&amp;nbsp;i dont know this doc/api. Only thing i can think of is if the API requires the list to be wrapped in square brackets? I had a look and cannot find any code examples&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "billToLocation": [123456789]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bit of an old thread, but has a contact email on there&amp;nbsp;&lt;A href="https://community.cisco.com/t5/services-discussions/ccw-r-api-availability/td-p/3599580" target="_blank"&gt;https://community.cisco.com/t5/services-discussions/ccw-r-api-availability/td-p/3599580&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update whilst replying, i found the doc here&amp;nbsp;&lt;A href="https://apidocs-prod.cisco.com/explore;category=6083723925042e9035f6a750;epname=6083723a25042e9035f6a769;apiendpt=642f09ead0cb02238b1dae31" target="_blank"&gt;https://apidocs-prod.cisco.com/explore;category=6083723925042e9035f6a750;epname=6083723a25042e9035f6a769;apiendpt=642f09ead0cb02238b1dae31&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;What i noted was this&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;billToLocation[]	integer	billToLocation&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;I am 100% guessing here mate, purely based on the provided snippet "billToLocation[]integerbillToLocation," it seems there might be a formatting issue or a misunderstanding in the documentation. This leads me to think the most likely interpretation that the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;billToLocation&lt;/CODE&gt;&lt;SPAN&gt; field is an array (or list) containing one or more integer values, hence this is&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;denoted by square brackets &lt;/SPAN&gt;&lt;CODE class=""&gt;[]&lt;/CODE&gt;&lt;SPAN&gt; in JSON.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try the square brackets, if that breaks again, i would go via the email and ask what the support for this API is or some working examples.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 09:40:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192517#M1131</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-09-10T09:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: CCWR List Quote API</title>
      <link>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192541#M1132</link>
      <description>&lt;P&gt;Thanks mate, I was thinking the same and therefore alreday tried almost all possbile options.&amp;nbsp; I tried with the following JSON payloads, all resulting in 400 bad request:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;# int
{
    "billToLocation": 123456789
}

# string
{
    "billToLocation": "123456789"
}

# int-array
{
    "billToLocation": [123456789]
}

# string-array
{
    "billToLocation": ["123456789"]
}
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 10 Sep 2024 10:23:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192541#M1132</guid>
      <dc:creator>Marcel Zehnder</dc:creator>
      <dc:date>2024-09-10T10:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: CCWR List Quote API</title>
      <link>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192552#M1133</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/293649"&gt;@Marcel Zehnder&lt;/a&gt;&amp;nbsp;yes odd, i then saw the example code... (below), i wondering if this is not the only mandatory field you need, i hoped the 400 error should have typically come with more details in the response body to help clue you in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;the example code shows - {
  "billToLocation": 80616,
  "createdBy": "rkatkam",
  "daysBeforeToday": 10,
  "fromDate": "02-02-2020",
  "lastUpdateDaysBeforeToday": 10,
  "lastUpdateFromDate": "02-02-2023",
  "lastUpdateToDate": "03-02-2023",
  "limit": 1000,
  "offset": 0,
  "quoteSource": [
    "API/B2B"
  ],
  "quoteStatus": [
    "Valid"
  ],
  "quoteType": [
    "SFC"
  ],
  "resellerBillToLocation": [
    82555
  ],
  "toDate": "03-02-2020"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 10:47:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5192552#M1133</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-09-10T10:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: CCWR List Quote API</title>
      <link>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5207211#M1138</link>
      <description>&lt;P&gt;I just discovered what's the problem with my requests:&lt;/P&gt;
&lt;P&gt;Make sure to set the &lt;STRONG&gt;Request-id HTTP header&lt;/STRONG&gt; (a random int) when using the API. According to the documentation (&lt;A href="https://www.cisco.com/E-Learning/gbo-ccw/cdc_bulk/Cisco_Commerce_B2B_Implementation_Guides/Implementation_Guides/CCWR/List_Quote_API/List_Quote_API_IG.V.3.0.pdf" target="_blank" rel="noopener"&gt;https://www.cisco.com/E-Learning/gbo-ccw/cdc_bulk/Cisco_Commerce_B2B_Implementation_Guides/Implementation_Guides/CCWR/List_Quote_API/List_Quote_API_IG.V.3.0.pdf&lt;/A&gt;&amp;nbsp;/ page 8 / section 2.4) this property is optional, turned out it isn't.&lt;BR /&gt;&lt;BR /&gt;Regarding the payload, the only mandatory field is "billToLocation" as a list/array of integers:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
    "billToLocation":[10000001]
}&lt;/LI-CODE&gt;
&lt;P&gt;Hope this helps&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 13:41:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5207211#M1138</guid>
      <dc:creator>Marcel Zehnder</dc:creator>
      <dc:date>2024-10-11T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: CCWR List Quote API</title>
      <link>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5207220#M1139</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/293649"&gt;@Marcel Zehnder&lt;/a&gt;&amp;nbsp;one would not have figured that out in a million years!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 13:50:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5207220#M1139</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-10-11T13:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: CCWR List Quote API</title>
      <link>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5208116#M1140</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/352839"&gt;@bigevilbeard&lt;/a&gt;&amp;nbsp;It was kind of a lucky punch - I noticed in other CCWR-related API docs, the paramater was listed as a required, so I gave it a try.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 06:08:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/ccwr-list-quote-api/m-p/5208116#M1140</guid>
      <dc:creator>Marcel Zehnder</dc:creator>
      <dc:date>2024-10-14T06:08:07Z</dc:date>
    </item>
  </channel>
</rss>

