[Backlogmanager] [FIWARE-JIRA] (HELP-8920) [fiware-stackoverflow] Is it possible to pass custom GET parameters when using the NGSI query method?

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Wed Sep 12 11:36:00 CEST 2018


     [ https://jira.fiware.org/browse/HELP-8920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-8920:
---------------------------------
    Description: 
Created question in FIWARE Q/A platform on 21-02-2017 at 23:02
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42379500/is-it-possible-to-pass-custom-get-parameters-when-using-the-ngsi-query-method


+Question:+
Is it possible to pass custom GET parameters when using the NGSI query method?

+Description:+
I'm trying to send personalised parameters through ngsi_connection.query function (e.g., NEW_PARAMETER). Is it possible? if so, how?

this.ngsi_connection.query(entityIdList, attributes, {
                        details: true,
                        limit: options.pageSize,
                        offset: (page - 1) * options.pageSize,
                        NEW_PARAMETER: "MY VALUE",
                        onSuccess: onNGSIQuerySuccess.bind(null, onSuccess, page),
                        onFailure: onError
                    });


Note: of course I have already test it, and the only parameters that seems to be included in the request are: limit, details, offset, as showed below.

<Request 'http://MY_IP:MY_PORT/v1/queryContext?limit=20&details=on&offset=0' [POST]>



  was:

Created question in FIWARE Q/A platform on 21-02-2017 at 23:02
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42379500/is-it-possible-to-pass-custom-get-parameters-when-using-the-ngsi-query-method


+Question:+
Is it possible to pass custom GET parameters when using the NGSI query method?

+Description:+
I'm trying to send personalised parameters through ngsi_connection.query function (e.g., NEW_PARAMETER). Is it possible? if so, how?

this.ngsi_connection.query(entityIdList, attributes, {
                        details: true,
                        limit: options.pageSize,
                        offset: (page - 1) * options.pageSize,
                        NEW_PARAMETER: "MY VALUE",
                        onSuccess: onNGSIQuerySuccess.bind(null, onSuccess, page),
                        onFailure: onError
                    });


Note: of course I have already test it, and the only parameters that seems to be included in the request are: limit, details, offset, as showed below.

<Request 'http://MY_IP:MY_PORT/v1/queryContext?limit=20&details=on&offset=0' [POST]>



     HD-Enabler: Orion

> [fiware-stackoverflow] Is it possible to pass custom GET parameters when using the NGSI query method?
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HELP-8920
>                 URL: https://jira.fiware.org/browse/HELP-8920
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>              Labels: fiware, fiware-wirecloud
>
> Created question in FIWARE Q/A platform on 21-02-2017 at 23:02
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42379500/is-it-possible-to-pass-custom-get-parameters-when-using-the-ngsi-query-method
> +Question:+
> Is it possible to pass custom GET parameters when using the NGSI query method?
> +Description:+
> I'm trying to send personalised parameters through ngsi_connection.query function (e.g., NEW_PARAMETER). Is it possible? if so, how?
> this.ngsi_connection.query(entityIdList, attributes, {
>                         details: true,
>                         limit: options.pageSize,
>                         offset: (page - 1) * options.pageSize,
>                         NEW_PARAMETER: "MY VALUE",
>                         onSuccess: onNGSIQuerySuccess.bind(null, onSuccess, page),
>                         onFailure: onError
>                     });
> Note: of course I have already test it, and the only parameters that seems to be included in the request are: limit, details, offset, as showed below.
> <Request 'http://MY_IP:MY_PORT/v1/queryContext?limit=20&details=on&offset=0' [POST]>



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy