# Daily production payload example

**URL:** <https://forum.api.combocurve.com/t/daily-production-payload-example/98>\
**Category:** Uncategorized\
**Created:** [March 4, 2022, 7:56pm UTC](https://forum.api.combocurve.com/t/daily-production-payload-example/98 "2022-03-04T19:56:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![reed.hanson](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@reed.hanson](https://forum.api.combocurve.com/u/reed.hanson)\
**Post date:** [March 4, 2022, 7:56pm UTC](https://forum.api.combocurve.com/t/daily-production-payload-example/98/1 "2022-03-04T19:56:08Z")

</div>

The docs are a bit confusing about what payload to submit to post daily productions… The example gives the payload as an object but the Request body in the docs is an array type… Whats the format of the payload to send to Post to the API for daily production data? Can you provide an example of what it would look like?

---

<div class="post-metadata">

**Author:** ![carlos.pena](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.api.combocurve.com/carlos.pena/32/11_2.png) [@carlos.pena](https://forum.api.combocurve.com/u/carlos.pena)\
**Post date:** [March 4, 2022, 9:48pm UTC](https://forum.api.combocurve.com/t/daily-production-payload-example/98/2 "2022-03-04T21:48:22Z")

</div>

First of all, welcome to our forum, and thanks for posting your question here!

Just like with most of our POST and PUT endpoints, for daily production you can post either a single document or an array of them.

So this is valid (single production data document):

```json
    {
        "date": "2022-03-04",
        "chosenID": "12345678901234",
        "dataSource": "di",
        "gas": 123,
        "oil": 456,
        "water": 789
    }

```

And this is valid too (an array of production data documents):

```json
[
    {
        "date": "2022-03-02",
        "chosenID": "12345678901234",
        "dataSource": "di",
        "gas": 123,
        "oil": 456,
        "water": 789
    },
    {
        "date": "2022-03-03",
        "chosenID": "12345678901234",
        "dataSource": "di",
        "gas": 321,
        "oil": 654,
        "water": 987
    },
    {
        "date": "2022-03-04",
        "chosenID": "12345678901234",
        "dataSource": "di",
        "gas": 147,
        "oil": 258,
        "water": 369
    }
]

```

I only included the most important fields for simplicity, but you can see all the fields we support in the documentation.

In most practical cases you’ll likely want to use an array to be able to include more data in a single request. For daily production you can send up to 20000 documents in a single request.

---

<div class="post-metadata">

**Author:** ![Jallison](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@Jallison](https://forum.api.combocurve.com/u/Jallison)\
**Post date:** [March 5, 2022, 8:27pm UTC](https://forum.api.combocurve.com/t/daily-production-payload-example/98/3 "2022-03-05T20:27:27Z")

</div>

Additionally, if you need more columns, you can write up to 5 different custom fields maintained at the company level.

For example, we are writing the following data:  
Custom Number 0 = Flare MCF  
Custom Number 1 = Choke  
Custom Number 2 = Test Oil  
Custom Number 3 = Test Water

---

<div class="post-metadata">

**Author:** ![reed.hanson](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@reed.hanson](https://forum.api.combocurve.com/u/reed.hanson)\
**Post date:** [March 8, 2022, 3:32pm UTC](https://forum.api.combocurve.com/t/daily-production-payload-example/98/4 "2022-03-08T15:32:13Z")

</div>

Thanks! I am able to get back a success response now.

---

<div class="post-metadata">

**Author:** ![carlos.pena](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.api.combocurve.com/carlos.pena/32/11_2.png) [@carlos.pena](https://forum.api.combocurve.com/u/carlos.pena)\
**Post date:** [March 8, 2022, 3:56pm UTC](https://forum.api.combocurve.com/t/daily-production-payload-example/98/5 "2022-03-08T15:56:16Z")

</div>

Yes, that’s correct 👍. However, you should not need one for Choke, since that’s a field we already include.
