Can I obtain News with the COM API?

Can I obtain News with the COM API?

Best Answer

  • Yes. There are two special News RICs for headlines.As these are RICs and FIDs, they can be retrieved using the AdfinX Real Time COM API, rtx.dll library and the AdxRtList class

    The first is N2_UBMS (Older) with the following FIDs
    -1 X_RIC_NAME
    1 PROD_PERM
    3 DSPLY_NAME
    235 PNAC
    255 PROC_DATE
    259 RECORDTYPE
    264 BCAST_TEXT
    456 REG_ID1
    457 REG_FIELD1
    715 STORY_ID
    719 NAMED_ITEM
    720 TAKE_SEQNO
    722 STORY_TYPE
    724 CROSS_REF
    725 ATTRIBTN
    729 MON_PAGES
    749 PROD_CODE
    750 TOPIC_CODE
    751 CO_IDS
    752 LANG_IND
    1015 TAKE_TIME
    1024 STORY_TIME
    1027 STORY_DATE
    1685 AREA_ID
    1686 SF_NAME
    6307 CF_NAME


    The second is NFCP_UBMS (Newer) with the following FIDs
    -1 X_RIC_NAME
    1 PROD_PERM
    3 DSPLY_NAME
    235 PNAC
    255 PROC_DATE
    259 RECORDTYPE
    456 REG_ID1
    457 REG_FIELD1
    500 SRCOFDATA
    720 TAKE_SEQNO
    722 STORY_TYPE
    724 CROSS_REF
    725 ATTRIBTN
    1027 STORY_DATE
    1383 DSO_ID
    1685 AREA_ID
    1686 SF_NAME
    3859 SEQ_NO
    4272 HEADLINE1
    4275 NAMEDITEMS
    4276 NEWS_PRIO
    4277 NEWSCODE01
    4278 NEWSCODE02
    4299 STORYTM_MS
    4301 TAKETM_MS
    4303 TOT_SEGS
    4517 HEAD_DIR
    4518 HEAD_LANG
    4524 NEWSMGTSTG
    4525 PRODCODE_N
    6307 CF_NAME

    The News STORY can be obtained via the PNAC (the story identifer) although this is bit more involved.