SDKs / wrapper libraries

  1. Issue on Put method for creating a tracking option - Python

    I want to create a tracking option ((i.e) Add tracking option) under the respective tracking category, using Xero tracking category API for my organisation. But while creating data using 'put' Requests method, it is not creating.

    I am using the below condition in python:

    response = requests.put(url=url, auth=oauth, data=xml_string)

    I want to know, what is the format for the data to be updated in the requests, for both content type xml/text and application/json.

    xml_string and url, I given is below:

    url = '{Tracking

    where Tracking_Category='620815a2-a7c6-4b85-8b01-ffb254ab34ad'

    Error: <ApiException xmlns:xsd="; xmlns:xsi="">\r\n <ErrorNumber>500</ErrorNumber>\r\n <Type>UnknownErrorException</Type>\r\n <Message>An…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Python  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

SDKs / wrapper libraries


Feedback and Knowledge Base