diff --git a/v1/Application.cfc b/v1/Application.cfc
index 7d115fe..6b1f83a 100644
--- a/v1/Application.cfc
+++ b/v1/Application.cfc
@@ -71,7 +71,7 @@
//variables.framework.docs={};
variables.framework.docs.APIName="Deck API";
- variables.framework.docs.APIVersion="0.030";
+ variables.framework.docs.APIVersion="0.031";
variables.framework.globalHeaders = structNew();
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
diff --git a/v1/resources/instance.cfc b/v1/resources/instance.cfc
index 5529c77..ad0773c 100644
--- a/v1/resources/instance.cfc
+++ b/v1/resources/instance.cfc
@@ -32,6 +32,7 @@
i.quantity
i.price
v.svc
+ v.code
from instance e
left outer join specification_item i on (e.specification_item_id=i.specification_item_id)
diff --git a/v1/resources/instance_ls.cfc b/v1/resources/instance_ls.cfc
index 76a3b7c..6da1053 100644
--- a/v1/resources/instance_ls.cfc
+++ b/v1/resources/instance_ls.cfc
@@ -65,6 +65,7 @@
i.quantity
i.price
v.svc
+ v.code
diff --git a/v1/resources/svc.cfc b/v1/resources/svc.cfc
index a178db4..1bec37e 100644
--- a/v1/resources/svc.cfc
+++ b/v1/resources/svc.cfc
@@ -22,7 +22,8 @@
select
s.svc_id
- s.svc
+ s.svc
+ s.code
(select url from svc_operation so where so.operation='create' AND so.svc_id=s.svc_id limit 1) as create_url
s.is_production_ready
s.descr
diff --git a/v1/resources/svc_ls.cfc b/v1/resources/svc_ls.cfc
index 4fb1f5c..c780820 100644
--- a/v1/resources/svc_ls.cfc
+++ b/v1/resources/svc_ls.cfc
@@ -12,6 +12,7 @@
svc_id={prefix="s", type="integer"},
is_production_ready={prefix="s", type="boolean"},
svc={prefix="s", type="string"}
+ code={prefix="s", type="string"}
}
/>
@@ -119,6 +120,7 @@
s.svc_id
s.svc
+ s.code
(select url from svc_operation so where so.operation='create' AND so.svc_id=s.svc_id limit 1) as create_url
s.is_production_ready
s.descr