1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
curl --request PATCH \ --url 'https://example.com/resourceReservation/string?@type=string' \ --header 'accept: application/json;charset=utf-8' \ --header 'content-type: application/json' \ --data ' { "@type": "MSISDNReservation_Update", "marketServiceInfo": { "billingMarket": "ABC", "billingSubMarket": "DEF" }, "operationType": "RELEASE", "reservationItem": [ { "@type": "MSISDNReservationItem", "action": "delete", "resource": { "@type": "MSISDN", "value": "5466231488" } } ] } '
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{ "@type": "MSISDNReservation", "billingAccountNumber": "123456789", "marketServiceInfo": { "billingMarket": "ABC", "billingSubMarket": "DEF" }, "operationType": "RELEASE", "reservationItem": [ { "@type": "MSISDNReservationItem", "isReleased": true, "resource": { "@type": "MSISDN", "equipmentType": "G", "serviceArea": "123456789012", "value": "5466231488" } } ] }