SessionManagementSubscriptionData PUT API
API to execute an INSERT or UPDATE of a SessionManagementSubscription resource to be passed in the request body.
- If the resource is already present in the DB table, then an UPDATE is performed with the request data
- If the resource has not been created yet, it is INSERTed into the table.
Tested on 5GCN deployment with VPP, NRF and gnbsim.
Simulated a first PUT (INSERT), a GET of the new resource, and a PUT (UPDATE) with different request body.
Logs, pcap and request bodies are provided.
Usage:
curl -X PUT -H "Content-Type: application/json" -d @put_sm_data.json http://UDR_IP_ADDR/nudr-dr/v1/subscription-data/UE_ID/SERVING_PLMN_ID/provisioned-data/sm-data
sessmgmtdata-put-test.pcap sm-subscription-put-api-logs.zip put_sm_data_create.json put_sm_data_update.jsonUN
Edited by Tien-Thinh Nguyen