1 Star 0 Fork 2

Kenny_ZhangWei / 5GC_APIs

forked from yuxi-o / 5GC_APIs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
TS32291_Nchf_OfflineOnlyCharging.yaml 21.62 KB
一键复制 编辑 原始数据 按行查看 历史
Jesus de Gregorio 提交于 2020-04-05 16:19 . Rel-16 Mar'20
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646
openapi: 3.0.0
info:
title: Nchf_OfflineOnlyCharging
version: 1.0.0.alpha-3
description: |
OfflineOnlyCharging Service
© 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
externalDocs:
description: >
3GPP TS 32.291 V16.3.0: Telecommunication management; Charging management;
5G system, charging service; Stage 3.
url: 'http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/'
servers:
- url: '{apiRoot}/nchf-offlineonlycharging/v1'
variables:
apiRoot:
default: https://example.com
description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501.
paths:
/offlinechargingdata:
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ChargingDataRequest'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/ChargingDataResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
'404':
description: Not Found
content:
application/json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'410':
$ref: 'TS29571_CommonData.yaml#/components/responses/410'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
'/offlinechargingdata/{OfflineChargingDataRef}/update':
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ChargingDataRequest'
parameters:
- name: OfflineChargingDataRef
in: path
description: a unique identifier for a charging data resource in a PLMN
required: true
schema:
type: string
responses:
'200':
description: OK. Updated Charging Data resource is returned
content:
application/json:
schema:
$ref: '#/components/schemas/ChargingDataResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
'404':
description: Not Found
content:
application/json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'410':
$ref: 'TS29571_CommonData.yaml#/components/responses/410'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
'/offlinechargingdata/{OfflineChargingDataRef}/release':
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ChargingDataRequest'
parameters:
- name: OfflineChargingDataRef
in: path
description: a unique identifier for a charging data resource in a PLMN
required: true
schema:
type: string
responses:
'204':
description: No Content.
'404':
description: Not Found
content:
application/json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'410':
$ref: 'TS29571_CommonData.yaml#/components/responses/410'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
components:
schemas:
ChargingDataRequest:
type: object
properties:
subscriberIdentifier:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Supi'
nfConsumerIdentification:
$ref: '#/components/schemas/NFIdentification'
invocationTimeStamp:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
invocationSequenceNumber:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint32'
oneTimeEvent:
type: boolean
notifyUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
multipleUnitUsage:
type: array
items:
$ref: '#/components/schemas/MultipleUnitUsage'
minItems: 0
triggers:
type: array
items:
$ref: '#/components/schemas/Trigger'
minItems: 0
pDUSessionChargingInformation:
$ref: '#/components/schemas/PDUSessionChargingInformation'
roamingQBCInformation:
$ref: '#/components/schemas/RoamingQBCInformation'
required:
- nfIdentification
- invocationTimeStamp
- invocationSequenceNumber
ChargingDataResponse:
type: object
properties:
invocationTimeStamp:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
invocationSequenceNumber:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint32'
invocationResult:
$ref: '#/components/schemas/InvocationResult'
sessionFailover:
$ref: '#/components/schemas/SessionFailover'
triggers:
type: array
items:
$ref: '#/components/schemas/Trigger'
minItems: 0
pDUSessionChargingInformation:
$ref: '#/components/schemas/PDUSessionChargingInformation'
roamingQBCInformation:
$ref: '#/components/schemas/RoamingQBCInformation'
required:
- invocationTimeStamp
- invocationSequenceNumber
NFIdentification:
type: object
properties:
nFName:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId'
nFIPv4Address:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'
nFIPv6Address:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Addr'
nFPLMNID:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PlmnId'
nodeFunctionality:
$ref: '#/components/schemas/NodeFunctionality'
nFFqdn:
type: string
required:
- nodeFunctionality
MultipleUnitUsage:
type: object
properties:
ratingGroup:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatingGroup'
usedUnitContainer:
type: array
items:
$ref: '#/components/schemas/UsedUnitContainer'
minItems: 0
uPFID:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId'
required:
- ratingGroup
InvocationResult:
type: object
properties:
error:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
failureHandling:
$ref: '#/components/schemas/FailureHandling'
Trigger:
type: object
properties:
triggerType:
$ref: '#/components/schemas/TriggerType'
triggerCategory:
$ref: '#/components/schemas/TriggerCategory'
timeLimit:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DurationSec'
volumeLimit:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint32'
volumeLimit64:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint64'
maxNumberOfccc:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint32'
required:
- triggerType
- triggerCategory
UsedUnitContainer:
type: object
properties:
serviceId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ServiceId'
triggers:
type: array
items:
$ref: '#/components/schemas/Trigger'
minItems: 0
triggerTimestamp:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
time:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint32'
totalVolume:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint64'
uplinkVolume:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint64'
downlinkVolume:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint64'
eventTimeStamps:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
localSequenceNumber:
type: integer
pDUContainerInformation:
$ref: '#/components/schemas/PDUContainerInformation'
required:
- localSequenceNumber
PDUSessionChargingInformation:
type: object
properties:
chargingId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ChargingId'
userInformation:
$ref: '#/components/schemas/UserInformation'
userLocationinfo:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UserLocation'
userLocationTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
presenceReportingAreaInformation:
type: object
additionalProperties:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PresenceInfo'
minProperties: 0
uetimeZone:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TimeZone'
pduSessionInformation:
$ref: '#/components/schemas/PDUSessionInformation'
unitCountInactivityTimer:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DurationSec'
rANSecondaryRATUsageReport:
$ref: '#/components/schemas/RANSecondaryRATUsageReport'
required:
- pduSessionInformation
UserInformation:
type: object
properties:
servedGPSI:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Gpsi'
servedPEI:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Pei'
unauthenticatedFlag:
type: boolean
roamerInOut:
$ref: '#/components/schemas/RoamerInOut'
PDUSessionInformation:
type: object
properties:
networkSlicingInfo:
$ref: '#/components/schemas/NetworkSlicingInfo'
pduSessionID:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionId'
pduType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionType'
sscMode:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SscMode'
hPlmnId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PlmnId'
servingNetworkFunctionID:
$ref: '#/components/schemas/ServingNetworkFunctionID'
ratType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
dnnId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Dnn'
chargingCharacteristics:
type: string
chargingCharacteristicsSelectionMode:
$ref: '#/components/schemas/ChargingCharacteristicsSelectionMode'
startTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
stopTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
3gppPSDataOffStatus:
$ref: '#/components/schemas/3GPPPSDataOffStatus'
sessionStopIndicator:
type: boolean
pduAddress:
$ref: '#/components/schemas/PDUAddress'
diagnostics:
$ref: '#/components/schemas/Diagnostics'
authorizedQoSInformation:
$ref: 'TS29512_Npcf_SMPolicyControl.yaml#/components/schemas/AuthorizedDefaultQos'
subscribedQoSInformation:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SubscribedDefaultQos'
authorizedSessionAMBR:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ambr'
subscribedSessionAMBR:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ambr'
servingCNPlmnId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PlmnId'
required:
- pduSessionID
- dnnId
PDUContainerInformation:
type: object
properties:
timeofFirstUsage:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
timeofLastUsage:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
qoSInformation:
$ref: 'TS29512_Npcf_SMPolicyControl.yaml#/components/schemas/QosData'
qoSCharacteristics:
$ref: 'TS29512_Npcf_SMPolicyControl.yaml#/components/schemas/QosCharacteristics'
aFCorrelationInformation:
type: string
userLocationInformation:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UserLocation'
uetimeZone:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TimeZone'
rATType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
servingNodeID:
type: array
items:
$ref: '#/components/schemas/ServingNetworkFunctionID'
minItems: 0
presenceReportingAreaInformation:
type: object
additionalProperties:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PresenceInfo'
minProperties: 0
3gppPSDataOffStatus:
$ref: '#/components/schemas/3GPPPSDataOffStatus'
sponsorIdentity:
type: string
applicationserviceProviderIdentity:
type: string
chargingRuleBaseName:
type: string
NetworkSlicingInfo:
type: object
properties:
sNSSAI:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai'
required:
- sNSSAI
PDUAddress:
type: object
properties:
pduIPv4Address:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'
pduIPv6AddresswithPrefix:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Addr'
pduAddressprefixlength:
type: integer
iPv4dynamicAddressFlag:
type: boolean
iPv6dynamicPrefixFlag:
type: boolean
ServingNetworkFunctionID:
type: object
properties:
servingNetworkFunctionInformation:
$ref: '#/components/schemas/NFIdentification'
aMFId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/AmfId'
required:
- servingNetworkFunctionInformation
RoamingQBCInformation:
type: object
properties:
multipleQFIcontainer:
type: array
items:
$ref: '#/components/schemas/MultipleQFIcontainer'
minItems: 0
uPFID:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId'
roamingChargingProfile:
$ref: '#/components/schemas/RoamingChargingProfile'
MultipleQFIcontainer:
type: object
properties:
triggers:
type: array
items:
$ref: '#/components/schemas/Trigger'
minItems: 0
triggerTimestamp:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
time:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint32'
totalVolume:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint64'
uplinkVolume:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint64'
localSequenceNumber:
type: integer
qFIContainerInformation:
$ref: '#/components/schemas/QFIContainerInformation'
required:
- localSequenceNumber
QFIContainerInformation:
type: object
properties:
qFI:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Qfi'
timeofFirstUsage:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
timeofLastUsage:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
qoSInformation:
$ref: 'TS29512_Npcf_SMPolicyControl.yaml#/components/schemas/QosData'
qoSCharacteristics:
$ref: 'TS29512_Npcf_SMPolicyControl.yaml#/components/schemas/QosCharacteristics'
userLocationInformation:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UserLocation'
uetimeZone:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TimeZone'
presenceReportingAreaInformation:
type: object
additionalProperties:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PresenceInfo'
minProperties: 0
rATType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
servingNetworkFunctionID:
type: array
items:
$ref: '#/components/schemas/ServingNetworkFunctionID'
minItems: 0
3gppPSDataOffStatus:
$ref: '#/components/schemas/3GPPPSDataOffStatus'
RoamingChargingProfile:
type: object
properties:
triggers:
type: array
items:
$ref: '#/components/schemas/Trigger'
minItems: 0
partialRecordMethod:
$ref: '#/components/schemas/PartialRecordMethod'
RANSecondaryRATUsageReport:
type: object
properties:
rANSecondaryRATType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
qosFlowsUsageReports:
type: array
items:
$ref: '#/components/schemas/QosFlowsUsageReport'
Diagnostics:
type: integer
IPFilterRule:
type: string
QosFlowsUsageReport:
type: object
properties:
qFI:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Qfi'
startTimestamp:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
endTimestamp:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
uplinkVolume:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint64'
downlinkVolume:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint64'
NodeFunctionality:
anyOf:
- type: string
enum:
- SMF
- SMSF
- type: string
ChargingCharacteristicsSelectionMode:
anyOf:
- type: string
enum:
- HOME_DEFAULT
- ROAMING_DEFAULT
- VISITING_DEFAULT
- type: string
TriggerType:
anyOf:
- type: string
enum:
- FINAL
- ABNORMAL_RELEASE
- QOS_CHANGE
- VOLUME_LIMIT
- TIME_LIMIT
- PLMN_CHANGE
- USER_LOCATION_CHANGE
- RAT_CHANGE
- SESSION_AMBR_CHANGE
- UE_TIMEZONE_CHANGE
- TARIFF_TIME_CHANGE
- MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS
- MANAGEMENT_INTERVENTION
- CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA
- CHANGE_OF_3GPP_PS_DATA_OFF_STATUS
- SERVING_NODE_CHANGE
- REMOVAL_OF_UPF
- ADDITION_OF_UPF
- INSERTION_OF_ISMF
- REMOVAL_OF_ISMF
- CHANGE_OF_ISMF
- START_OF_SERVICE_DATA_FLOW
- GFBR_GUARANTEED_STATUS_CHANGE
- type: string
TriggerCategory:
anyOf:
- type: string
enum:
- IMMEDIATE_REPORT
- DEFERRED_REPORT
- type: string
FailureHandling:
anyOf:
- type: string
enum:
- TERMINATE
- CONTINUE
- RETRY_AND_TERMINATE
- type: string
SessionFailover:
anyOf:
- type: string
enum:
- FAILOVER_NOT_SUPPORTED
- FAILOVER_SUPPORTED
- type: string
3GPPPSDataOffStatus:
anyOf:
- type: string
enum:
- ACTIVE
- INACTIVE
- type: string
ResultCode:
anyOf:
- type: string
enum:
- SUCCESS
- END_USER_SERVICE_DENIED
- type: string
PartialRecordMethod:
anyOf:
- type: string
enum:
- DEFAULT
- INDIVIDUAL
- type: string
RoamerInOut:
anyOf:
- type: string
enum:
- IN_BOUND
- OUT_BOUND
- type: string
1
https://gitee.com/kenny.w.zhang/v5GC_APIs.git
git@gitee.com:kenny.w.zhang/v5GC_APIs.git
kenny.w.zhang
v5GC_APIs
5GC_APIs
master

搜索帮助