SDGW web service CDR

The Sponsored Data Web Service generates a CDR. Check out the field descriptions below.

Table 1. System Web Service CDR Table
Field Name Description

1

MSISDN

The subscriber’s MSISDN in international format.

2

Service ID

The Service ID which is 201 in this case.

3

Transaction Type

Defines the transaction type.

types
  • 1 = CAMPAIGN_ADD

  • 2 = CAMPAIGN_DELETE

  • 3 = CAMPAIGN_SET

  • 4 = CAMPAIGN_ACTIVATE

  • 5 = CAMPAIGN_DEACTIVATE

  • 8 = CAMPAIGN_EXPIRE

4

Date

The date on which the CDR was generated. Format: YYYY/MM/DD.

5

Time

The time at which the CDR was generated. Format: YYYY/MM/DD.

6

Campaign Name

The name of the campaign.

7

Campaign ID

The ID of the campaign.

This is an integer.

8

Meta Data

Data describing the campaign.

9

Start Date

The date on which the campaign started. Format: YYYY/MM/DD.

10

Start Time

The time at which the campaign was started. Format: hh:mm:ss.

11

End Date

The date on which the campaign ended. Format: YYYY/MM/DD.

12

End Time

The time at which the campaign ended. Format: hh:mm:ss.

13

Rating Group Parameter

The rating group parameter.

14

Sponsor Name

The name of the sponsor of the campaign.

15

Status

The status of the campaign.

status types
  • ACTIVE = The campaign is active.

  • INACTIVE = The campaign is inactive (initial state).

  • SUSPENDED = The campaign is suspended by the user.

  • EXPIRED = The campaign is expired.

16

Originating IP

The originating IP address of the campaign.

17

Username

The user associated with the campaign, such as admin.

18

Result Code

The result code from the API operation.

possible codes
  • 0 = Success

  • -1 = Failure

  • -2 = Campaign already exists

  • -3 = OCSG connection failure

SDGW Web Service CDR Sample

00041000000000000000000001,201,1,2019-03-09,18:33:55,CAMPAIGN_NAME,6,2019-03-21,15:19:22,2020-09-22,15:19:22,ABC,SPONSOR_NAME,10.2.0.10,admin,0