{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/datasources/{dataSourceId}/rows","auth":"required","examples":{"codes":[{"language":"text","code":"https://api.goformz.com/v2/datasources/7b1f9ef5-81d7-4add-a299-a46c0108d3ca/rows","name":"Url"},{"name":"Json Object","language":"text","code":"{\n      \"keyColumn\": \"Contact 1\",\n      \"value\": \"[\\\"1391 East Madison Avenue\\\",\\\"El Cajon\\\",\\\"CA\\\",\\\"92021-8568\\\",\\\"619-444-1107\\\",\\\"Emmanuel\\\",\\\"David\\\"]\"\n    }"},{"name":"Model Schema","language":"json","code":"{\n  \"keyColumn\": \"string\",\n  \"value\": \"string\"\n}"}]},"method":"post","params":[{"name":"dataSourceId","type":"string","default":"","desc":"Id of the data source","required":true,"in":"path","ref":"","_id":"556e55f1d02e0b190042f210"},{"name":"body","type":"object","default":"","desc":"DataSourceRow object","required":true,"in":"body","ref":"","_id":"55b9548be536930d00e36099"}],"results":{"codes":[{"code":"{\n  \"id\": \"3450e041-0e18-40ba-ad13-a4ae00a6f56f\",\n  \"url\": \"http://api.goformz.com/v2/datasources/7b1f9ef5-81d7-4add-a299-a46c0108d3ca/rows/3450e041-0e18-40ba-ad13-a4ae00a6f5f6\"\n}","language":"json","status":201,"name":""},{"name":"","code":"no content","language":"text","status":400},{"status":422,"language":"json","code":"{\n  \"code\": 422,\n  \"status\": \"Unprocessable Entity\",\n  \"message\": \"Data source row key column already exists.\",\n  \"requestUrl\": \"http://localhost:27060/v2/datasources/7b1f9ef5-81d7-4add-a299-a46c0108d3ca/rows\",\n  \"requestId\": \"0e0d21d6-ec1f-48f8-a49d-f9907435b9d6\"\n}"}]},"settings":""},"next":{"description":"","pages":[]},"title":"Create a Data Source Row","type":"endpoint","slug":"create-a-data-source-row","excerpt":"","body":"Creates a new row in the Datasource specified by the DataSourceRow object\n\n</br><a href=\"https://api.goformz.com/docs/api/explorer/index#!/DataSources/DataSources_PostRow\" target=\"_blank\"><img src=\"https://files.readme.io/9Z82WIZnS7mZmco8oi4u_TryItNow3.png\" style=\"margin-left:15px\" width=\"128\" height=\"42\" ></a>","updates":[],"order":5,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"556e55f1d02e0b190042f20f","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"},"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"},"createdAt":"2015-06-03T01:18:41.528Z","editedParams":true,"editedParams2":true,"__v":1,"user":"55359b006dfbb90d003462b5","project":"55357364e02d480d0003c6d3","githubsync":"","parentDoc":null}

postCreate a Data Source Row


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

dataSourceId:
required
string
Id of the data source

Body Params

body:
required
object
DataSourceRow object

Examples


Result Format


Documentation

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