OCSG reference information

The following contains important OCSG reference information.

Syslog expected request format

The OCSG expects the following request format from syslog.

Jun  25 11:07:29 OCSG Syslog:1,5540149665,campaign-1,2048,2019-06-07T16:44:29.987
The , comma separator is not allowed in the header section (Jun 25 11:07:29 OCSG Syslog) of the syslog message.


Table 1. sample fields explained
Field Sample

REFERENCE

1

MSISDN

5540149665

CAMPAIGN_NAME

campaign-1

QUOTA

2048

DATE_TIME

2019-06-07T16:44:29.987

OCSG example XML response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:CAMPAIGN_DATA
  xmlns:ns2="http://schema.ocpm.cgbu.oracle.com/campaign">
  <RESULT_CODE>0</RESULT_CODE>
  <CAMPAIGNS>
    <CAMPAIGN>
      <CAMPAIGN_NAME>TEST CAMPAIGN10</CAMPAIGN_NAME>
      <SPONSOR_NAME>TEST CAMPAIGN SPONSOR10</SPONSOR_NAME>
      <METADATA>TEST CAMPAIGN META DATA5</METADATA>
      <STATUS>SUSPENDED</STATUS>
      <RATING_GROUP>null</RATING_GROUP>
      <DATE_TIME_START>2019-05-27T16:15:16</DATE_TIME_START>
      <DATE_TIME_END>2019-12-26T22:38:00</DATE_TIME_END>
    </CAMPAIGN>
  </CAMPAIGNS>
</ns2:CAMPAIGN_DATA>