Blogs

Showing 0 results.

Forums

Combination View Flat View Tree View
Threads [ Previous | Next ]
I'm attempting to use getAccessTickets.  The response I get contains nothing that could be taken as a ticket.  Response included below...
 

<xml-fragment xmlns:vp="http://model.data.core.vportal.cisco.com/vp_ns">
  <vp:vportal>
    <vportal_id>1</vportal_id>
  </vp:vportal>
  <vp:vprequest>
    <query>getAccessTickets</query>
  </vp:vprequest>
  <vp:vpTicketRequest>
    <ticketUri>GenericFileUpload</ticketUri>
    <ticketQuantity>1</ticketQuantity>
  </vp:vpTicketRequest>
  <vp:vpresponse>
    <user>joe_domoto</user>
    <response>true</response>
    <request_xml><![CDATA[<xml-fragment xmlns:vp="http://model.data.core.vportal.cisco.com/vp_ns">
  <vp:vportal>
    <vportal_id>1</vportal_id>
  </vp:vportal>
  <vp:vprequest>
    <query>getAccessTickets</query>
  </vp:vprequest>
  <vp:vpTicketRequest>
    <ticketUri>GenericFileUpload</ticketUri>
    <ticketQuantity>1</ticketQuantity>
  </vp:vpTicketRequest>
</xml-fragment>]]></request_xml>
  </vp:vpresponse>
</xml-fragment>

I found the problem to be that the request used vp:vpTicketRequest rather than just vpTicketRequest.  It would be nice if some sort of informative status were provided.  It seems like the status code should be used or there should be an element for status in the response xml.   

Collateral


No files available