跳至主內容

搜尋

搜尋

How we can read named data sources (SubStrings) from file in rest API

評論

4 條評論

  • Avatar
    Xabier Clemente
    版主

    Hello Onkar,

    Thank you for reaching us via the BarTender Community Forums.

    To read named data sources (substrings) from a file using BarTender REST API, you can follow these general steps:

    1. Ensure you have the necessary software and permissions: You should have BarTender installed and configured with a REST API integration. Additionally, ensure that you have the required permissions to access and read files.
    2. Locate the REST API endpoint for reading substrings: Consult the BarTender REST API documentation or your specific integration to identify the endpoint that allows you to read substrings from a file.
    3. Prepare the request: Construct an HTTP request to access the desired endpoint. Typically, you will use the GET method for reading data. Provide the necessary parameters such as the file path or identifier to specify the file containing the substrings.
    4. Send the request: Use your preferred programming language or tool to send the HTTP request to the BarTender REST API endpoint.
    5. Handle the response: Receive the response from the API. If the request is successful, you will obtain the data containing the named data sources (substrings) from the file.
    6. Parse the response: Depending on the format of the response (e.g., JSON, XML), extract the relevant data from the response payload. Extract the named data sources (substrings) from the file based on their specific format.
    7. Process the substrings: Once you have retrieved the named data sources (substrings), you can process them as per your requirements. This may involve further manipulation, integration, or utilization within your application or workflow.

    If you'd like more information on the subject, please refer to the official BarTender REST API documentation or consult with the Professional Services team, who in exchange for a quote will provide you with specific details and implementation guidelines relevant to your version and setup of BarTender.

    0
  • Avatar
    Lubin Chen

    After browsing Bartender REST API documentation, I don't find an action can do 2. above. Can you tell us which action we can use to do it? Thanks.

    0
  • Avatar
    Brandon Billingham

    Lubin Chen did you ever get a proper solution for this? I have a "work around" but I was hoping for an update to something more official.

    0
  • Avatar
    Lubin Chen

    Hi Brandon,

    What is your work around? Official fix would be desirable.

    0

登入寫評論。