How to generate the message body to call the API REST Eloqua?

I can GET my contact details via the URL: https://secure.eloqua.com/Api/rest/2.0/data/contact/229?xsrfToken=80267e50-30db-4e16-9dd3-7d42ef75dc2d as below:

GET the answer:

{

'type': 'Contact,'

'currentStatus': 'Action pending ',.

"id": "229."

'converted': '1439800672 ',.

"depth':"full. "

« nom » : » [email protected] ",

"updatedAt": "1440662349",

"accountName": "Oracle."

"address1": "333333333",

'city': 'unknown ',.

"country':"KR. "

' 'emailAddress': ' [email protected] ",

"emailFormatPreference": "not specified."

"fieldValues can only be:

[

{

'type': 'FieldValue ',.
'id': '100005.

},

{

'type': 'FieldValue ',.
'id': '100017.

},

{

'type': 'FieldValue ',.
'id': '100023.

},

{

'type': 'FieldValue ',.
'id': '100024.

},

{

'type': 'FieldValue ',.
'id': "100032,"
'value': 'CZZOC000000000229 '.

},

{

'type': 'FieldValue ',.
'id': '100033.

},

{

'type': 'FieldValue ',.
'id': '100034.

},

{

'type': 'FieldValue ',.
'id': '100035.

},

{

'type': 'FieldValue ',.
'id': '100036 ".

},

{

'type': 'FieldValue ',.
'id': '100041.

},

{

'type': 'FieldValue ',.
'id': '100043.

},

{

'type': 'FieldValue ',.
'id': '100044.

},

{

'type': 'FieldValue ',.
'id': '100045.

},

{

'type': 'FieldValue ',.
'id': '100046.

},

{

'type': 'FieldValue ',.
'id': '100047'

},

{

'type': 'FieldValue ',.
'id': '100048.

},

{

'type': 'FieldValue ',.
'id': '100049.

},

{

'type': 'FieldValue ',.
'id': '100051.

},

{

'type': 'FieldValue ',.
'id': '100065.

},

{

'type': 'FieldValue ',.
'id': '100066.

},

{

'type': 'FieldValue ',.
'id': '100068.

},

{

'type': 'FieldValue ',.
"id': '100069."
'value': 'in Europe.

},

{

'type': 'FieldValue ',.
'id': '100072.

},

{

'type': 'FieldValue ',.
'id': '100081.

},

{

'type': 'FieldValue ',.
"id': '100171."
"value": "oracle.com.

},

{

'type': 'FieldValue ',.
"id': '100172."
"value': 'Ken Jin."

},

{

'type': 'FieldValue ',.
'id': '100174.

},

{

'type': 'FieldValue ',.
'id': '100175'

},

{

'type': 'FieldValue ',.
'id': '100176.

},

{

'type': 'FieldValue ',.
'id': '100177.

},

{

'type': 'FieldValue ',.
'id': '100178.

},

{

'type': 'FieldValue ',.
'id': '100179.

},

{

'type': 'FieldValue ',.
'id': '100180.

},

{

'type': 'FieldValue ',.
'id': '100184.

},

{

'type': 'FieldValue ',.
'id': '100187.

},

{

'type': 'FieldValue ',.
'id': '100188.

},

{

'type': 'FieldValue ',.
'id': '100189.

},

{

'type': 'FieldValue ',.
'id': '100190.

},

{

'type': 'FieldValue ',.
'id': '100191.

},

{

'type': 'FieldValue ',.
'id': '100192.

},

{

'type': 'FieldValue ',.
'id': '100193.

},

{

'type': 'FieldValue ',.
'id': '100194.

},

{

'type': 'FieldValue ',.
"id': '100195."
'value': 'KenJinL888MJ '.

},

{

'type': 'FieldValue ',.
'id': '100196.

},

{

'type': 'FieldValue ',.
'id': '100197.

},

{

'type': 'FieldValue ',.
"id': '100198."
'value': 'unknown '.

},

{

'type': 'FieldValue ',.
"id': '100199."
'value': '66.0000.

},

{

'type': 'FieldValue ',.
"id': '100200."
' 'value': ' [email protected] "

},

{

'type': 'FieldValue ',.
"id': '100201."
'value': 'female '.

},

{

'type': 'FieldValue ',.
'id': '100202.

},

{

'type': 'FieldValue ',.
"id': '100203."
'value': 'Energy & Utilities '.

},

{

'type': 'FieldValue ',.
"id': '100204."
'value': '0.0000 '.

},

{

'type': 'FieldValue ',.
"id': '100205."
'value': '0.0000 '.

},

{

'type': 'FieldValue ',.
"id': '100206 Uganda."

},

{

'type': 'FieldValue ',.
'id': '100207.

},

{

'type': 'FieldValue ',.
'id': '100208.

},

{

'type': 'FieldValue ',.
'id': '100209.

},

{

'type': 'FieldValue ',.
'id': '100210.

},

{

'type': 'FieldValue ',.
'id': '100211.

},

{

'type': 'FieldValue ',.
"id': '100212."
'value': "day 1".

},

{

'type': 'FieldValue ',.
"id': '100213."
'value': 'Purple '.

},

{

'type': 'FieldValue ',.
"id': '100214."
'value': 'unknown '.

},

{

'type': 'FieldValue ',.
'id': '100215.

},

{

'type': 'FieldValue ',.
'id': '100216.

},

{

'type': 'FieldValue ',.
'id': '100217.

},

{

'type': 'FieldValue ',.
"id': '100218."
'value': '1.0000.

},

{

'type': 'FieldValue ',.
'id': '100219.

},

{

'type': 'FieldValue ',.
"id': '100220."
'value': 'Purple '.

},

{

'type': 'FieldValue ',.
"id': '100221."
'value': 'school '.

},

{

'type': 'FieldValue ',.
"id': '100222."
'value': "don't like".

},

{

'type': 'FieldValue ',.
'id': '100223.

},

{

'type': 'FieldValue ',.
'id': '100224.

},

{

'type': 'FieldValue ',.
'id': '100225.

},

{

'type': 'FieldValue ',.
"id': '100226."
"value':" ' 0 - 5 hours/week ""

},

{

'type': 'FieldValue ',.
'id': '100227.

},

{

'type': 'FieldValue ',.
"id': '100228."
'value': 'PC '.

},

{

'type': 'FieldValue ',.
"id': '100229."
"value':" ' 0 - 5 hours/week ""

},

{

'type': 'FieldValue ',.
'id': '100230.

},

{

'type': 'FieldValue ',.
'id': '100231.

},

{

'type': 'FieldValue ',.
'id': '100232.

},

{

'type': 'FieldValue ',.
'id': '100233.

},

{

'type': 'FieldValue ',.
"id': '100234."
'value': '0.0000 '.

},

{

'type': 'FieldValue ',.
'id': '100235.

},

{

'type': 'FieldValue ',.
'id': '100236.

},

{

'type': 'FieldValue ',.
"id': '100237."
'value': '2 '.

},

{

'type': 'FieldValue ',.
'id': '100238'

},

{

'type': 'FieldValue ',.
'id': '100239.

},

{

'type': 'FieldValue ',.
'id': '100240.

}

],

"FirstName": "Ken."

'isBounceback': 'false. '

'isSubscribed': 'true ',.

'Name': 'Jin ',.

'subscriptionDate': '1439800672 '.

}

