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
public async Task<HttpResponseMessage> Get(string entityName, int id)
Get Uniconta Entity Name and Property
public async Task<HttpResponseMessage> Get(string entityName, [FromUri]UnicontaProperty property)
Url to Get Uniconta Entity: https://odata.uniconta.com/api/Entities/GLDailyJournalClient
Insert Uniconta Entity
public async Task<HttpResponseMessage> Insert([FromUri]string entityName, [FromBody]object value)
Insert Uniconta Entity List
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
Delete Uniconta Entity
public async Task<HttpResponseMessage> Delete(string entityName, [FromBody]object value)
Delete Uniconta Entity List
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)
Update Uniconta Entity List
public async Task<HttpResponseMessage> UpdateList([FromUri]string entityName, [FromBody]object value)
Read Uniconta Entity
public async Task<HttpResponseMessage> Read([FromUri]string entityName, [FromBody]object value)
Download Sample OData Client
- Var denne artikel til hjælp? Har du spørgsmål til denne artikel, så klik her: Uniconta Support
- JaNej