# CRUD APIs in ElasticSearch.Net SDK

**URL:** <https://discuss.elastic.co/t/crud-apis-in-elasticsearch-net-sdk/60348>\
**Category:** Elasticsearch\
**Created:** [September 13, 2016, 6:54am UTC](https://discuss.elastic.co/t/crud-apis-in-elasticsearch-net-sdk/60348 "2016-09-13T06:54:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreeram](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@sreeram](https://discuss.elastic.co/u/sreeram)\
**Post date:** [September 13, 2016, 6:54am UTC](https://discuss.elastic.co/t/crud-apis-in-elasticsearch-net-sdk/60348/1 "2016-09-13T06:54:36Z")

</div>

Hi Guys,

I'm a newbie to Elasticsearch and I need some suggestions in accessing [Elasticsearch.Net](http://Elasticsearch.Net) SDK APIs.

**Use-case:**

1. We're trying to implement Elasticsearch as SearchEngine for product developed in Microsoft .Net.
2. Document provided to SDK API will be in the format of JSON ( **Not strongly typed** ), hence I'm using [Elasticseach.Net](http://Elasticseach.Net) SDK instead of NEST SDK.
3. Fields in document will determined only during run-time, hence I'm using [Elasticseach.Net](http://Elasticseach.Net) SDK instead of NEST SDK.
4. JSON document will have NESTED objects.
5. Dynamic Mapping.

**Can you please provide sample code/reference links for the CRUD operations w.r.t. above use-case**

1. I'm able to Create Index through [Elasticsearch.Net](http://Elasticsearch.Net) API as below, _ConnectionToESNest.EsClient().LowLevel.Index(index, type, docID, jsonData);_
2. Search documents with given value for a field (Nested object).
3. Update whole document.
4. Partial Update document with given value for a field (Nested object).
5. Delete document which has a field with given value (Nested object).

Any help is greatly appreciated.

Thanks in advance.

Regards,  
Sreeram

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:20pm UTC](https://discuss.elastic.co/t/crud-apis-in-elasticsearch-net-sdk/60348/2 "2017-07-05T22:20:53Z")

</div>


