Forum Discussion

js_an's avatar
js_an
Ideator I
7 months ago

RESTFul API Delete Method Error 405

I tried to delete ItemType by following the Document about RESTful API in Aras.

For example, PostMan was called as below (DELETE) localhost/.../exItemType ('abcde')

If you call it url
A 405.0 - Method Not Allowed error message is returned.

Additionally, I tried to remove the RelationshipShip for itemType, but the same error occurred.

Relationship remove was also carried out according to Document's method.
For example, PostMan was called as below (DELETE)
localhost/.../$ref

This also returns an error of 405.
How can I use RESTful to remove itemType?

2 Replies

  • additionally,

    access = Default Access / Can Add = admin , UserToken = admin Token

    That is, default Access, and it was done as admin
  • The second url is incorrectly written.
    localhost/.../exItemType ('abcde')/exItemFile/$ref?$id=exItemFile('bcdef')
    I sent the call as above.