{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/datasources/{dataSourceId}/rows/batch","auth":"required","examples":{"codes":[{"name":"URL","language":"text","code":"https://api.goformz.com/v2/datasources/7b1f9ef5-81d7-4add-a299-a46c0108d3ca/rows/batch"},{"code":"{\n  \"items\": [\n    {\n      \"keyColumn\": \"Contact 1\",\n      \"value\": \"[\\\"1391 East Madison Avenue\\\",\\\"El Cajon\\\",\\\"CA\\\",\\\"92021-8568\\\",\\\"619-444-1107\\\",\\\"Emmanuel\\\",\\\"David\\\"]\"\n    },\n    {\n      \"keyColumn\": \"Contact 2\",\n      \"value\": \"[\\\"2948 East Kensington Avenue\\\",\\\"La Mesa\\\",\\\"CA\\\",\\\"91942-8455\\\",\\\"619-547-2103\\\",\\\"Joe\\\",\\\"Schmoe\\\"]\"\n    }\n  ]\n}","language":"json","name":"JSON"},{"name":"Model Schema","language":"json","code":"{\n  \"items\": [\n    {\n      \"keyColumn\": \"string\",\n      \"value\": \"string\"\n    }\n  ]\n}"}]},"method":"post","params":[{"name":"dataSourceId","type":"string","default":"","desc":"Id of the data source","required":true,"in":"path","ref":"","_id":"5571d2c91cd8283500a8b48c"},{"name":"body","type":"object","default":"","desc":"Rows Object","required":true,"in":"body","ref":"","_id":"55b937fb8fd1a02b00f496e2"}],"results":{"codes":[{"status":null,"language":"json","code":"{\n  \"code\": 207,\n  \"status\": \"Multi-Status\",\n  \"content\": [\n    {\n      \"entity\": {\n        \"id\": \"e3cd52ee-c57c-4fc1-9158-a4ae00a3dd76\",\n        \"url\": \"https://api.goformz.com/v2/datasources/4b1f9ef5-81d7-4add-a299-a46c0108d3ca/rows/e3cd52ee-c57c-4fc1-9158-a4ae00a3dd76\"\n      },\n      \"status\": 201,\n      \"message\": \"\"\n    },\n    {\n      \"entity\": {\n        \"id\": \"e7795473-bb57-4fed-919c-a4ae00a3de5f\",\n        \"url\": \"https://api.goformz.com/v2/datasources/4b1f9ef5-81d7-4add-a299-a46c0108d3ca/rows/e7795473-bb57-4fed-919c-a4ae00a3de5f\"\n      },\n      \"status\": 201,\n      \"message\": \"\"\n    }\n  ],\n  \"requestUrl\": \"https://api.goformz.com/v2/datasources/7b1f9ef5-81d7-4add-a299-a46c0108d3ca/rows/batch\",\n  \"requestId\": \"ae793f4d-d854-4b9d-8de8-70acec878913\"\n}","name":"207 Multi-Status"},{"name":"","status":400,"language":"text","code":"no content"}]},"settings":""},"next":{"description":"","pages":[]},"title":"Batch Create Data Source Rows","type":"endpoint","slug":"batch-create-data-source-rows","excerpt":"","body":"Creates the rows in the Datasource specified by the Rows object.\n\n</br><a href=\"https://api.goformz.com/docs/api/explorer/index#!/DataSources/DataSources_PostRows\" target=\"_blank\"><img src=\"https://files.readme.io/9Z82WIZnS7mZmco8oi4u_TryItNow3.png\" style=\"margin-left:15px\" width=\"128\" height=\"42\" ></a>","updates":[],"order":9,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5571d2c91cd8283500a8b48b","createdAt":"2015-06-05T16:48:09.193Z","githubsync":"","category":{"sync":{"isSync":false,"url":""},"pages":["556e0fbfc9d85a1900914cb7","556e12e6c9d85a1900914ccd","556e55f1d02e0b190042f20f","556e564c3f11b01900a36a35","556e6440d02e0b190042f22e","556f5a8c9893290d00988c3c","556f5c72ebba950d008e94bc","556f6f73ebba950d008e952e","5571d2c91cd8283500a8b48b","5571f0b86d8908230061f42b","5571f3df6d8908230061f448","557853bbe6063e0d004816fb","557859b727f77c0d00fe61a2"],"title":"Data Sources","slug":"data-sources","order":8,"from_sync":false,"reference":false,"_id":"556e0f23d02e0b190042f13d","__v":13,"createdAt":"2015-06-02T20:16:35.357Z","version":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3"},"editedParams2":true,"version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["553591cd63cc650d00312926","553591cd63cc650d00312927","5536e4d39f7f2d0d00b1cd54","5536e55c20d5ca0d0001580a","5536e6bf7fe60f0d000fd1c0","5536f5bba171250d00c00556","553a974369c2630d00a8562e","553a97c60074c80d00621c2a","553a98332af5f20d000fc32a","553a9b9869c2630d00a85642","556e0f23d02e0b190042f13d","563249b1dcc27a1700823650","5639113f049e420d00476b03","59a5dd94aaa11d003334edb4"],"_id":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3","releaseDate":"2015-04-20T23:54:53.134Z","__v":13,"forked_from":"55357365e02d480d0003c6d6","createdAt":"2015-04-20T23:54:53.134Z"},"__v":1,"project":"55357364e02d480d0003c6d3","user":"55359b006dfbb90d003462b5","editedParams":true,"parentDoc":null}

postBatch Create Data Source Rows


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

dataSourceId:
required
string
Id of the data source

Body Params

body:
required
object
Rows Object

Examples


Result Format


Documentation

Creates the rows in the Datasource specified by the Rows object. </br><a href="https://api.goformz.com/docs/api/explorer/index#!/DataSources/DataSources_PostRows" target="_blank"><img src="https://files.readme.io/9Z82WIZnS7mZmco8oi4u_TryItNow3.png" style="margin-left:15px" width="128" height="42" ></a>