use updated quickbase. completed API calls for QB
This commit is contained in:
parent
68f4c7f3db
commit
f1fcdb9e38
@ -6,7 +6,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="COA.Common" Version="20.10.13.1-alpha" />
|
||||
<PackageReference Include="COA.PartnerApis.QuickBase" Version="20.9.30.2-alpha" />
|
||||
<PackageReference Include="COA.PartnerApis.QuickBase" Version="20.10.15.1-alpha" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -18,18 +18,18 @@ namespace COA.EnterpriseServices.DataAccess.QuickBase
|
||||
{
|
||||
var fieldData = FieldMapRegistry.GetTableContext(item);
|
||||
|
||||
//client.AddRecord()
|
||||
var result = client.AddRecord(fieldData.Table, fieldData.FieldIds);
|
||||
|
||||
// use fieldData to create mapped data to push to quickbase API
|
||||
|
||||
return true;
|
||||
return result.Success;
|
||||
}
|
||||
|
||||
public bool Update(T item)
|
||||
{
|
||||
var fieldData = FieldMapRegistry.GetTableContext(item);
|
||||
|
||||
return true;
|
||||
var result = client.EditRecord(item.Id, fieldData.Table, fieldData.FieldIds);
|
||||
|
||||
return result.Success;
|
||||
}
|
||||
|
||||
public ICollection<T> Get(Expression<Func<T, bool>> query)
|
||||
|
Loading…
x
Reference in New Issue
Block a user