cancel
Showing results for 
Search instead for 
Did you mean: 

Adding multiple custom references in the usage record

kzdo
Explorer
0 Kudos
365

Hi Community,

I want to add more than 10 custom references in the usage record, but when I try to do that I get the following error:

"status": 400,
"type": "Bad Request",
"message": "The field 'customReferences' size must be between 0 and 10."

I checked in the API documentations that the max=10 in the POST request.

The business requirement is to have more than 10 custom fields which are uploaded by mediation CDRs. These fields should be available in billable items in the integration with CI.

How can I fulfill this requirement with this limitation?

Thank you!

Accepted Solutions (0)

Answers (2)

Answers (2)

YoyoYao
Associate
Associate

Hi kzdo,

Firstly if the custom fields in usage record will be used in price calculation and usage record will be rated individually , you can use "item fields" in usage record, the max number of item in one usage record is 200. refer details in https://help.sap.com/docs/subscription-billing/feature-overview/usage-data.

But if the custom fields you'd like to put in usage record are just for information passed on to bill and billable item in S4, then you need to use custom reference. Currently we do not plan to increase the max size of custom references (may consider it later. I will info you once it's confirmed).

So current possible options maybe:

Option 1: Using multiple custom fields in one customer reference, like field1-field2-field3.

Option 2: When posting usage record, fill custom reference with a 'reference' which identifies it in an external system and read it in the integration flow.

BR, Yoyo

YoyoYao
Associate
Associate
0 Kudos

Hi kzdo,

How may custom references will be added in an usage record in your case? Could you give me a draft estimation?

BR,

Yoyo

kzdo
Explorer
0 Kudos

Hi YoyoYao,

The estimated number is between 30-35 fields. We can work to remove some information, but the essential references would still be more than 20.

 

BR