I am running version 7.11.15 and I am able to query via the v8 JSON API but when I try to update I get a 400 error. I thought it had something to do with the spacing or line breaks but I removed them all and that didn’t help.
Thanks!
I am using request type “PATCH”
URL: https://XXX.XXX.XX.XX/SuiteCRM/Api/V8/module
{
"data": {
"type": "Accounts",
"id": "7121ba98-d43e-3f77-2d28-5f688dfcb6f4",
"attributes": {
"name": "test account B"
}
}
}
result is:
400
Bad Request
{
"errors": {
"status": 400,
"title": null,
"detail": "The option \"{\n\"data\":_{\"type\":_\"Accounts\",\"id\":_\"7121ba98-d43e-3f77-2d28-5f688dfcb6f4\",\"attributes\":_{\"name\":_\"test_account_B\"}}\n}\" does not exist. Defined options are: \"data\"."
}
}
?††???›?††††???›???†††???=›???††††???›???4???›???†??