When accessing the endpoint: "POST /fieldapi/issues/v1/update"
(https://bim360field.autodesk.com/apidoc/index.html#issues_api_method_12)
using a conformant JSON payload (seen below)
{ "ticket": "<TICKET>", "project_id": "<PROJECT_ID>", "issues": [ { "id": "<ISSUE ID>", "fields": [ { "id": "f--status", "value": "Open" } ] } ] }
The response waivers between a 500 and a 401 HTTP status code.
I have confirmed my Ticket is value on other endpoints, and that I am an Admin on the project as well as I am an account admin...
Pleae help me to know what is going on here....
When accessing the endpoint: "POST /fieldapi/issues/v1/update"
(https://bim360field.autodesk.com/apidoc/index.html#issues_api_method_12)
using a conformant JSON payload (seen below)
{ "ticket": "<TICKET>", "project_id": "<PROJECT_ID>", "issues": [ { "id": "<ISSUE ID>", "fields": [ { "id": "f--status", "value": "Open" } ] } ] }
The response waivers between a 500 and a 401 HTTP status code.
I have confirmed my Ticket is value on other endpoints, and that I am an Admin on the project as well as I am an account admin...
Pleae help me to know what is going on here....
Hi Matt,
I tested it myself. It works for me. So at least that means the API itself is functioning.
Here is a few tips for trableshooting.
https://fieldofviewblog.wordpress.com/2016/09/13/troubleshooting-tips-making-rest-calls/
For example, using postman, input data looks like this:
where, issues value is like:
[{"id":"012ddddd-dddd-44ed-9fa2-ff7b840ddddd","fields":[{"id":"f--description","name":"Description","display_type":"textarea","value":"My issue API"}]}]
if you click on a "Code" button, you will be presented with a choice of programming language, and gives you a code snippet as well.
I hope this helps.
Hi Matt,
I tested it myself. It works for me. So at least that means the API itself is functioning.
Here is a few tips for trableshooting.
https://fieldofviewblog.wordpress.com/2016/09/13/troubleshooting-tips-making-rest-calls/
For example, using postman, input data looks like this:
where, issues value is like:
[{"id":"012ddddd-dddd-44ed-9fa2-ff7b840ddddd","fields":[{"id":"f--description","name":"Description","display_type":"textarea","value":"My issue API"}]}]
if you click on a "Code" button, you will be presented with a choice of programming language, and gives you a code snippet as well.
I hope this helps.
Can't find what you're looking for? Ask the community or share your knowledge.