Not able to add a new row via REST API POST


I am probably doing something stupid, but can't get this to work. I am trying to use a REST API call to POST a new record to a simple COT controller. This is linked to a table that has an IDENTITY field which is set to Auto-Increment. Its name is ForPK.

I am using Google Advanced Rest Client to test the insertion of a new record to this table, but whatever I do I get a "Cannot insert explicit value for identity column in table 'Fornecedores' when IDENTITY_INSERT is set to OFF." result back.

Here is the call with the result:

Here is the Body:

None of the field values I am passing make reference to the Primary Key ForPK, which is the only Identity Column.

Is there anything else special I should be doing?

Thanks in advance.

(COT, Unlimited, TouchUI, SPA)
2 people have
this question