Skip to main content
Solved

Which REST API to reach Substution Lists?

  • June 29, 2022
  • 1 reply
  • 56 views

Hi

Looking to figure out which REST API I can use to update/amend the substitution lists.

The swagger.json at the top level isn’t showing me much help

I can subaccounts but not substitutions

Ideas?

 

 

Best answer by jinin

Hi @sbenosn 
Add the Substitute List entity to the endpoint. By default, it's not available. We need to include it on the endpoint.

Sample JSON Request:

{

    "SubstitutionList": {

        "value": "BCCCOUNTRIES"

    },

    "TableName": {},

    "Values": [

        {

            "OriginalValue": {

                "value": "India"

            },

            "SubstitutionID": {

                "value": "BCCCOUNTRIES"

            },

            "SubstitutionValue": {

                "value": "IN"

            },

            "ValueID": {

                "value": 1

            }

           

        }

    ]

}

View original
Did this topic help you find an answer to your question?

1 reply

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 705 replies
  • Answer
  • July 1, 2022

Hi @sbenosn 
Add the Substitute List entity to the endpoint. By default, it's not available. We need to include it on the endpoint.

Sample JSON Request:

{

    "SubstitutionList": {

        "value": "BCCCOUNTRIES"

    },

    "TableName": {},

    "Values": [

        {

            "OriginalValue": {

                "value": "India"

            },

            "SubstitutionID": {

                "value": "BCCCOUNTRIES"

            },

            "SubstitutionValue": {

                "value": "IN"

            },

            "ValueID": {

                "value": 1

            }

           

        }

    ]

}


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings