HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema":"http://json-schema.org/draft-04/schema#",
"type":"object",
"additionalProperties":false,
"properties":{
"subscriberId":{
"type": "string",
"description": "Administrative identifier of a subscriber."
},
"ongoingSession":{
"type":"array",
"description":"Contains the ongoing session information.",
"uniqueItems":true,
"additionalProperties":true,
"items":{
"type":"object",
"additionalProperties":false,
"properties":{
"trafficId":{
"type":"object ",
"additionalProperties":false,
"properties":{
"idType":{
"type":"string",
"enum":[
"imsi",
"msisdn"
]
},
"idValue":{
"type":"string"
}
}
},
"apn":{
"type":"string"
},
"ipv4Addr":{
"type":"string",
"description":"UE's IPv4 address."
},
"ipv6Prefix":{
"type":"string",
"description":"UE's IPv6 prefix."
},
"startTime":{
"type":"string",
"description":"Start date and time when the session is established.",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"updateTime":{
"type":"string",
"description":"Last update date and time when the session is modified.",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"mnc":{
"type":"string"
},
"mcc":{
"type":"string"
},
"ratType":{
"type":"string",
"enum":[
"Wlan",
"Virtual",
"Utran",
"Geran",
"Gan",
"HspaEvolution",
"Eutran",
"EutranNbIot",
"Cdma2000",
"Hrpd",
"Umb",
"Ehrpd"
]
},
"pccRules":{
"type":"object",
"additionalProperties ":false,
"properties":{
"pccRuleIds ":{
"type":"array ",
"uniqueItems":true,
"items":{
"type":"string"
}
},
"time":{
"type":"string",
"description":"Last update date and time when PCC rule list is modified.",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
}
}
},
"qos":{
"type":"object",
"description":"Accepted QoS and bandwidth.",
"properties":{
"qci":{
"type":"integer",
"minimum":1,
"maximum":254,
"exclusiveMaximum":false,
"exclusiveMinimum":false,
"description":"Authorized QoS Class Identifier for the default bearer."
},
"apnAmbrDl":{
"type":"integer",
"description":"Authorized maximum aggregate bit rate (in Kbits per second) for the downlink across all non-GBR bearers related with the same APN."
},
"apnAmbrUl":{
"type":"integer",
"description":"Authorized maximum aggregate bit rate (in Kbits per second) for the uplink across all non-GBR bearers related with the same APN."
},
"bearerId":{
"type":"string",
"description":"The identifier for the IP-CAN bearer. It’s in hexadecimal format with 0x as the prefix."
},
"mbrDl":{
"type":"integer",
"description":"Authorized maximum bit rate (in Kbits per second) for the downlink."
},
"mbrUl":{
"type":"integer",
"description":"Authorized maximum bit rate (in Kbits per second) for the uplink."
},
"arpPrio":{
"type":"integer",
"description":"Priority for Allocation Retention Priority (ARP).",
"minimum":1,
"maximum":15,
"exclusiveMaximum":false,
"exclusiveMinimum":false
},
"arpPvi":{
"type":"boolean",
"description":"Values: false = PRE-EMPTION_VULNERABILITY_ENABLED (0); true = PRE-EMPTION_VULNERABILITY_DISABLED (1)."
},
"arpPci":{
"type":"boolean",
"description":"Values: false = PRE-EMPTION_CAPABILITY_ENABLED (0); true = PRE-EMPTION_CAPABILITY_DISABLED (1)."
}
}
},
"pra":{
"type":"object",
"additionalProperties":false,
"properties":{
"praId":{
"type":"integer",
"description":"Name of PRA (Presence Reporting Area).",
"minimum":0,
"maximum":16777215
},
"praStatus":{
"type":"string",
"description":"Indicates the UE is inside (In) or outside (Out) of the PRA. Before received the report from PCEF, the status is Unknown.",
"enum":[
"Unknown",
"In",
"Out"
]
}
}
}
}
}
},
"closedSession":{
"type":"array",
"description":"Contains the ongoing session information.",
"uniqueItems":true,
"additionalProperties":true,
"items":{
"type":"object",
"additionalProperties":false,
"properties":{
"trafficId":{
"type":"object ",
"additionalProperties":false,
"properties":{
"idType":{
"type":"string",
"enum":[
"imsi",
"msisdn"
]
},
"idValue":{
"type":"string"
}
}
},
"apn":{
"type":"string"
},
"ipv4Addr":{
"type":"string",
"description":"UE's IPv4 address."
},
"ipv6Prefix":{
"type":"string",
"description":"UE's IPv6 prefix."
},
"startTime":{
"type":"string",
"description":"Start date and time when the session is established.",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"updateTime":{
"type":"string",
"description":"Last update date and time when the session is modified.",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"mnc":{
"type":"string"
},
"mcc":{
"type":"string"
},
"ratType":{
"type":"string",
"enum":[
"Wlan",
"Virtual",
"Utran",
"Geran",
"Gan",
"HspaEvolution",
"Eutran",
"EutranNbIot",
"Cdma2000",
"Hrpd",
"Umb",
"Ehrpd"
]
},
"pccRules":{
"type":"object",
"additionalProperties ":false,
"properties":{
"pccRuleIds ":{
"type":"array ",
"uniqueItems":true,
"items":{
"type":"string"
}
},
"time":{
"type":"string",
"description":"Last update date and time when PCC rule list is modified.",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
}
}
},
"qos":{
"type":"object",
"description":"Accepted QoS and bandwidth.",
"properties":{
"qci":{
"type":"integer",
"minimum":1,
"maximum":254,
"exclusiveMaximum":false,
"exclusiveMinimum":false,
"description":"Authorized QoS Class Identifier for the default bearer."
},
"apnAmbrDl":{
"type":"integer",
"description":"Authorized maximum aggregate bit rate (in Kbits per second) for the downlink across all non-GBR bearers related with the same APN."
},
"apnAmbrUl":{
"type":"integer",
"description":"Authorized maximum aggregate bit rate (in Kbits per second) for the uplink across all non-GBR bearers related with the same APN."
},
"bearerId":{
"type":"string",
"description":"The identifier for the IP-CAN bearer. It’s in hexadecimal format with 0x as the prefix."
},
"mbrDl":{
"type":"integer",
"description":"Authorized maximum bit rate (in Kbits per second) for the downlink."
},
"mbrUl":{
"type":"integer",
"description":"Authorized maximum bit rate (in Kbits per second) for the uplink."
},
"arpPrio":{
"type":"integer",
"description":"Priority for Allocation Retention Priority (ARP).",
"minimum":1,
"maximum":15,
"exclusiveMaximum":false,
"exclusiveMinimum":false
},
"arpPvi":{
"type":"boolean",
"description":"Values: false = PRE-EMPTION_VULNERABILITY_ENABLED (0); true = PRE-EMPTION_VULNERABILITY_DISABLED (1)."
},
"arpPci":{
"type":"boolean",
"description":"Values: false = PRE-EMPTION_CAPABILITY_ENABLED (0); true = PRE-EMPTION_CAPABILITY_DISABLED (1)."
}
}
},
"pra":{
"type":"object",
"additionalProperties":false,
"properties":{
"praId":{
"type":"integer",
"description":"Name of PRA (Presence Reporting Area).",
"minimum":0,
"maximum":16777215
},
"praStatus":{
"type":"string",
"description":"Indicates the UE is inside (In) or outside (Out) of the PRA. Before received the report from PCEF, the status is Unknown.",
"enum":[
"Unknown",
"In",
"Out"
]
}
}
}
}
}
},
"usageAccumulators":{
"type":"array",
"minItems": 1,
"uniqueItems": true,
"additionalItems":false,
"items":{
"type":"object",
"additionalProperties":false,
"properties":{
"name":{
"type":"string",
"description": "Reporting group identifier."
},
"restartInfo":{
"type":"string",
"description": "Copy of the start date applicable for the subscriber group usage accumulator. If startDate is modified, the usage accumulator is reset."
},
"subscriptionDate":{
"type":"string",
"description": "Start date and time when the reporting group is controlled. If the optional time part (Thh[:mm[:ss]]) is not specified, 00:00:00 is considered.",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"subscriberGroupName":{
"type":"string",
"description": "It contains the dataplan name which the usage limit has been taken from."
},
"selected":{
"type":"string",
"description": "In the case of having separate accumulators depending on the subscriber group the subscriber belongs to, it indicates if the accumulated value is chosen for accumulation or not (depending on the active subscriber group). In case of multiple IP sessions, its value corresponds to the last IP sessions that received Usage Reporting.",
"enum":["yes","no"]
},
"validityTime":{
"type":"integer",
"description": "Internally used to handle time events making use of Time Trigger functionality."
},
"absoluteAccumulated":{
"type":"object",
"description": "Block containing the accumulated consumed usages for a specific period.",
"additionalProperties":false,
"properties":{
"reportingLevel":{
"type":"string",
"enum":["totalTraffic","perReportingGroup"]
},
"ulVolume":{
"type":"integer",
"description": "Uplink volume accumulated.",
"minimum": 0
},
"dlVolume":{
"type":"integer",
"description": "Downlink volume accumulated.",
"minimum": 0
},
"bidirVolume":{
"type":"integer",
"description": "Bidirectional volume accumulated.",
"minimum": 0
},
"time":{
"type":"integer",
"description": "Time of accumulated",
"minimun": 0
},
"expiryDate":{
"type":"object",
"description": "Date and time when the absolute accumulated consumed usages are reset for postpaid subscriptions, or valid for prepaid ones.",
"additionalProperties":false,
"properties":{
"volume":{
"type":"string",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"time":{
"type":"string",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
}
}
},
"previousExpiryDate":{
"type":"object",
"description": "At creation time of the accumulatedUsage entry, subscriptionDate value (or startDate or system date) is copied in this attribute. It is updated with the expiry date from the previous period.",
"additionalProperties":false,
"properties":{
"volume":{
"type":"string",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"time":{
"type":"string",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
}
}
},
"resetPeriod":{
"type":"object",
"description": "Time period to reset all accumulated consumed usages for postpaid reporting groups (usage information is automatically reset when previous expiration date + resetPeriod is reached).",
"additionalProperties":false,
"properties":{
"volume":{"type":"string"},
"time":{"type":"string"}
}
},
"counters":{
"type":"array",
"description": "Block containing the complementary accumulated consumed usages.",
"additionalItems":false,
"items":{
"type":"object",
"additionalProperties":false,
"properties":{
"name":{
"type":"string"
},
"ulVolume":{
"type":"integer",
"description": "Uplink volume accumulated.",
"minimum": 0
},
"dlVolume":{
"type":"integer",
"description": "Downlink volume accumulated.",
"minimum": 0
},
"bidirVolume":{
"type":"integer",
"description": "Bidirectional volume accumulated.",
"minimum": 0
},
"time":{
"type":"integer",
"description": "Time of accumulated",
"minimum": 0
},
"expiryDate":{
"type":"object",
"description": "Date and time when the complementary accumulated consumed usages are reset for postpaid subscriptions, or valid for prepaid ones.",
"additionalProperties":false,
"properties":{
"volume":{
"type":"string",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"time":{
"type":"string",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
}
}
},
"previousExpiryDate":{
"type":"object",
"description": "At creation time of the accumulatedUsage entry, subscriptionDate value (or startDate or system date) is copied in this attribute. It is updated with the expiry date from the previous period.",
"additionalProperties":false,
"properties":{
"volume":{
"type":"string",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
},
"time":{
"type":"string",
"pattern":"^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[1-2][0-9]{3}(T([0-1][0-9]|2[0-3])(:[0-5][0-9]){0,2})?$"
}
}
},
"resetPeriod":{
"type":"object",
"description": "Time period to reset all accumulated consumed usages for postpaid reporting groups (usage information is automatically reset when previous expiration date + resetPeriod is reached).",
"additionalProperties":false,
"properties":{
"volume":{"type":"string"},
"time":{"type":"string"}
}
}
}
}
}
}
},
"sessionAccumulated":{
"type":"array",
"description": "Block containing the accumulated consumed usages for an IP session.",
"additionalItems":false,
"items":{
"type":"object",
"additionalProperties":false,
"properties":{
"session":{
"type":"string"
},
"reportingLevel":{
"type":"string",
"description": "totalTraffic Fair Usage is related to the total traffic (IP session). perReportingGroup Fair Usage is related to a specific reporting group (service level). If reportingLevel is not provisioned, perReportingGroup (default value) is assumed.",
"enum":["totalTraffic","perReportingGroup"]
},
"ulVolume":{
"type":"integer",
"description": "Uplink volume accumulated.",
"minimum": 0
},
"dlVolume":{
"type":"integer",
"description":"Downlink volume accumulated.",
"minimum": 0
},
"bidirVolume":{
"type":"integer",
"description": "Bidirectional volume accumulated.",
"minimum": 0
},
"time":{
"type":"integer",
"description": "Time of accumulated",
"minimum": 0
},
"counters":{
"type":"array",
"description": "Block containing the complementary accumulated consumed usages.",
"additionalItems":false,
"items":{
"type":"object",
"additionalProperties":false,
"properties":{
"name":{
"type":"string"
},
"ulVolume":{
"type":"integer",
"description": "Uplink volume accumulated.",
"minimum": 0
},
"dlVolume":{
"type":"integer",
"description": "Downlink volume accumulated.",
"minimum": 0
},
"bidirVolume":{
"type":"integer",
"description": "Bidirectional volume accumulated.",
"minimum": 0
},
"time":{
"type":"integer",
"description": "Time of accumulated",
"minimum": 0
}
}
}
}
}
}
}
}
}
},
"version":{
"type":"string",
"description": "2.2. Internally used to know about the json format syntax of accumulated attribute, as it can be expanded in each release of the SAPC."
}
}
}