NOTE: The OData server restarts every night to update all table definitions. This means that if new fields or tables are created in a company, these fields and tables aren't available until after restart.
To perform CRUD operations using OData below listed functions are available
Get Uniconta Entity by Id
Get Uniconta Entity Name and Property
Insert Uniconta Entity
Insert Uniconta Entity List
Delete Uniconta Entity
Delete Uniconta Entity List
Update Uniconta Entity List
Read Uniconta Entity
public async Task<HttpResponseMessage> Get(string entityName, int id)
public async Task<HttpResponseMessage> Get(string entityName, [FromUri]UnicontaProperty property)Url to Get Uniconta Entity: https://odata.uniconta.com/api/Entities/GLDailyJournalClient
public async Task<HttpResponseMessage> Insert([FromUri]string entityName, [FromBody]object value)
Url to Insert Uniconta Entity: https://odata.uniconta.com/api/Entities/Insert/GLDailyJournalClient
public async Task<HttpResponseMessage> InsertList([FromUri]string entityName, [FromBody]object value)Url to Insert Uniconta Entity List: https://odata.uniconta.com/api/Entities/InsertList/GLDailyJournalClient
public async Task<HttpResponseMessage> Delete(string entityName, [FromBody]object value)
Url to Delete Uniconta Entity: https://odata.uniconta.com/api/Entities/Delete/GLDailyJournalClient
public async Task<HttpResponseMessage> DeleteList(string entityName, [FromBody]object value)Url to Delete Uniconta Entity List: https://odata.uniconta.com/api/Entities/DeleteList/GLDailyJournalClient Update Uniconta Entity
public async Task<HttpResponseMessage> Update([FromUri]string entityName, [FromBody]object value)
Url to Update Uniconta Entity: https://odata.uniconta.com/api/Entities/Update/GLDailyJournalClient
public async Task<HttpResponseMessage> UpdateList([FromUri]string entityName, [FromBody]object value)
Url to Update Uniconta Entity List: https://odata.uniconta.com/api/Entities/UpdateList/GLDailyJournalClient
public async Task<HttpResponseMessage> Read([FromUri]string entityName, [FromBody]object value)
Url to Read Uniconta Entity: https://odata.uniconta.com/api/Entities/Read/GLDailyJournalClient
Sample client project with code explaining how odata crud operations can be performed:
Download Sample OData Client