AnsweredAssumed Answered

VAPI: Error in response when URL has '$' in it

Question asked by yadmu02 Employee on Apr 11, 2015

Hi,

 

I am trying to create VAPI for the below GET operation:

 

/ServiceDesk/servicedesk/odata/CustomFieldMetadata?$filter=(FormName+eq+%27Incident%27+or+FormName+eq+%27Service+Request%27)&$select=AttributeName,AttrID

 

JSON Response will be something like below (or sometimes responses will be more) :

 

{

 

  "d": {

 

    "results": [

 

      {

 

        "__metadata": {

 

          "uri": "https://host/servicedesk/odata/CustomFieldMetadata(MdrElementID=1'234',MdrProdInstance='78514',MdrProduct='00050')",

 

          "type": "MDR.CustomFieldMetadata"

 

        },

 

        "TranslatedAttributeDefaultValue": ""

 

}]

 

}

 

Issue is when I create and execute this VAPI I am getting the below error. But when I remove '$' from the URL while creation it works fine. But my requirement is to have '$' as well in the URL. Any suggestions? TIA

 

Error:

 

<html>

 

    <head><title>404 Not Found</title></head>

 

    <body>

 

        <h1>Not Found</h1>

 

        <p>The requested URL was not found on this server.</p>

 

        <hr/>

 

        <p><i>The LISA VSE service could not match your request to a recorded request.  Consider expanding your service image.</i></p>

 

        <br/><font size="-2">Produced by a LISA virtualized web server.</font>

 

    </body>

 

</html>

Outcomes