However, I get an error response if I want to update my contact information via a call to POST the URL: https://secure.eloqua.com/Api/rest/2.0/data/contact?xsrfToken=80267e50-30db-4e16-9dd3-7d42ef75dc2d

For example: update my "lastName" to "Kim" current value "Jin".

POST request: <-I think it's a bad Message body that I don't know the correct format... Almost of the Eloqua REST API documents mentioned on GET rather than POST.

{"id": "229",}

' 'emailAddress': ' [email protected] ",

{'Name': 'Kim'}


POST reply:

[{'type' ": 'ObjectValidationError',' container': {'type': 'ObjectKey', 'objectType': 'Contact'}, 'ownership':"emailAddress","requirement": {'type': 'UniquenessRequirement', 'uniquenessScope': 'global'}, 'value' ': ' '[email protected]'}]

Could someone tell me how to build a correct Message to the body?  Using the above example (updated an existing contact name) would be much better. Thank you!

A POST is used to create new records in the database of Eloqua.  If you want to update an existing record, you want to use a call PUT.

Tags: Marketers

Similar Questions

  • How to generate the random password policy password knowing resources

    Hello

    Any body tell me how to generate the random password policy password knowing the purpose of resource in OIM11g

    Kind regards
    Mireille Nayan

    Hi Pascal,.

    You can try the below code snippet:

    UserRepository your = new DBUserRepository();
    UserInfo user = your.getUserInfo (take);
                   
    ResourceRepository rrepo = new ResourceDBRepository();
    Resource = rrepo.findResource (resourceName);
              
    By PasswordPolicyAssignmentsRepository = new PasswordPolicyAssignmentsDBRepository();
    PasswordPolicyRepository ppr = new DBPasswordPolicyRepository();
    The list of passwordPolicyAssignments = par.getPasswordPolicyAssigments (resource);
    PasswordPolicy passwordPolicy;
                   
    PasswordPolicyAssignment passwordPolicyAssignment = passwordPolicyAssignments.get (0) (PasswordPolicyAssignment);
    If (isApplicable (passwordPolicyAssignment, {getMappedAttributes (userInfo.getAttributes ())})})
    passwordPolicy = ppr.find (passwordPolicyAssignment.getPasswordPolicyID ());
    }
    RPG RandomPasswordGeneratorImpl = new RandomPasswordGeneratorImpl();
    password = rpg.generatePassword (userInfo, passwordPolicy);

    Kind regards
    GYAN

  • How to generate the report on rules

    How to generate the report on rules with id recipient and with a few keyoword in a rule.

    The rule management dashboard has an integrated 'report rules', you can configure properties and input parameters.

    For rule management dashboard, click homes > Administration > rules. In the upper right, next to the date and time, click reports.

    You can also find these helpful videos: http://edocs.quest.com/foglight/5610/Foglight_Reports_videos.php

    Hope this helps,

    Shay

  • How to generate the alert when pageitem move on the page? and what class boss be use to move pageitem

    How to generate the alert when pageitem move on the page? and what class boss be use to move pageitem

    Hi Philippe,.

    You can see the kDocBoss for the ClassID with the PMIID IID_ITRANSFORM_DOCUMENT kLocationChangedMessage.

    Markus

  • How to generate the array Diagnostic Utility ADU for Esxi server

    How to run Diagnostic Utility ADU or HP Insight Diagnostics HP Insight Diagnostics table to collect the status tables and logs data FRO an Esxi Server

    How to generate the array Diagnostic Utility ADU for Esxi server

    Example:

    Download the package .vib here: http://vibsdepot.hp.com/hpq/feb2013/esxi-5x-vibs/hpacucli/hpacucli-9.40-12.0.vib

    and place it on a store of data seen by the host...

    Install it using the CLI:

    software esxcli vib install d vmfs/volumes //hpacucli-9.40-12.0.vib

    Now run it:

    ~ # cd/opt/hp/hpacucli/bin

    / opt/HP/hpacucli/bin # . / hpacucli

    HP Array Configuration Utility CLI 9.40.12.0

    Detection of controllers... Fact.

    Type 'help' for a list of supported commands.

    Type "exit" to close the console.

    => ctrl all diag file=/tmp/my_ADUreport.zip ris = on = on zip xml = on

    Generation of diagnostic report... done

    -Online output

    / opt/HP/hpacucli/bin #.

    my_ADUreport.zip in / tmp can now be downloaded from the host...

    It could be that useful...

    / Rubeck

  • How to generate the sequence Island-1, -1, 1, 1...

    How to generate the sequence Island-1, -1, 1, 1...

    This seems to work:

    create sequence sss start with -1 increment by 2 minvalue -1 maxvalue 1 cycle nocache;
    
  • How to generate the ddl for unlimited quota

    Hi all

    DB: Oracle 9.2.0.4
    OS: Solaris 8

    I have a 12 tablespaces and 18 users of the application.
    I would like to grant an unlimited quota for all users on all areas of storage, to find out how to generate the ddl script.

    ex: change the dataagent user quota unlimited on DSOM.

    can anyone help us.
    Thank you
    KK.

    All users in all areas of storage?

    Select "edit user" | user name | "quota unlimited on | nom_tablespace | ';'
    from dba_users cross join dba_tablespaces
    When not in dba_tablespaces.tablespace_name ('SYSTEM', "SYSAUX");

    Please, be careful with this

    HTH
    Antonio NAVARRO

  • How to generate the script to insert data tables present in a

    How to generate the script to insert data from one table in an entire schema under environment sqlplus




    with toads it please help me please!

    905310 wrote:
    How to generate the script to insert data from one table in an entire schema under environment sqlplus
    with toads it please help me please!

    The correct method by using the pump of the database or import/export or unload the data in CSV format for loading using SQL * Loader.

    Generate instructions insert with literals is very bad choices - the bind variable is missing. It will be quite slow because many other CPU cycles are spend on hard analysis. The shared pool will become fragmented. This can cause errors of memory for other applications when they attempt to analyze SQLs for cursors.

  • How to generate the password encoded using agent in ODI?

    Hello

    I've created a scenario and I plan to them. Now, I want to create an autonomous agent to run this scenario. To do this, I update odiparams.bat file where I am mentioning the details of the repository. I want to generate the encoded password repository connection using batch processing utility officer. After you type following command at the command prompt in windows xp:
    agent to encode the password
    Failure of the sound connection password invalid username error display.

    What should do? How to generate the password encoded using batch agent utility?

    Thank you
    Shrinivas

    Published by: Shrinivas Dayma on 13 Aug 2011 02:03

    Hi Shrinivas,

    This command is for ODI 10 g.

    For 11g,.

    Encode

    Thank you
    Guru

  • How to generate the WSDL in CCB231

    How to generate the WSDL in ccb231? I'm not able to use the WSDL generated to XAI inbound service like soapUI gives importing problem. I couldn't open the schema editor to generate the WSDL as ODBC driver is missing from my windows machine 7. Any suggestions please

    What kind of import errors that you get with soapUI?

    I have a virtual machine running CC & B 2.3.1 with SoapUI 3.6.1 and when I import the WSDL generated by XAI Inbound Service it runs smoothly.

  • How to generate the full javadoc?

    How to generate the full javadoc?

    I create several javabeans and each of them has one or more methods. I add javadoc comments and run javadoc * .java. It can create new javadoc, but only for this java class.
    How to generate a full javadoc?
    I use Jdeveloper 10 g. If someone knows how to do in Jdeveloper 10 and 11g, please help me.

    Thank you

    YE,

    11 g, you can right click on the project and choose "javadoc .

    In 10g, you can select the project and choose the menu 'javadoc ' run.

    John

  • How to generate the output xls by a button in oracle apps

    Hello world

    I have a report that gives me xls output when I run the program at the same time.

    I have a custom form that has a button to call the program contributing to print the report.

    I realized this from here

    But this code works just fine if the report output format is pdf.
    If the report output format xls this code generates pdf output

    but my requirement is to generate the output as xls.
    Please any one help how to achieve this.

    I use EBS - 12.1.3
    Oracle made and reports 10g

    Concerning
    Paul

    >
    If the report output format xls this code generates pdf output
    >
    Looks like that pdf is out by default in the template definition in the xml editor RESP

    so for r12 use FND_REQUEST. ADD_LAYOUT as example

    ...
    v_request_id   number;
    xml_layout boolean;
    ...
    xml_layout := FND_REQUEST.ADD_LAYOUT('XXCUSTOM','XXCONCNAME','en','00','EXCEL');
    v_request_id := fnd_request.submit_request(application => 'XXCUSTOM',
                                               program     => 'XXCONCNAME',
                                               description => NULL,
                                               start_time  => NULL,
                                               sub_request => FALSE,
                                               argument1   => p_date
                                               );
    

    See also http://andyblg.wordpress.com/2012/08/23/run-concurrent-program-twice-with-different-layout-r12/

  • How to generate the primary key element and move to another page?

    How to make the primary key value to another page in a table?

    Form on T_ITEMS 2.png

    Hello

    I am a beginner in the apex,

    Please, now I want to add the primary key to page 1 for item id in page 2...

    Notice:

    Before, I created (process of pl/sql in the rendering of page @ after the header section) to get the id of secuance.

    BEGIN
    :P17_ID := seq_t_items_id.NEXTVAL;
    END;
    
    
    

    primary key is generated for the element ID of page 1... BUT When I update 'page 1' I see error and solved when shut down my browser and open it again...

    Please help me to...

    1. Generate a primary key (article id @ page 1)... without refresh error. ?
    2. Pass him (item_id) on page 2

    Thank you all for...

    Sorry I'm beginner in apex,

    I don't know how Pass value of the item_id TO page 1 page 2 "in the form ID", turn to the first PHOTO... .
    Help me..

    Thank you

  • How to generate the xml tag empty when meets elements void inside

    Hi gurus,

    IAM facing a problem to generate the empty tag, here is my file that I'm generating now
    <HEADER>
        <MINISTRY_CODE>RPO</MINISTRY_CODE>
        <DEPARTMENT_CODE>000</DEPARTMENT_CODE>
        <ORDER_CODE>RPO000EPO11001002</ORDER_CODE>
        <EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
        <AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
        <VARIATION_NUMBER>0</VARIATION_NUMBER>
        <EXCEPTIONS>
          <EXCEPTION>
            <EXCEPTION_CODE>PO016</EXCEPTION_CODE>
            <EXCEPTION_LONG_DESC>PO cannot be created/amended successfully</EXCEPTION_LONG_DESC>
          </EXCEPTION>
        </EXCEPTIONS>
      </HEADER>
      <ITEMS>
        <ITEM>
          <LINE_NUMBER>1</LINE_NUMBER>
          <EXCEPTIONS>
            <EXCEPTION>
              <EXCEPTION_CODE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
              <EXCEPTION_LONG_DESC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            </EXCEPTION>
          </EXCEPTIONS>
          <LOCATIONS>
            <LOCATION>
              <LINE_NUMBER>1</LINE_NUMBER>
              <EXCEPTIONS>
                <EXCEPTION>
                  <EXCEPTION_CODE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  <EXCEPTION_LONG_DESC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                </EXCEPTION>
              </EXCEPTIONS>
              <DISTRIBUTIONS>
                <DISTRIBUTION>
                  <LINE_NUMBER>1</LINE_NUMBER>
                  <EXCEPTIONS>
                    <EXCEPTION>
                      <EXCEPTION_CODE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                      <EXCEPTION_LONG_DESC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                    </EXCEPTION>
                  </EXCEPTIONS>
                </DISTRIBUTION>
              </DISTRIBUTIONS>
            </LOCATION>
          </LOCATIONS>
        </ITEM>
      </ITEMS>
    </GEBIZ_ORDER_ACK>
    current I'm generating tags EXCEPTION even if it is null as
    < EXCEPTIONS >
    < EXCEPTION >
    < EXCEPTION_CODE xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: Nil = "true" / >
    < EXCEPTION_LONG_DESC xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: Nil = "true" / >
    < / EXCEPTION >
    < / EXCEPTIONS >
    but my requirement is them does not when the exception code is null and generate as
    < EXCEPTIONS / >

    This is sql that I use to generate the above said code let me know how can I control who
                       SELECT xmlserialize(document
                                  xmlelement("GEBIZ_ORDER_ACK"
                                  , xmlagg(
                                      xmlconcat(hdr, dtls)
                                    )
                                  )
                                  as clob indent size = 2
                                )
                       --  INTO lv_out
                         FROM (
                               SELECT xmlelement("HEADER"
                                           , xmlelement("MINISTRY_CODE", poh.ministry_code)
                                           , xmlelement("EXCEPTIONS"
                                                 , xmlelement("EXCEPTION"
                                                             , xmlelement("EXCEPTION_CODE"   --,NVL(poh.exception_code,'NULL')
                                                             , xmlattributes(
                                                               NVL2(poh.exception_code,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                             , NVL2(poh.exception_code,null,'true') as "xsi:nil"
                                                               )
                                                             ,poh.exception_code)
                                                             , xmlelement("EXCEPTION_LONG_DESC"
                                                             , xmlattributes(
                                                               NVL2(poh.exception_long_desc,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                             , NVL2(poh.exception_long_desc,null,'true') as "xsi:nil"
                                                               )
                                                             ,poh.exception_long_desc)
                                                             )
                                                       )
                                           ) hdr
                                     , xmlelement("ITEMS"
                                     , xmlagg(
                                              xmlelement("ITEM"
                                               ,xmlelement("LINE_NUMBER", v1.line_no)
                                               ,xmlelement("EXCEPTIONS"
                                                        , xmlelement("EXCEPTION"
                                                                    , xmlelement("EXCEPTION_CODE"    --,NVL(v1.exception_code,'NULL')
                                                                    , xmlattributes(
                                                                      NVL2(v1.exception_code,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                                    , NVL2(v1.exception_code,null,'true') as "xsi:nil"
                                                                      )
                                                                    , v1.exception_code)
                                                                    , xmlelement("EXCEPTION_LONG_DESC"
                                                                    , xmlattributes(
                                                                      NVL2(v1.exception_long_desc,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                                    , NVL2(v1.exception_long_desc,null,'true') as "xsi:nil"
                                                                      )
                                                                    ,v1.exception_long_desc)
                                                                    )
                                                          )
                                               ,xmlelement("LOCATIONS"
                                               ,( SELECT xmlagg(
                                                          xmlelement("LOCATION"
                                                        , xmlelement("LINE_NUMBER",v2.location_line_no)
                                                        , xmlelement("EXCEPTIONS"
                                                        , xmlelement("EXCEPTION"
                                                        , xmlelement("EXCEPTION_CODE"   --,NVL(v2.exception_code,'NULL')
                                                        , xmlattributes(
                                                          NVL2(v2.exception_code,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                        , NVL2(v2.exception_code,null,'true') as "xsi:nil"
                                                          )
                                                        , v2.exception_code)
                                                        , xmlelement("EXCEPTION_LONG_DESC"
                                                        , xmlattributes(
                                                          NVL2(v2.exception_long_desc,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                        , NVL2(v2.exception_long_desc,null,'true') as "xsi:nil"
                                                          )
                                                        ,v2.exception_long_desc)
                                                                    )
                                                          )
                                               ,xmlelement("DISTRIBUTIONS"
                                               ,(SELECT xmlagg
                                                 (       xmlelement("DISTRIBUTION"
                                                         ,xmlelement("LINE_NUMBER", v3.distribution_line_no)
                                                         ,xmlelement("EXCEPTIONS"
                                                         , xmlelement("EXCEPTION"
                                                         , xmlelement("EXCEPTION_CODE"--,NVL(v3.exception_code,'NULL')
                                                         , xmlattributes(
                                                           NVL2(v3.exception_code,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                         , NVL2(v3.exception_code,null,'true') as "xsi:nil"
                                                          )
                                                         ,v3.exception_code)
                                                         , xmlelement("EXCEPTION_LONG_DESC"
                                                         , xmlattributes(
                                                           NVL2(v3.exception_long_desc,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                         , NVL2(v3.exception_long_desc,null,'true') as "xsi:nil"
                                                          )
                                                        ,v3.exception_long_desc)
                                                                    )
                                                            )
                                                          ) ORDER BY v3.distribution_line_no
                                                       ) FROM xgbz_fin_stage_ack_pot_v@dev_1157.RP.EDU.SG v3
                                                        WHERE v2.po_cont_code = v3.po_cont_code
                                                          AND v2.line_no = v3.line_no
                                                          AND v2.location_line_no = v3.location_line_no
                                                          AND v2.fs_timestamp = v3.fs_timestamp
                                                          AND v3.tx_timestamp IS  NULL
                                                     )
                                                   )
                                                 ) ORDER BY v2.location_line_no
                                              ) FROM xgbz_fin_stage_ack_pol_v@dev_1157.RP.EDU.SG v2
                                               WHERE v2.line_no = v1.line_no
                                                 AND v2.po_cont_code = v1.po_cont_code
                                                 AND v2.fs_timestamp = v1.fs_timestamp
                                                 AND v2.TX_TIMESTAMP IS NULL
                                 )
                               )
                             ) ORDER BY v1.line_no
                           )
                         ) dtls
                    FROM xgbz_fin_stage_ack_poh_v@dev_1157.rp.edu.sg poh,
                         xgbz_fin_stage_ack_pod_v@dev_1157.rp.edu.sg v1
                   WHERE v1.po_cont_code = poh.po_cont_code
                     AND v1.fs_timestamp = poh.fs_timestamp
                     AND v1.tx_timestamp IS NULL
                     AND poh.tx_timestamp IS NULL
                     AND poh.po_cont_code = rec_po_ack.po_cont_code
                   GROUP BY poh.po_cont_code,poh.ext_system_code,poh.amendment_no,poh.variation_no,poh.exception_code,poh.exception_long_desc,
                            poh.ministry_code, poh.dept_code)
    It's urgent please help in this regard.

    Thanks in advance.

    Concerning
    Mr. Nagendra

    Hello

    Here are two possible solutions:

    xmlelement("EXCEPTIONS",
      xmlforest(
        xmlforest(
          v1.exception_code as "EXCEPTION_CODE"
        , v1.exception_long_desc as "EXCEPTION_LONG_DESC"
        ) as "EXCEPTION"
      )
    )
    

    Mun

    xmlelement("EXCEPTIONS",
      case when v1.exception_code is not null
             or v1.exception_long_desc is not null
        then xmlelement("EXCEPTION",
               xmlforest(
                 v1.exception_code as "EXCEPTION_CODE"
               , v1.exception_long_desc as "EXCEPTION_LONG_DESC"
               )
             )
      end
    )
    
  • How to generate the HAVING clause?

    Hi all

    When I add a function like the SUM, the code generates the "group by" clause by default. I also want to generate the clause "have" about it, how to do this in ODI?

    -Ian.

    Hello

    In your interface drag and drop the source column in the Web for which you want to generate the HAVING clause.
    It will create filters for columns. Now use the aggregation works like SUM, MIN, MAX, AVG etc. in this filter query.

    The generated code will now contain the inside HAVING clause.

    Thank you
    Fati

Maybe you are looking for

  • Z800: Replacing a video card - Z800

    Hi all I have a Z800 job and I'm looking for a replacement of the video card. Defunct video was a Nvidia Quadro Fx3700. According to HP I can install only these http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c01757644 cards, but seems

  • guarantee isseue

    Hi... I bought hp laptop mt from amazon... last week and in hyd he y rumor that online purchases are not eligible for the guarantee it is true? or I can get my warranty otherwise? Help, please

  • HP dv7-1285dx Win7 BSOD errors

    My dv7-1285dx worked perfectly until a few weeks before, now he wants bsod on me at least every other day, sometimes twice a day or more. Various bsod error messages (STOP, IRQ, etc.). No indication of something. At one point last week, I had to use

  • How can I get my webcam and microphone on my samsungN102-JA01 to work

    I'm trying to get up my webcam on a samsung N102-JA01 settings and also the microphone doesn't seem to be able to work the two devices are built I tried the Device Manager and had no luck please help me

  • Guidance on the perimeter ACL

    people I'm looking for an acl adapt my incoming and outgoing perimeter router I had a quick glance at one from the site of the nsa and have adapted someone at - it a link to something that might help? greatly appreciated Thanks to anyone who takes th