{"_id":"556e55f1d02e0b190042f20f","version":{"_id":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3","__v":13,"forked_from":"55357365e02d480d0003c6d6","createdAt":"2015-04-20T23:54:53.134Z","releaseDate":"2015-04-20T23:54:53.134Z","categories":["553591cd63cc650d00312926","553591cd63cc650d00312927","5536e4d39f7f2d0d00b1cd54","5536e55c20d5ca0d0001580a","5536e6bf7fe60f0d000fd1c0","5536f5bba171250d00c00556","553a974369c2630d00a8562e","553a97c60074c80d00621c2a","553a98332af5f20d000fc32a","553a9b9869c2630d00a85642","556e0f23d02e0b190042f13d","563249b1dcc27a1700823650","5639113f049e420d00476b03","59a5dd94aaa11d003334edb4"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"category":{"_id":"556e0f23d02e0b190042f13d","__v":13,"version":"553591cd63cc650d00312925","pages":["556e0fbfc9d85a1900914cb7","556e12e6c9d85a1900914ccd","556e55f1d02e0b190042f20f","556e564c3f11b01900a36a35","556e6440d02e0b190042f22e","556f5a8c9893290d00988c3c","556f5c72ebba950d008e94bc","556f6f73ebba950d008e952e","5571d2c91cd8283500a8b48b","5571f0b86d8908230061f42b","5571f3df6d8908230061f448","557853bbe6063e0d004816fb","557859b727f77c0d00fe61a2"],"project":"55357364e02d480d0003c6d3","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-06-02T20:16:35.357Z","from_sync":false,"order":8,"slug":"data-sources","title":"Data Sources"},"editedParams":true,"editedParams2":true,"__v":1,"user":"55359b006dfbb90d003462b5","project":"55357364e02d480d0003c6d3","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-06-03T01:18:41.528Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"name":"Url","code":"https://api.goformz.com/v2/datasources/7b1f9ef5-81d7-4add-a299-a46c0108d3ca/rows","language":"text"},{"code":"{\n      \"keyColumn\": \"Contact 1\",\n      \"value\": \"[\\\"1391 East Madison Avenue\\\",\\\"El Cajon\\\",\\\"CA\\\",\\\"92021-8568\\\",\\\"619-444-1107\\\",\\\"Emmanuel\\\",\\\"David\\\"]\"\n    }","language":"text","name":"Json Object"},{"code":"{\n  \"keyColumn\": \"string\",\n  \"value\": \"string\"\n}","language":"json","name":"Model Schema"}]},"method":"post","results":{"codes":[{"name":"","status":201,"language":"json","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}"},{"status":400,"language":"text","code":"no content","name":""},{"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}","language":"json","status":422}]},"settings":"","auth":"required","params":[{"_id":"556e55f1d02e0b190042f210","ref":"","in":"path","required":true,"desc":"Id of the data source","default":"","type":"string","name":"dataSourceId"},{"_id":"55b9548be536930d00e36099","ref":"","in":"body","required":true,"desc":"DataSourceRow object","default":"","type":"object","name":"body"}],"url":"/datasources/{dataSourceId}/rows"},"isReference":false,"order":5,"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>","excerpt":"","slug":"create-a-data-source-row","type":"endpoint","title":"Create a Data Source Row"}

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>