Subscription Operations for PCF Data

In this section, you will learn about PCF Subscription Notifiction Formats.
Request Notification Formats
PUT/PATCH
[{'ue-id': 'msisdn-7777777779', 'smPolicyData': {'umData': {'mk1': 
{'scopes': {'11-abc123': {'dnn': ['dnn1'], 'snssai': {'sd': 'abc123', 
'sst': 11}}, '22-abc123': {'dnn': ['dnn2'], 'snssai': {'sd': 'abc123', 
'sst': 22}}, '33-abc123': {'dnn': ['dnn1', 'dnn2'], 'snssai': {'sd': 
'abc123', 'sst': 33}}}, 'limitId': 'mk1', 'umLevel': 'SERVICE_LEVEL', 
'resetTime': {'period': 'YEARLY'}, 'allowedUsage': {'duration': 9000, 
'totalVolume': 8888, 'uplinkVolume': 6666, 'downlinkVolume': 7777}}}, 
'umDataLimits': {'mk1': {'scopes': {'11-abc123': {'dnn': ['dnn1'], 
'snssai': {'sd': 'abc123', 'sst': 11}}, '22-abc123': {'dnn': ['dnn2'], 
'snssai': {'sd': 'abc123', 'sst': 22}}, '33-abc123': {'dnn': ['dnn1', 
'dnn2'], 'snssai': {'sd': 'abc123', 'sst': 33}}}, 'endDate': 
'2018-11-05T08:17:14.090Z', 'limitId': 'mk1', 'umLevel': 'SESSION_LEVEL', 
'startDate': '2018-09-05T08:17:14.090Z', 'usageLimit': {'duration': 6000, 
'totalVolume': 9000, 'uplinkVolume': 5000, 'downlinkVolume': 4000}, 
'resetPeriod': '2018-01-02T08:17:14.090Z'}}, 'smPolicySnssaiData': 
{'11-abc123': {'snssai': {'sd': 'abc123', 'sst': 11}, 'smPolicyDnnData': 
{'dnn1': {'dnn': 'dnn1', 'gbrDl': '7788 Kbps', 'gbrUl': '5566 Kbps', 
'online': True, 'chfInfo': {'primaryChfAddress': '1.1.1.1', 
'secondaryChfAddress': '2.2.2.2'}, 'offline': True, 'praInfos': 
{'p1': {'praId': 'p1', 'ecgiList': [{'plmnId': {'mcc': '976', 'mnc': '32'}, 
'eutraCellId': '92FFdBE'}, {'plmnId': {'mcc': '977', 'mnc': '33'}, 
'eutraCellId': '8F868C4'}], 'ncgiList': [{'plmnId': {'mcc': '976', 'mnc':
 '32'}, 'nrCellId': 'b2fB6fE9D'}, {'plmnId': {'mcc': '977', 'mnc': '33'}, 
'nrCellId': '5d1B4127b'}], 'trackingAreaList': [{'tac': '5CB6', 'plmnId': 
{'mcc': '976', 'mnc': '32'}}, {'tac': '5CB7', 'plmnId': {'mcc': '977', 
'mnc': '33'}}], 'globalRanNodeIdList': [{'plmnId': {'mcc': '965', 'mnc': 
'235'}, 'n3IwfId': 'fFf0f2AFbFa16CEfE7'}, {'gNbId': {'gNBValue': '1A8F1D', 
'bitLength': 25}, 'plmnId': {'mcc': '967', 'mnc': '238'}}]}}, 'bdtRefIds': 
{'abc': 'xyz', 'xyz': 'bdtRefIds'}, 'ipv4Index': 0, 'ipv6Index': 0, 
'subscCats': ['cat1', 'cat2'], 'adcSupport': True, 'mpsPriority': True,
 'allowedServices': ['ser1', 'ser2'], 'mpsPriorityLevel': 2, 
'imsSignallingPrio': True, 'refUmDataLimitIds': {'mk1': {'monkey': 
['monkey1'], 'limitId': 'mk1'}}, 'subscSpendingLimits': True}}}, 
'22-abc123': {'snssai': {'sd': 'abc123', 'sst': 22}, 'smPolicyDnnData': 
{'dnn2': {'dnn': 'dnn2', 'gbrDl': '7788 Kbps', 'gbrUl': '5566 Kbps', 
'online': True, 'chfInfo': {'primaryChfAddress': 
'1.1.1.1', 'secondaryChfAddress': '2.2.2.2'}, 'offline': True, 
'praInfos': {'p1': {'praId': 'p1', 'ecgiList': [{'plmnId': {'mcc': '976',
 'mnc': '32'}, 'eutraCellId': '92FFdBE'}, {'plmnId': {'mcc': '977', 'mnc'
: '33'}, 'eutraCellId': '8F868C4'}], 'ncgiList': 
[{'plmnId': {'mcc': '976', 'mnc': '32'}, 'nrCellId': 'b2fB6fE9D'},
 {'plmnId': {'mcc': '977', 'mnc': '33'}, 'nrCellId': '5d1B4127b'}], 
'trackingAreaList': [{'tac': '5CB6', 'plmnId': {'mcc': '976', 'mnc': '32'}},
 {'tac': '5CB7', 'plmnId': {'mcc': '977', 'mnc': '33'}}], 
'globalRanNodeIdList': [{'plmnId': {'mcc': '965', 'mnc': '235'}, 
'n3IwfId': 'fFf0f2AFbFa16CEfE7'}, {'gNbId': {'gNBValue': '1A8F1D', 
'bitLength': 25}, 'plmnId': {'mcc': '967', 'mnc': '238'}}]}}, 
'ipv4Index': 0, 'ipv6Index': 0, 'subscCats': ['cat1', 'cat2'], 
'adcSupport': True, 'mpsPriority': True, 'allowedServices': 
['ser1', 'ser2'], 'mpsPriorityLevel': 2, 'imsSignallingPrio': True,
 'refUmDataLimitIds': {'mk1': {'monkey': ['monkey1'], 'limitId': 'mk1'}},
 'subscSpendingLimits': True}}}, '33-abc123': {'snssai': {'sd': 'abc123',
 'sst': 33}, 'smPolicyDnnData': {'dnn1': {'dnn': 'dnn1', 'gbrDl': 
'7788 Kbps', 'gbrUl': '5566 Kbps', 'online': True, 'chfInfo': 
{'primaryChfAddress': '1.1.1.1', 'secondaryChfAddress': '2.2.2.2'},
 'offline': True, 'praInfos': {'p1': {'praId': 'p1', 'ecgiList': 
[{'plmnId': {'mcc': '976', 'mnc': '32'}, 'eutraCellId': '92FFdBE'}, 
{'plmnId': {'mcc': '977', 'mnc': '33'}, 'eutraCellId': '8F868C4'}]
, 'ncgiList': [{'plmnId': {'mcc': '976', 'mnc': '32'}, 'nrCellId': 
'b2fB6fE9D'}, {'plmnId': {'mcc': '977', 'mnc': '33'}, 'nrCellId': 
'5d1B4127b'}], 'trackingAreaList': [{'tac': '5CB6', 'plmnId': 
{'mcc': '976', 'mnc': '32'}}, {'tac': '5CB7', 'plmnId': 
{'mcc': '977', 'mnc': '33'}}], 'globalRanNodeIdList': [{'plmnId': 
{'mcc': '965', 'mnc': '235'}, 'n3IwfId': 'fFf0f2AFbFa16CEfE7'}, {'gNbId': 
{'gNBValue': '1A8F1D', 'bitLength': 25}, 'plmnId': {'mcc': '967', 
'mnc': '238'}}]}}, 'ipv4Index': 0, 'ipv6Index': 0, 'subscCats': 
['cat1', 'cat2'], 'adcSupport': True, 'mpsPriority': True, 
'allowedServices': ['ser1', 'ser2'], 'mpsPriorityLevel': 2, 
'imsSignallingPrio': True, 'refUmDataLimitIds': {'mk1': {'monkey': 
['monkey1'], 'limitId': 'mk1'}}, 'subscSpendingLimits': True}, 'dnn2': 
{'dnn': 'dnn2', 'gbrDl': '7788 Kbps', 'gbrUl': '5566 Kbps', 'online': 
True, 'chfInfo': {'primaryChfAddress': '1.1.1.1', 'secondaryChfAddress':
 '2.2.2.2'}, 'offline': True, 'praInfos': {'p1': {'praId': 'p1', 
'ecgiList': [{'plmnId': {'mcc': '976', 'mnc': '32'}, 'eutraCellId': 
'92FFdBE'}, {'plmnId': {'mcc': '977', 'mnc': '33'}, 'eutraCellId': 
'8F868C4'}], 'ncgiList': [{'plmnId': {'mcc': '976', 'mnc': '32'}, 
'nrCellId': 'b2fB6fE9D'}, {'plmnId': {'mcc': '977', 'mnc': '33'}, 
'nrCellId': '5d1B4127b'}], 'trackingAreaList': [{'tac': '5CB6', 
'plmnId': {'mcc': '976', 'mnc': '32'}}, 
{'tac': '5CB7', 'plmnId': {'mcc': '977', 'mnc': '33'}}], 
'globalRanNodeIdList': [{'plmnId': {'mcc': '965', 'mnc': '235'},
 'n3IwfId': 'fFf0f2AFbFa16CEfE7'}, {'gNbId': {'gNBValue': '1A8F1D',
 'bitLength': 25}, 'plmnId': {'mcc': '967', 'mnc': '238'}}]}}, 
'ipv4Index': 0, 'ipv6Index': 0, 'subscCats': ['cat1', 'cat2'], 
'adcSupport': True, 'mpsPriority': True, 'allowedServices': 
['ser1', 'ser2'], 'mpsPriorityLevel': 2, 'imsSignallingPrio': True,
 'refUmDataLimitIds': {'mk1': {'monkey': ['monkey1'], 
'limitId': 'mk1'}}, 'subscSpendingLimits': 
True}}}}}}]
DELETE DATA

[{'ueId': 'msisdn-7777777779', 'smPolicyData': None}]
DELETE SUBSCRIBER
[{'ueId': 'msisdn-7777777779', 'uePolicySet': None, 
'amPolicyData': None, 'smPolicyData': None, 'usageMonData'
: None}]