I have a question about the Rest API for Connectwise. I make requests for receiving and sending without problems, but when I make a request for correction, I get a 400 response with the message "field value is invalid" no matter what I try to do. I am on 2016v1 and using the Rest API, calling Python calls with a request library.
The Rest API documentation says that the following object should be passed in the body, but I don't know what values should go with these keys:
{
op (string, optional),
path (string,optional),
value (string,optional)
}
I tried dozens of calls, including with the following bodies:
{'summary': 'updatedsummarytext'}
{'value': {'summary': 'updatedsummarytext'}}
{'op': {'summary': 'updatedsummarytext'}}
So far I have received the following answer:
<Response [400]>
{
"code": "InvalidObject",
"message": "operations object is invalid",
"errors": [
{
"code": "InvalidField",
"message": "The field value is invalid.",
"resource": "operations",
"field": "value"
}
]
}
Is their specific value that awaits the connection for op or value keys, or is there something that I am missing is unique to PIP rest api calls?