View Source Dealcloud.Data.Rows (dealcloud v0.4.0)
These are Rows APIs, These APIs work using Arrays of Json objects. These APIs are typical of what you see in most other systems. These APIs works better with ETL tools.
Link to this section Summary
Functions
Creates new entries in the site. EntryId must be negative integer
Gets entries in the site using either the id or api name
Gets entries in the site, but uses a post request instead
Updates existing entries in the site. EntryId must be positive integer
Link to this section Functions
Specs
Creates new entries in the site. EntryId must be negative integer
Examples
Dealcloud.Data.Rows.create(2011, [{"EntryId" => -1, "Name" => "Hello"}], %Dealcloud.Auth{})
Dealcloud.Data.Rows.create("company", [{"EntryId" => -1, "Name" => "Hello"}], %Dealcloud.Auth{})
Specs
Gets entries in the site using either the id or api name
Examples
Dealcloud.Data.Rows.get(2011, %Dealcloud.Data.Query{}, %Dealcloud.Auth{})
Dealcloud.Data.Rows.get("company", %Dealcloud.Data.Query{}, %Dealcloud.Auth{})
Specs
Gets entries in the site, but uses a post request instead
Examples
Dealcloud.Data.Rows.get_as_post(2011, %Dealcloud.Data.PostQuery{}, %Dealcloud.Auth{})
Dealcloud.Data.Rows.get_as_post("company", %Dealcloud.Data.PostQuery{}, %Dealcloud.Auth{})
Specs
Updates existing entries in the site. EntryId must be positive integer
Examples
Dealcloud.Data.Rows.update(2011, [{"EntryId" => 1, "Name" => "Hello"}], %Dealcloud.Auth{})
Dealcloud.Data.Rows.update("company", [{"EntryId" => 1, "Name" => "Hello"}], %Dealcloud.Auth{})