Querying for contacts via webservices

When we query for contact records via webservices , it only checks those contacts created by the webservices and not by any other users.A user id has been created for the same as 'Web Interface', though when we login to the instance through this user id we are able to view all the records created by other users also.
Kindly help us with the issue
Thank you.
Edited by: user11089876 on May 4, 2009 10:07 PM

Hi,
Are you in R16 and using 2.0 WS APIs? If so please check what you are setting for the parameter "ViewMode". This may affect the data visibility. For more info, check the WS reference guide page 282. Hope it helps
-- Venky CRMIT

Similar Messages

  • Is there a way to query organisational hierarchy via webservices / IMS API?

    Hi,
    I'm trying to figure it out for a while but with no success... What I'd like to do is getting information on organisational hierarchy (a user's subordinates) via either the WS API or the IMS / SCORM one...
    Is there a way to do this?
    thanks
    peter

    I haven't heard of a way to do this. A persons manager is being stored, but as far as I know the whole hierarchy is being build when needed.
    Anders

  • Contact Alternate Address / Contact Address WebServices (Bug?)

    When I create a contact via webservices, I set values in the alternate address, alternate city and other alternate address fields. The contact is created and the address is displayed in the web user interface as the Contact Address.
    I retrieve the alternate address for the contact and it returns the correct values. When I change the alternate city, state, zip & country, the changes are reflected in the web user interface, however the web service interface returns the original address.
    Has anyone else experienced this issue are there any work arounds?
    Thanks in advance
    Pete
    [email protected]

    Hi,
    Anyone help me how to access activity web services methods?
    I have used Axis tool kit to generate the stubs and written java client as below.
    code:
    Activity_ServiceLocator sLoc = new Activity_ServiceLocator();
    String url = sLoc.getDefaultAddress() + "/activity;jsessionid="+ SessionString;
    sLoc.setDefaultEndpointAddress(url);
    Default_BindingStub oClient = (Default_BindingStub)sLoc.getDefault();
    ActivityNWS_Activity_QueryPage_Input queryInput = new ActivityNWS_Activity_QueryPage_Input();
    ActivityNWS_Activity_QueryPage_Output queryOutput = null;
    queryInput.setUseChildAnd("false");
    queryInput.setPageSize("20");
    queryInput.setStartRowNum("0");
    //I Stucked here how to set ListOfActivity. Please post some sample to set input and get output of the queryPage
    Activity_Type[] at = queryInput.getListOfActivity();
    at[1].getAccountId();
    queryInput.setListOfActivity(av);
    queryOutput = oClient.activity_QueryPage(queryInput);
    System.out.println(queryOutput.toString());
    After running this am getting the NullPionterException. Please please give me hints by posting the sample code?
    -Vishawnath

  • Af:query for master detail

    Hi Experts,
    Can we have an af:query to show master detail data ?
    What we generally have is af:query showing records of 1 table. What i want is for the records that get populated from af:query in the master table, i want to show the records in the detail table of the row selected
    any idea ?
    thnks

    Thank you NewBee. It worked and am able to get the detail information from the master table. I am struggling with another implementation. I have 3 radio buttons in the global template which I am referencing in all my pages.
    The template has 3 radio buttons. Contacts, Plans and Users. The three queries are completely different from one another.
    On click of Contacts, I should display the respective af:query for Contacts, Plans and Users without displaying the resultant table. This query panel will be global to all the pages.
    I have tried setting it as follows:
    <af:panelGroupLayout layout="vertical"
    id="pt_pgl3"
    rendered="#{baseBean.searchContactsSelected == 'true'}"
    visible="#{baseBean.searchContactsSelected == 'true'}">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryDescriptor}"
    model="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryModel}"
    queryListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQueryOperation}"
    resultComponentId="::contactSearch:md1"/>
    <f:subview id="contactSearch">
    <jsp:include page="/contactsSearchResults.jspx"/>
    </f:subview>
    <af:panelGroupLayout>
    I have tried various implementations to the best of my knowledge but its not rendering. Is it possible to navigate to a different jspx on click of Search button of af:query. This will give me an opportunity to display different pages based on the Search action and keeping the search on a global level.
    Hope I was clear in explaining the issue
    Thanks!

  • How do I read & update email group subscription status for a specific contact via api?

    Looking at Eloqua's api documentation, I can find out how to update contacts, and even the global subscription flag, however we want to build a page on our custom website whcih allows users to opt in and out of specific email groups (as can be done manually from the contact page / preferences tab)
    I cant find the appropriate api documentation for this - I found a page for contacts:
    REST API - Contact Fields
    and a page for email group:
    REST API - Email Groups
    any idea how can I find and udpate the object linking the two ?!?

    Via REST API, the bare bones call is:
    PUT /API/REST/2.0/data/contact/{contactid}/email/group/{groupid}/subscription
      "type": "ContactEmailSubscription",
      "contactId": "3174",
      "emailGroup": {
      "type": "EmailGroup",
      "id": "15",
      "depth": "minimal",
      "name": "Test Email Group"
      "isSubscribed": "false"
    Where isSubscribed can be toggled to true. This is the same call made by the UI when you open the contact record, move to the preferences tab and right click to subscribe or unsubscribe on an email group:
    The list of email groups and their ids can be obtained via GET /assets/email/groups. I recommend adding ?depth=minimal to avoid retrieving unnecessary configuration information.
    Best regards,
    Bojan

  • I would like to send contacts via wireless in vcf format in an e-mail. iPhone doesn't even see the attachment. Is there a special file contact type for iphone?

    I would like to send contacts via wireless in vcf format in an e-mail. iPhone doesn't even see the attachment. Is there a special file contact type for iphone?

    I must be more specific:
    I am attempting to send a vcf from a Windows Computer using Outlook to another Email account that syncs with an iPhone. When I read the e-mail on the iPhone, I can't see the vcf file. But I can see the contact on outlook as a VCF.

  • Query for FormSubmit data by ID via the SOAP API

    When I submit a form entry via the SOAP API request 'Create' it get an ID as well as the Form Type data in return:
    <CreateResponse xmlns="https://secure.eloqua.com/API/1.2">
      <CreateResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
           <CreateResult>
                <EntityType>
                     <ID>21</ID>
                     <Name>aherghaewForm</Name>
                     <Type>Form</Type>
                </EntityType>
                <Errors/>
                <ID>3</ID>
           </CreateResult>
      </CreateResult>
    </CreateResponse>
    However, I can't seem to query for that ID. When using the request 'Query'
    <ns:Query>
      <ns:eloquaType>
           <ns:ID>21</ns:ID>
           <ns:Type>Form</ns:Type>
      </ns:eloquaType>
      <ns:searchQuery>ID='3'</ns:searchQuery>
      <ns:pageNumber>1</ns:pageNumber>
      <ns:pageSize>20</ns:pageSize>
    </ns:Query>
    I receive the following Error:
    The search query you provided is invalid: 'id' is invalid.
    As the field 'ID' is not part of the FieldValueCollection, this outcome is not unexpected, but unfortunate, as it would greatly simplify querying for data that was just submitted. Querying for a field that is part of the FieldValueCollection delivers correct results.
    Is there a way to do just that, or do i have to follow another approach to retrieve FormSubmit data?
    Thanks,
    Felix

    OK. I see column X logic now:
    SQL> select  id,
      2          name,
      3          case when instr(sys_connect_by_path(id,',') || ',',',4,') > 0 then 'X' else 'Y' end x
      4    from  worker
      5    start with id in (
      6                      select  id
      7                        from  worker
      8                        where boss_id is null
      9                        start with id = 4
    10                        connect by prior boss_id = id
    11                      )
    12    connect by prior id = boss_id
    13  /
            ID NAME                             X
             1 Mennan                           Y
             2 Ahmet                            Y
             3 Akin                             Y
             4 Ayse                             X
             5 Aylin                            X
             6 Selim                            Y
    6 rows selected.
    SQL>SY.

  • Retrieve underlying SQL query for deski report via java SDK in BOXIR2

    Hi all,
    I am trying to retrieve underlying SQL queries of a deski report in BOXIR2. However I find the error as
    oDataProvider = oDocumentInstance.getDataProviders().getItem(i1);               
    System.out.print(oDataProvider.getName());
    oSQLDataProvider = (SQLDataProvider) oDataProvider;
    oSQLContainer_root = oSQLDataProvider.getSQLContainer();
    But "This feature is not supported for desktop Intelligence " exception has occured.
    I am running the same query for Webi, and I did not find any issue . After several time spending in google, it appears to me that this code is supported by webi only. But "This feature is not supported for desktop Intelligence " exception has occured.
    Please help me to find out the solution in java SDK. If its not supported by Java SDK, then could you please provide me any workaround , e.g. any macro . Any help !!
    Regards,
    Nita
    Edited by: Nita Prasad on Aug 11, 2009 11:20 AM
    Edited by: Nita Prasad on Aug 11, 2009 11:25 AM

    Hi Fritz,
    I am not getting the way.. how to open the deski report programmatically. I am writing the code in this way:
    Dim oInfoObjects1 As CrystalInfoStoreLib.InfoObjects
            Set oInfoObjects1 = oInfoStore.Query("SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='" & oInfoObject.Title & "' AND SI_ID='" & oInfoObject.Id & "' order by SI_NAME")
        Dim oInfoObject1 As CrystalInfoStoreLib.InfoObject
        Dim UserCount1 As Integer
            UserCount1 = oInfoObjects1.ResultCount
            MsgBox "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME=' " & oInfoObject.Title & " ' AND SI_ID=' " & oInfoObject.Id & " ' order by SI_NAME"
            MsgBox " Total number of Deski reports are : [" & UserCount1 & "]", vbOKOnly
        Dim j As Integer
         For j = 1 To UserCount1
          Set oInfoObject1 = oInfoObjects1.Item(i)
                sFile_ReportList = StrConv(oInfoObject1.Title, vbLowerCase) & ".rep"
                sFile_Output = "D:\TraceWrite1\ " & StrConv(oInfoObject1.Id & "_" & oInfoObject1.Title, vbLowerCase) & ".txt"
                sFile_ReportListTemp = StrConv(oInfoObject1.Files.Item(j), vbLowerCase)
                MsgBox "[" & sFile_ReportList & "]", vbOKOnly
                        If Dir(sFile_ReportList) = "" Then
                MsgBox "The text file [" & sFile_ReportList & "] for the DeskI documents does not exist!" & vbCrLf & "Aborting process."
                Exit Sub
                End If
    I am getting the error on line ...  If Dir(sFile_ReportList) = "" Then...  The code is not able to locate the deski report path.
    Is this the correct way to get a deski report information? Please let me know, If I am going in the right direction.
    Edited by: Nita Prasad on Aug 18, 2009 3:47 PM

  • How to query for foreign encoded text via REST service

    I am using APEX 4.2.1.00.08 to publish RESTful web services that query a table of place names. The place names include foreign encoded alternates. My search field has type of NVARCHAR2 and the db has NLS_CHARACTERSET of AL32UTF8. Querying for foreign encoded names works fine from other applications (e.g. TOAD, ArcGIS).
    In APEX under 'SQL Workshop | RESTful Services' I have created a module, resource template, and resource handler. When I use 'Set Bind Variables' to test the service, it works for 'English' names with no problem (e.g. 'London').
    However, when I query for a foreign equivalents like 'ロンドン', the Japanese version of 'London', I get the following error:
    400 - Bad Request
    The request path contains illegal characters
    How do I get foreign encoded place names to work as the bind variable value of a REST service?

    Does this query help?
    select /*+ parallel(4) */
    pk.table_name parent_table_name, pk.constraint_name pkey_constraint,
    fk.table_name child_table_name, fk.constraint_name fkey_constraint, fk.r_constraint_name
    from
    user_constraints pk,
    user_constraints fk
    where
    pk.constraint_name = fk.r_constraint_name
    and pk.constraint_type='P'
    and fk.constraint_type='R'

  • Problem with query for Oracle

    Hello Experts,
    I'm tryng to develop my first application for EP (v7 SP12) with NWDS (without NWDI).
    This application has to read and write data in the EP DB (oracle v10).
    I'm using:
    <u>a Dictionary Project</u> (define the DB Tables)
    <u>a Java Project</u> (define class as DAO, DBManager etc)
    <u>a Library Project</u>
    <u>an EJB Project</u>
    <u>an EAR Project</u>
    With these projects I can deploy a <u>webService</u> in my EP server.
    BUT I have some problem with a query that I'm tryng to sent to my DB through a DAO Class called by my WebService.
    The query is simple and correct but it does not work...
    This is the error message returned (the query id in bold)
    (column names: GIORNO, NOMEDITTA, NOMEAREA, NOMESETTORE)
    <i>HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Fri, 21 Sep 2007 14:29:57 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>java.sql.SQLException: com.sap.sql.log.OpenSQLException: The SQL statement <b>"SELECT NOMESETTORE, MIN(? - "GIORNO") AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE"</b> <u>contains the syntax error[s]: - 1:25 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</u></faultstring><detail><ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException xmlns:ns1='urn:GiorniSenzaInfortuniWSWsd/GiorniSenzaInfortuniWSVi'></ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope></i>
    The variable '?' is the today date, the difference <b>"(?-GIORNO)"</b> is an int..
    Moreover in my DAO class the query is <b>"SELECT NOMESETTORE, MIN(? - GIORNO) AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE</b>", instead in the error message is reported <b>MIN(? - "GIORNO")</b>...
    We have tryed also with alternative query, for example we used <b>"MIN(SYSDATA - GIORNO)"</b> but <b>SYSDATA</b> was interpreted as column name and  not found....
    Any help???
    Best Regards

    Hi, I found something about the Host Variable (http://help.sap.com/saphelp_nw70/helpdata/en/ed/dbf8b7823b084f80a6eb7ad43bdbb9/content.htm), there explain that if you want to use an host variable you have to put ':' as prefix..
    My problem is that <u>I need to extract the minimum of the subtraction between two dates:</u>
    Query <b>MIN(? - GIORNO)</b> --> <i>Error: the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    So I tried to use the ':' as indicated in the manual..
    <b>MIN:(? - GIORNO)</b> --> - <i>SQL syntax error: the token ":" was not expected here
                   - expecting LPAREN, found ':'</i>
    <b>MIN(:(? - GIORNO))</b> --> <i>- 1:25 - Open SQL syntax error: :PARAMETER not allowed
                   - 1:26 - SQL syntax error: the token "(" was not expected here
                   - 1:26 - expecting ID, found '('</i>
    Then I tried to avoid the MIN() function and I tried to do just the subtraction:
    <b>? - GIORNO</b> --><i> - 1:21 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    <b>:(? - GIORNO)</b> --> <i>- 1:21 - Open SQL syntax error: :PARAMETER not allowed
                - 1:22 - SQL syntax error: the token "(" was not expected here
                - 1:22 - expecting ID, found '('</i>
    <b>'2007-09-24' - GIORNO</b> --> <i>- 1:34 - SQL syntax error: first argument of operator "-" must be a number, date/time or interval
                     - 1:43 - SQL syntax error: arguments of operator "-" do not have correct types
                     - 1:43 - SQL syntax error: derived columns in SELECT list with AS must be values</i>
    <b>GIORNO - GIORNO</b> --> <i>- 1:21 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated
                  - 1:30 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated</i>
    Why these parts of query are not accepted???
    I don't understand why... I hope you can help me.
    Best Regards
    Alessandro

  • Erro while running query for a Scheduled work book

    The following error found while running query for a schedule workbook:
    ORA-12801: Error signaled in parallel query server P000
    ORA-01652: uable to extend temp segment by 14720 in tablespace SYSTEM
    ORA-27068: skgfdisp: buffer is not aligned properly
    OSD-04005: SetFilePointer() failure, unable to read it from file
    We are using discoverer 4.1.
    Any help is highly appreciated.
    null

    Candi,
    Have your DBA check for trace file and contact Oracle Support: RDBMS group to track these errors down...
    Chris
    null

  • Need help 2 get my new BB to receive my contacts via bluetooth from od phone!

    Hi guys, I just got a lovely BB Curve today and have spent the last 4 hours trying in vain to get it receive my contacts list via bluetooth from my old phone. I have paired them up and can send to my old phone but cannot receive to my BB. My old phone attempts to connect and then it comes up with a connection failed message. I have tried all sorts: making sure phones are visibile, setting them to 2 mins ....then changing it to "yes" ...making sure devices trust connection and then asking for a prompt....taking the encryption off...then leaving it on....
    I really am at my wits end as I have over 150 contacts and cannot face having to write them all out and manually type them in
    I am also terrified of getting into my new car tomorrow and finding out that my BB won't pair to my in-car bluetooth set up!
    Thanks!

    Not sure you can send/receive contacts via BLUETOOTH. Once the two devises are paired, then your done with the 2 minute limit and all that stuff. If each devise sees the name of the other devise, your done there. Then make sure there "connected" to each other. If not select the devise, press menu and select connect. Once that's done, your connected. Your car set-up should be just as simple. The setting about phone book entries, is for a bluetooth devise (headset, your car... things you make calls from and talk through) to have 'access' to your phone book to easily make phone calls. It doesn't copy or transfer your phone book, just has access. If your old phone has an option to "send contact via bluetooth" you'll probably have to do that for each contact and even then, I don't know that Blackberry will take it. Blackberry will however take v-cards. So if your old phone can e-mail a v-card, that would work. Blackberry can also synchronize with desktop applications like microsoft outlook and ever google mail. That way you'll have all your contacts from these locations as well. If your old phone can sync with these applications, that's another way to complete this task. This is done through your Blackberry Desktop Manager which also has a sync with other devises' so if your old phone has the ability to connect to a computer, you could try that. Many mobile phone carriers have software in their stores that help with this process and might be able to do this for you without charge.

  • In a query, for the selection field 'KNB1-ZWELS' a match-code isn't availab

    Hi All,
    Creating a query, for the selection field 'KNB1-ZWELS' a match-code isn't available.
    Could anyone tell me the reason?
    Thanks
    Gandalf

    Hi,
    Match Code Object is not available for the field ZWELS. If required, You need to contact a Developer for creating one .

  • How to handle comma separated values in OLE DB Source query for a parameter variable from XML file in SSIS

    Hi,
    I am using OLE DB Source to fetch the records with Data Access Mode as SQL COMMAND which is using the below query with a parameter,
    SELECT CON.Title,CON.FirstName,EMP.MaritalStatus,EMP.Gender,EMP.Title AS Designation, EMP.HireDate, EMP.BirthDate,CON.EmailAddress, CON.Phone
    from HumanResources.Employee EMP INNER JOIN Person.Contact CON ON EMP.ContactID=CON.ContactID WHERE EMP.Title in (?) 
    In this query for the parameter I am passing the value from a variable and which is configured (XML Configuration). While passing value
    Buyer it works correctly. But while passing values Accountant,Buyer
    it is not working as expected.
    How to handle while passing such multiple values Or is it possible to pass such values or not in SSIS 2012 ?
    Kindly help me to find a solution.
    NOTE: I placed the whole query in a variable as a expression as below it is working fine.
    "select CON.Title,CON.FirstName,EMP.MaritalStatus,EMP.Gender,EMP.Title AS Designation,EMP.HireDate,EMP.BirthDate,CON.EmailAddress,CON.Phone from HumanResources.Employee EMP
    INNER JOIN Person.Contact CON ON EMP.ContactID=CON.ContactID WHERE EMP.Title in ('" + REPLACE(@[User::temp],",","','")  +"')"
    Any other solution is there ? without placing the query in a variable. May be a variable can have some limitations for no. of characters stored not sure just a thought.
    Sridhar

    Putting the whole thing into a variable is certainly a valid solution.  The other involves putting the comma delimited list into a table valued variable.
    http://gallery.technet.microsoft.com/scriptcenter/T-SQL-Script-to-Split-a-308206f3
    For an odd ball approach: 
    http://www.sqlmovers.com/shredding_multiline_column_using_xml/ .
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • When i try to sync contact via itunes to outlook, it doesnt get sync, even i checked the sync contact with outlook. Can anyone guide whats the actual problem.

    When i try to sync contact via itunes to outlook, it doesnt get sync, even i checked the sync contact with outlook. Can anyone guide whats the actual problem?

    I have similar problems trying to synchronize my calendar, also after update on 7.1.1. on my Iphone 5.
    It doesn;t replace the outlook entries on Iphone 5.
    I didn,t try to synchronize the contacts, because it may fail.
    Has any one an idea what could be the reasson for thid synchronize problems.

Maybe you are looking for

  • Modelled deadline with  multiline container  subworkflow woes

    Hi, In a modelled deadline I am trying to put a subworkflow step with a mutliline container element ( ie when deadline reached, run the subworkflow once for everything in the container. Workflow(s) compile and activate ok, however at runtime I get th

  • IPad mini cover closure not working

    The magnetic cover for iPad mini does not put it to sleep on closure. Any suggestions?

  • Possible to print Int.Tab data in a window other than MAIN window in Script

    Hi,   Can we print a internal table data in a window which is a VARIABLE Window in SAP Script? my requirement is not to print in MAIN Window. Thanks in Advance, Jakeer.

  • Dead links....can't remove them?!?

    I created a site a few months ago with iweb. I then published it. A few months went by and I decided it was time to update it. I removed a couple of old movies using iweb. I then republished the site. I just went to visit it (a few weeks later) and t

  • Error HTTP 500 - fulfillment

    Estado HTTP 500 - type Informe de Excepción mensaje descripción El servidor encontró un error interno () que hizo que no pudiera  rellenar este requerimiento. excepción javax.servlet.ServletException: La ejecución del Servlet lanzó una excepción caus