プライマリ・コンテンツに移動
Oracle® Fusion Middleware Oracle WebCenter PortalおよびOracle JDeveloperでのポータルの開発
11gリリース1 (11.1.1.9.0)
E49666-05
  ドキュメント・ライブラリへ移動
ライブラリ
製品リストへ移動
製品
目次へ移動
目次

前
 
次
 

71 プロパティ・サービスREST API

この章では、プロパティ・サービス用のREST APIについて説明します。

この章の内容は、次のとおりです。

71.1 プロパティ・サービスREST APIの概要

この章では、プロパティ・サービスのREST APIを使用して、プロパティ・セットおよびプロパティに対する作成、取得、更新および削除(CRUD)操作を行う方法の例を示します。

  • ネームスペースの作成

  • プロパティ・セット定義の表示と作成

  • プロパティ定義の表示と作成

  • シナリオの表示、作成および実行

  • データ・プロバイダの詳細の表示

71.2 プロパティ・サービスREST API

この項では、プロパティ・サービスのREST APIを使用して、プロパティ・セットおよびプロパティに対する作成、取得、更新および削除(CRUD)操作を行う方法の例を示します。

  • ネームスペースの作成

  • プロパティ・セット定義の表示と作成

  • プロパティ定義の表示と作成

  • シナリオの表示、作成および実行

  • データ・プロバイダの詳細の表示

この項には次のサブセクションが含まれます:

71.2.1 プロパティ・サービスのリソース索引

プロパティ・サービスのリソース索引のレスポンスには、プロパティ・サービスの他のリソースにアクセスするためのリンクとテンプレートが含まれます。

71.2.1.1 ResourceIndex

この項では、プロパティ・サービスのリソース索引にアクセスするためのリクエストとレスポンスについて説明します。

ResourceIndex

XML

Request:
GET http://localhost:8891/wcps/api/property/resourceIndex
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 3595
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420; path=/wcps; HttpOnly
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:15 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<resourceIndex resourceType="urn:oracle:wcps:property:resourceIndex">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces"
      resourceType="urn:oracle:wcps:property:namespaces" template="http://localhost:8891/wcps/api/property/namespaces?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      href="http://localhost:8891/wcps/api/property/resourceIndex"
      rel="self" resourceType="urn:oracle:wcps:property:resourceIndex"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:namespace" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertydefinition" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertydefinitions/{definitionName}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertysetdefinition" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:propertyset" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:properties" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}/properties"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:property" template="http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}/properties/{propertyName}"/>
  </links>
</resourceIndex>

JSON

Request:
GET http://localhost:8891/wcps/api/property/resourceIndex
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Set-Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431; path=/wcps; HttpOnly
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:22 GMT
 
{
  "resourceType" : "urn:oracle:wcps:property:resourceIndex",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:namespaces",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces"
  }, {
    "resourceType" : "urn:oracle:wcps:property:resourceIndex",
    "capabilities" : "urn:oracle:restframework:read",
    "href" : "http://localhost:8891/wcps/api/property/resourceIndex",
    "rel" : "self"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertydefinitions/{definitionName}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}",
    "resourceType" : "urn:oracle:wcps:property:propertyset",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}/properties",
    "resourceType" : "urn:oracle:wcps:property:properties",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:delete"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/{namespaceName}/propertysetdefinitions/{setDefinitionName}/propertysets/{propertySetName}/properties/{propertyName}",
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  } ]
}

71.2.2 ネームスペースの作成、取得、更新および削除

71.2.2.1 ネームスペースの作成

REST HTTPインタフェースを使用してオブジェクトを作成するには、リクエスト・メソッドをPOSTに設定し、値application/xmlを含むヘッダーcontent-typeを追加する必要があります。この項では、プロパティ・サービスを使用してネームスペースを作成するための、リクエストとレスポンスについて説明します。

CreateNamespace

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:property:namespace">
  <name>Oracle</name>
</namespace>
 
Response:
Status Code:201
Content-Length: 1671
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle
Date: Thu, 07 Oct 2010 23:31:16 GMT
ETag: "1286494276437"
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:property:namespace">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle"
      rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions"
      resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions"
      resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <name>Oracle</name>
  <createdOn>2010-10-07T17:31:16.437-0600</createdOn>
  <updatedOn>2010-10-07T17:31:16.437-0600</updatedOn>
</namespace>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "Oracle",
  "resourceType" : "urn:oracle:wcps:property:namespace"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle
Date: Fri, 08 Oct 2010 01:24:26 GMT
ETag: "1286501066698"
 
{
  "name" : "Oracle",
  "createdOn" : "2010-10-07T19:24:26.698-0600",
  "updatedOn" : "2010-10-07T19:24:26.698-0600",
  "resourceType" : "urn:oracle:wcps:property:namespace",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle",
    "rel" : "self"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:read"
  } ]
}

71.2.2.2 ネームスペースの取得

RetrieveNamespace

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 1759
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:16 GMT
ETag: "1286494276833"
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:property:namespace">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle"
      rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions"
      resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions"
      resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link capabilities="urn:oracle:restframework:read"
      resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <name>Oracle</name>
  <createdOn>2010-10-07T17:31:16.437-0600</createdOn>
  <updatedOn>2010-10-07T17:31:16.833-0600</updatedOn>
  <propertyLocatorClassName>com.oracle.custom.MyPropertyLocator</propertyLocatorClassName>
</namespace>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:26 GMT
ETag: "1286501066808"
 
{
  "name" : "Oracle",
  "createdOn" : "2010-10-07T19:24:26.698-0600",
  "propertyLocatorClassName" : "com.oracle.custom.MyPropertyLocator",
  "updatedOn" : "2010-10-07T19:24:26.808-0600",
  "resourceType" : "urn:oracle:wcps:property:namespace",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle",
    "rel" : "self"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:read"
  } ]
}

71.2.2.3 ネームスペースの更新

UpdateNamespace

XML

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494276437
 
<?xml version="1.0" encoding="UTF-8"?>
<namespace resourceType="urn:oracle:wcps:property:namespace">
  <name>Oracle</name>
  <createdOn>2010-10-07T17:31:16.437-0600</createdOn>
  <updatedOn>2010-10-07T17:31:16.437-0600</updatedOn>
  <propertyLocatorClassName>com.oracle.custom.MyPropertyLocator</propertyLocatorClassName>
</namespace>
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:16 GMT
ETag: "1286494276833"

JSON

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501066698
 
{
  "name" : "Oracle",
  "propertyLocatorClassName" : "com.oracle.custom.MyPropertyLocator",
  "createdOn" : "2010-10-07T19:24:26.698-0600",
  "updatedOn" : "2010-10-07T19:24:26.698-0600",
  "resourceType" : "urn:oracle:wcps:property:namespace"
}
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:26 GMT
ETag: "1286501066808"

71.2.2.4 ネームスペースの削除

DeleteNamespace

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494276833
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:17 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501066808
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:26 GMT

71.2.2.5 すべてのネームスペースの取得

RetrieveAllNamespaces

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:19 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<namespaces resourceType="urn:oracle:wcps:property:namespaces">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces"
      rel="self" resourceType="urn:oracle:wcps:property:namespaces" template="http://localhost:8891/wcps/api/property/namespaces?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces?startIndex=10&amp;itemsPerPage=10"
      rel="next" resourceType="urn:oracle:wcps:property:namespaces"/>
  </links>
  <itemsPerPage>10</itemsPerPage>
  <startIndex>0</startIndex>
  <totalCount>21</totalCount>
  <items>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/JDEV"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>JDEV</name>
      <createdOn>2010-10-07T17:31:20.061-0600</createdOn>
      <updatedOn>2010-10-07T17:31:20.061-0600</updatedOn>
      <propertyLocatorClassName>oracle.wcps.conductor.scenario.persistence.impl.properties.MDSScenarioPropertyLocator</propertyLocatorClassName>
      <definitionLocatorClassName>oracle.wcps.property.persistence.mds.MDSDefinitionsLocator</definitionLocatorClassName>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_0"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_0</name>
      <createdOn>2010-10-07T17:31:17.318-0600</createdOn>
      <updatedOn>2010-10-07T17:31:17.318-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_1"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_1</name>
      <createdOn>2010-10-07T17:31:17.568-0600</createdOn>
      <updatedOn>2010-10-07T17:31:17.568-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_2"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_2</name>
      <createdOn>2010-10-07T17:31:17.807-0600</createdOn>
      <updatedOn>2010-10-07T17:31:17.807-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_3"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_3</name>
      <createdOn>2010-10-07T17:31:18.066-0600</createdOn>
      <updatedOn>2010-10-07T17:31:18.066-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_4"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_4</name>
      <createdOn>2010-10-07T17:31:18.319-0600</createdOn>
      <updatedOn>2010-10-07T17:31:18.319-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_5"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_5</name>
      <createdOn>2010-10-07T17:31:18.572-0600</createdOn>
      <updatedOn>2010-10-07T17:31:18.572-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_6"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_6</name>
      <createdOn>2010-10-07T17:31:18.813-0600</createdOn>
      <updatedOn>2010-10-07T17:31:18.813-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_7"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_7</name>
      <createdOn>2010-10-07T17:31:19.084-0600</createdOn>
      <updatedOn>2010-10-07T17:31:19.084-0600</updatedOn>
    </namespace>
    <namespace resourceType="urn:oracle:wcps:property:namespace">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_8"
          rel="self" resourceType="urn:oracle:wcps:property:namespace"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions"
          resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertydefinitions"
          resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
        <link capabilities="urn:oracle:restframework:read"
          resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
      </links>
      <name>Oracle_8</name>
      <createdOn>2010-10-07T17:31:19.328-0600</createdOn>
      <updatedOn>2010-10-07T17:31:19.328-0600</updatedOn>
    </namespace>
  </items>
</namespaces>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:27 GMT
 
{
  "namespaces" : [ {
    "name" : "JDEV",
    "createdOn" : "2010-10-07T19:24:28.114-0600",
    "propertyLocatorClassName" : "oracle.wcps.conductor.scenario.persistence.impl.properties.MDSScenarioPropertyLocator",
    "definitionLocatorClassName" : "oracle.wcps.property.persistence.mds.MDSDefinitionsLocator",
    "updatedOn" : "2010-10-07T19:24:28.114-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/JDEV",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/JDEV/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_0",
    "createdOn" : "2010-10-07T19:24:26.907-0600",
    "updatedOn" : "2010-10-07T19:24:26.907-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_0/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_1",
    "createdOn" : "2010-10-07T19:24:26.954-0600",
    "updatedOn" : "2010-10-07T19:24:26.954-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_1/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_2",
    "createdOn" : "2010-10-07T19:24:27.034-0600",
    "updatedOn" : "2010-10-07T19:24:27.034-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_2/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_3",
    "createdOn" : "2010-10-07T19:24:27.191-0600",
    "updatedOn" : "2010-10-07T19:24:27.191-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_3/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_4",
    "createdOn" : "2010-10-07T19:24:27.259-0600",
    "updatedOn" : "2010-10-07T19:24:27.259-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_4/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_5",
    "createdOn" : "2010-10-07T19:24:27.359-0600",
    "updatedOn" : "2010-10-07T19:24:27.359-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_5/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_6",
    "createdOn" : "2010-10-07T19:24:27.409-0600",
    "updatedOn" : "2010-10-07T19:24:27.409-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_6/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_7",
    "createdOn" : "2010-10-07T19:24:27.463-0600",
    "updatedOn" : "2010-10-07T19:24:27.463-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_7/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  }, {
    "name" : "Oracle_8",
    "createdOn" : "2010-10-07T19:24:27.543-0600",
    "updatedOn" : "2010-10-07T19:24:27.543-0600",
    "resourceType" : "urn:oracle:wcps:property:namespace",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:namespace",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8",
      "rel" : "self"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertydefinitions"
    }, {
      "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle_8/propertysetdefinitions/{setDefinitionName}/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
      "resourceType" : "urn:oracle:wcps:property:propertysets",
      "capabilities" : "urn:oracle:restframework:read"
    } ]
  } ],
  "totalCount" : 21,
  "startIndex" : 0,
  "itemsPerPage" : 10,
  "resourceType" : "urn:oracle:wcps:property:namespaces",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:namespaces",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces",
    "rel" : "self"
  }, {
    "resourceType" : "urn:oracle:wcps:property:namespaces",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces?startIndex=10&itemsPerPage=10",
    "rel" : "next"
  } ]
}

71.2.2.6 すべてのネームスペースの削除

DeleteAllNamespaces

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=t0FKMnYDSzjRlshhs0sFX20nvnTZLQY8vnxNLkplyfYPcWgfb9y6!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:17 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=WFGvMnyKP7nDBW1RQynhhphbQvWLDjLSbFJj2MQ1g6nFH2VQlgJ4!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:28 GMT

71.2.3 プロパティ定義の作成、取得、更新および削除

71.2.3.1 プロパティ定義の作成 - 整数プロパティ定義の作成

この項では、プロパティ・サービスを使用してネームスペース内のプロパティ定義を作成するための、リクエストとレスポンスについて説明します。

CreateIntPD

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Def</name>
  <type>INT</type>
  <restricted>false</restricted>
  <defaultValues/>
</propertyDefinition>
 
Response:
Status Code:201
Content-Length: 678
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
Date: Thu, 07 Oct 2010 23:31:29 GMT
ETag: "1286494289263"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def"
      rel="self" resourceType="urn:oracle:wcps:property:propertydefinition"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Def</name>
  <createdOn>2010-10-07T17:31:29.263-0600</createdOn>
  <updatedOn>2010-10-07T17:31:29.263-0600</updatedOn>
  <type>INT</type>
  <restricted>false</restricted>
  <defaultValues/>
</propertyDefinition>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "Integer_Def",
  "type" : "INT",
  "namespaceName" : "Oracle",
  "restricted" : false,
  "defaultValues" : [ ],
  "resourceType" : "urn:oracle:wcps:property:propertydefinition"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
Date: Fri, 08 Oct 2010 01:24:41 GMT
ETag: "1286501081086"
 
{
  "name" : "Integer_Def",
  "type" : "INT",
  "namespaceName" : "Oracle",
  "defaultValues" : [ ],
  "createdOn" : "2010-10-07T19:24:41.086-0600",
  "updatedOn" : "2010-10-07T19:24:41.086-0600",
  "restricted" : false,
  "resourceType" : "urn:oracle:wcps:property:propertydefinition",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def",
    "rel" : "self"
  } ]
}

71.2.3.2 プロパティ定義の作成 - 整数配列プロパティ定義の作成

CreateIntArrPD

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Array_Def</name>
  <type>INT_ARRAY</type>
  <restricted>true</restricted>
  <restrictedValues>
    <integer>1</integer>
    <integer>2</integer>
    <integer>3</integer>
    <integer>4</integer>
    <integer>5</integer>
  </restrictedValues>
  <defaultValues>
    <integer>1</integer>
    <integer>2</integer>
  </defaultValues>
</propertyDefinition>
 
Response:
Status Code:201
Content-Length: 887
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def
Date: Thu, 07 Oct 2010 23:31:29 GMT
ETag: "1286494289494"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def"
      rel="self" resourceType="urn:oracle:wcps:property:propertydefinition"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Array_Def</name>
  <createdOn>2010-10-07T17:31:29.494-0600</createdOn>
  <updatedOn>2010-10-07T17:31:29.494-0600</updatedOn>
  <type>INT_ARRAY</type>
  <restricted>true</restricted>
  <restrictedValues>
    <integer>1</integer>
    <integer>2</integer>
    <integer>3</integer>
    <integer>4</integer>
    <integer>5</integer>
  </restrictedValues>
  <defaultValues>
    <integer>1</integer>
    <integer>2</integer>
  </defaultValues>
</propertyDefinition>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "Integer_Array_Def",
  "type" : "INT_ARRAY",
  "namespaceName" : "Oracle",
  "restricted" : true,
  "restrictedValues" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 1
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 2
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 3
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 4
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 5
  } ],
  "defaultValues" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 1
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 2
  } ],
  "resourceType" : "urn:oracle:wcps:property:propertydefinition"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def
Date: Fri, 08 Oct 2010 01:24:41 GMT
ETag: "1286501081123"
 
{
  "name" : "Integer_Array_Def",
  "type" : "INT_ARRAY",
  "namespaceName" : "Oracle",
  "defaultValues" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 1
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 2
  } ],
  "createdOn" : "2010-10-07T19:24:41.123-0600",
  "updatedOn" : "2010-10-07T19:24:41.123-0600",
  "restricted" : true,
  "restrictedValues" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 1
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 2
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 3
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 4
  }, {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
    "value" : 5
  } ],
  "resourceType" : "urn:oracle:wcps:property:propertydefinition",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def",
    "rel" : "self"
  } ]
}

71.2.3.3 プロパティ定義の取得

RetrievePD

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 743
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:29 GMT
ETag: "1286494289862"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def"
      rel="self" resourceType="urn:oracle:wcps:property:propertydefinition"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Def</name>
  <description>Defines an integer property value type</description>
  <createdOn>2010-10-07T17:31:29.263-0600</createdOn>
  <updatedOn>2010-10-07T17:31:29.862-0600</updatedOn>
  <type>INT</type>
  <restricted>false</restricted>
  <defaultValues/>
</propertyDefinition>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:41 GMT
ETag: "1286501081172"
 
{
  "name" : "Integer_Def",
  "type" : "INT",
  "description" : "Defines an integer property value type",
  "namespaceName" : "Oracle",
  "defaultValues" : [ ],
  "createdOn" : "2010-10-07T19:24:41.086-0600",
  "updatedOn" : "2010-10-07T19:24:41.172-0600",
  "restricted" : false,
  "resourceType" : "urn:oracle:wcps:property:propertydefinition",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def",
    "rel" : "self"
  } ]
}

71.2.3.4 プロパティ定義の更新

UpdatePD

XML

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494289263
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
  <namespaceName>Oracle</namespaceName>
  <name>Integer_Def</name>
  <description>Defines an integer property value type</description>
  <createdOn>2010-10-07T17:31:29.263-0600</createdOn>
  <updatedOn>2010-10-07T17:31:29.263-0600</updatedOn>
  <type>INT</type>
  <restricted>false</restricted>
  <defaultValues/>
</propertyDefinition>
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:29 GMT
ETag: "1286494289862"

JSON

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501081086
 
{
  "name" : "Integer_Def",
  "type" : "INT",
  "description" : "Defines an integer property value type",
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:41.086-0600",
  "updatedOn" : "2010-10-07T19:24:41.086-0600",
  "restricted" : false,
  "defaultValues" : [ ],
  "resourceType" : "urn:oracle:wcps:property:propertydefinition"
}
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:41 GMT
ETag: "1286501081172"

71.2.3.5 プロパティ定義の削除

DeletePD

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494289263
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:29 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501081086
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:41 GMT

71.2.3.6 すべてのプロパティ定義の取得

この項では、プロパティ・サービスを使用してネームスペース内のプロパティ定義を表示するための、リクエストとレスポンスについて説明します。

RetrieveAllPDs

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 1586
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:29 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<propertyDefinitions resourceType="urn:oracle:wcps:property:propertydefinitions">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?q=pd-name:like:%25&amp;startIndex=0&amp;itemsPerPage=10"
      rel="self"
      resourceType="urn:oracle:wcps:property:propertydefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <itemsPerPage>10</itemsPerPage>
  <startIndex>0</startIndex>
  <totalCount>1</totalCount>
  <namespaceName>Oracle</namespaceName>
  <items>
    <propertyDefinition resourceType="urn:oracle:wcps:property:propertydefinition">
      <links>
        <link
          capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def"
          rel="self" resourceType="urn:oracle:wcps:property:propertydefinition"/>
      </links>
      <name>Integer_Array_Def</name>
      <createdOn>2010-10-07T17:31:29.494-0600</createdOn>
      <updatedOn>2010-10-07T17:31:29.494-0600</updatedOn>
      <type>INT_ARRAY</type>
      <restricted>true</restricted>
      <restrictedValues>
        <integer>5</integer>
        <integer>4</integer>
        <integer>3</integer>
        <integer>2</integer>
        <integer>1</integer>
      </restrictedValues>
      <defaultValues>
        <integer>2</integer>
        <integer>1</integer>
      </defaultValues>
    </propertyDefinition>
  </items>
</propertyDefinitions>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:41 GMT
 
{
  "namespaceName" : "Oracle",
  "propertyDefinitions" : [ {
    "name" : "Integer_Array_Def",
    "type" : "INT_ARRAY",
    "defaultValues" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 2
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 1
    } ],
    "createdOn" : "2010-10-07T19:24:41.123-0600",
    "updatedOn" : "2010-10-07T19:24:41.123-0600",
    "restricted" : true,
    "restrictedValues" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 4
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 3
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 2
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 1
    } ],
    "resourceType" : "urn:oracle:wcps:property:propertydefinition",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def",
      "rel" : "self"
    } ]
  } ],
  "totalCount" : 1,
  "startIndex" : 0,
  "itemsPerPage" : 10,
  "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertydefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions?q=pd-name:like:%25&startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

71.2.3.7 すべてのプロパティ定義の削除

DeleteAllPDs

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=ZfhzMnYQz7pg4gzv5wZV1srvy3yDTsG4J4090X1GnHhrQpCSTkG2!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:30 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=GSw4MnyYTw87Q6yCBb2H9F0JL6kLJwjrqYv3b72LtDMQGdLKPGRc!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:41 GMT

71.2.4 プロパティ・セット定義の作成、取得、更新および削除

71.2.4.1 プロパティ・セット定義の作成

この項では、プロパティ・サービスを使用してネームスペース内のプロパティ・セット定義を作成するための、リクエストとレスポンスについて説明します。

CreatePSD

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=6Q93MnYT5xcTQJ3tPLn3vT7sCPDNFlyzQGRSRnXlfHp8lSTbR8NH!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySetDefinition resourceType="urn:oracle:wcps:property:propertysetdefinition">
  <namespaceName>Oracle</namespaceName>
  <name>partnersinfo</name>
  <propertyMapping>
    <propertyName>company_name</propertyName>
    <propertyDefinitionName>String_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <propertyName>address</propertyName>
    <propertyDefinitionName>String_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <propertyName>number_of_employees</propertyName>
    <propertyDefinitionName>Integer_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <propertyName>previous_ranking_and_current_ranking</propertyName>
    <propertyDefinitionName>Integer_Array_Def</propertyDefinitionName>
  </propertyMapping>
</propertySetDefinition>

Response:
Status Code:201
Content-Length: 2854
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo
Date: Thu, 07 Oct 2010 23:31:32 GMT
ETag: "1286494292658"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySetDefinition resourceType="urn:oracle:wcps:property:propertysetdefinition">
  <links>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo"
      rel="self" resourceType="urn:oracle:wcps:property:propertysetdefinition"/>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets"
      resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <name>partnersinfo</name>
  <createdOn>2010-10-07T17:31:32.658-0600</createdOn>
  <updatedOn>2010-10-07T17:31:32.658-0600</updatedOn>
  <propertyMapping>
    <links>
      <link
        capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
        href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def" resourceType="urn:oracle:wcps:property:propertydefinition"/>
    </links>
    <propertyName>number_of_employees</propertyName>
    <propertyDefinitionName>Integer_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <links>
      <link
        capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
        href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/String_Def" resourceType="urn:oracle:wcps:property:propertydefinition"/>
    </links>
    <propertyName>address</propertyName>
    <propertyDefinitionName>String_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <links>
      <link
        capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
        href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/String_Def" resourceType="urn:oracle:wcps:property:propertydefinition"/>
    </links>
    <propertyName>company_name</propertyName>
    <propertyDefinitionName>String_Def</propertyDefinitionName>
  </propertyMapping>
  <propertyMapping>
    <links>
      <link
        capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
        href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def" resourceType="urn:oracle:wcps:property:propertydefinition"/>
    </links>
    <propertyName>previous_ranking_and_current_ranking</propertyName>
    <propertyDefinitionName>Integer_Array_Def</propertyDefinitionName>
  </propertyMapping>
</propertySetDefinition>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitionsX-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=dpvQMnyDkSNwv1TZ20JSYyzJpKJn1JwBQdRtNLQhNPHWpgvs8PcZ!-609606431;Version=1
Content-Type: application/json
Accept: application/json

{
  "name" : "partnersinfo",
  "namespaceName" : "Oracle",
  "propertyMappings" : [ {
    "propertyDefinitionName" : "String_Def",
    "propertyName" : "company_name"
  }, {
    "propertyDefinitionName" : "String_Def",
    "propertyName" : "address"
  }, {
    "propertyDefinitionName" : "Integer_Def",
    "propertyName" : "number_of_employees"
  }, {
    "propertyDefinitionName" : "Integer_Array_Def",
    "propertyName" : "previous_ranking_and_current_ranking"
  } ],
  "resourceType" : "urn:oracle:wcps:property:propertysetdefinition"
}

Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo
Date: Fri, 08 Oct 2010 01:24:51 GMT
ETag: "1286501091845"
 
{
  "name" : "partnersinfo",
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:51.845-0600",
  "updatedOn" : "2010-10-07T19:24:51.845-0600",
  "propertyMappings" : [ {
    "propertyName" : "number_of_employees",
    "propertyDefinitionName" : "Integer_Def",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Def"
    } ]
  }, {
    "propertyName" : "address",
    "propertyDefinitionName" : "String_Def",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/String_Def"
    } ]
  }, {
    "propertyName" : "company_name",
    "propertyDefinitionName" : "String_Def",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/String_Def"
    } ]
  }, {
    "propertyName" : "previous_ranking_and_current_ranking",
    "propertyDefinitionName" : "Integer_Array_Def",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:propertydefinition",
      "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertydefinitions/Integer_Array_Def"
    } ]
  } ],
  "resourceType" : "urn:oracle:wcps:property:propertysetdefinition",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinition",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo",
    "rel" : "self"
  }, {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets"
  } ]
}

71.2.4.2 プロパティ・セット定義の取得

RetrievePSD

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=6Q93MnYT5xcTQJ3tPLn3vT7sCPDNFlyzQGRSRnXlfHp8lSTbR8NH!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494292658
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:33 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=dpvQMnyDkSNwv1TZ20JSYyzJpKJn1JwBQdRtNLQhNPHWpgvs8PcZ!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501091845
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:51 GMT

71.2.4.3 すべてのプロパティ・セット定義の取得

この項では、プロパティ・サービスを使用してネームスペース内のプロパティ・セット定義を表示するための、リクエストとレスポンスについて説明します。

RetrieveAllPSDs

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=6Q93MnYT5xcTQJ3tPLn3vT7sCPDNFlyzQGRSRnXlfHp8lSTbR8NH!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 779
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:33 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySetDefinitions resourceType="urn:oracle:wcps:property:propertysetdefinitions">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex=0&amp;itemsPerPage=10"
      rel="self"
      resourceType="urn:oracle:wcps:property:propertysetdefinitions" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <itemsPerPage>10</itemsPerPage>
  <startIndex>0</startIndex>
  <totalCount>0</totalCount>
  <namespaceName>Oracle</namespaceName>
  <items/>
</propertySetDefinitions>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=dpvQMnyDkSNwv1TZ20JSYyzJpKJn1JwBQdRtNLQhNPHWpgvs8PcZ!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:51 GMT
 
{
  "namespaceName" : "Oracle",
  "propertySetDefinitions" : [ ],
  "totalCount" : 0,
  "startIndex" : 0,
  "itemsPerPage" : 10,
  "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex={startIndex}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysetdefinitions",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions?startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

71.2.4.4 すべてのプロパティ・セット定義の削除

DeleteAllPSDs

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=6Q93MnYT5xcTQJ3tPLn3vT7sCPDNFlyzQGRSRnXlfHp8lSTbR8NH!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:33 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=dpvQMnyDkSNwv1TZ20JSYyzJpKJn1JwBQdRtNLQhNPHWpgvs8PcZ!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:51 GMT

71.2.5 プロパティ・セットの作成、取得、更新および削除

71.2.5.1 プロパティ・セットの作成

この項では、プロパティ・サービスを使用してネームスペース内のプロパティ・セットを作成するための、リクエストとレスポンスについて説明します。

CreatePS

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySet resourceType="urn:oracle:wcps:property:propertyset">
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <name>infosys</name>
  <items>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>company_name</name>
      <type>STRING</type>
      <values>
        <string>InfoSys</string>
      </values>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>address</name>
      <type>STRING</type>
      <values>
        <string>1 foo loop, San Francisco, CA</string>
      </values>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>number_of_employees</name>
      <type>INT</type>
      <values>
        <integer>10000</integer>
      </values>
    </property>
    <property multiValue="true" resourceType="urn:oracle:wcps:property:property">
      <name>previous_ranking_and_current_ranking</name>
      <type>INT_ARRAY</type>
      <values>
        <integer>3</integer>
        <integer>5</integer>
      </values>
    </property>
  </items>
</propertySet>
 
Response:
 
Status Code:201
Content-Length: 3709
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
Date: Thu, 07 Oct 2010 23:31:35 GMT
ETag: "1286494295948"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySet resourceType="urn:oracle:wcps:property:propertyset">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:property" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/{propertyName}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys"
      rel="self" resourceType="urn:oracle:wcps:property:propertyset"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <name>infosys</name>
  <items>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/number_of_employees"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>number_of_employees</name>
      <type>INT</type>
      <values>
        <integer>10000</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/address"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>address</name>
      <type>STRING</type>
      <values>
        <string>1 foo loop, San Francisco, CA</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/company_name"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>company_name</name>
      <type>STRING</type>
      <values>
        <string>InfoSys</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="true" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/previous_ranking_and_current_ranking"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>previous_ranking_and_current_ranking</name>
      <type>INT_ARRAY</type>
      <values>
        <integer>3</integer>
        <integer>5</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
  </items>
  <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
  <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
</propertySet>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "infosys",
  "properties" : [ {
    "name" : "company_name",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "InfoSys"
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "address",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "1 foo loop, San Francisco, CA"
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "number_of_employees",
    "type" : "INT",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 10000
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "previous_ranking_and_current_ranking",
    "type" : "INT_ARRAY",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 3
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    } ],
    "multiValue" : true,
    "resourceType" : "urn:oracle:wcps:property:property"
  } ],
  "namespaceName" : "Oracle",
  "propertySetDefinitionName" : "partnersinfo",
  "resourceType" : "urn:oracle:wcps:property:propertyset"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
Date: Fri, 08 Oct 2010 01:24:58 GMT
ETag: "1286501098924"
 
{
  "name" : "infosys",
  "properties" : [ {
    "name" : "number_of_employees",
    "type" : "INT",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 10000
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/number_of_employees",
      "rel" : "self"
    } ]
  }, {
    "name" : "address",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "1 foo loop, San Francisco, CA"
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/address",
      "rel" : "self"
    } ]
  }, {
    "name" : "company_name",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "InfoSys"
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/company_name",
      "rel" : "self"
    } ]
  }, {
    "name" : "previous_ranking_and_current_ranking",
    "type" : "INT_ARRAY",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 3
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "multiValue" : true,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/previous_ranking_and_current_ranking",
      "rel" : "self"
    } ]
  } ],
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:58.924-0600",
  "updatedOn" : "2010-10-07T19:24:58.924-0600",
  "propertySetDefinitionName" : "partnersinfo",
  "resourceType" : "urn:oracle:wcps:property:propertyset",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/{propertyName}",
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "resourceType" : "urn:oracle:wcps:property:propertyset",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys",
    "rel" : "self"
  } ]
}

71.2.5.2 プロパティ・セットの取得

RetrievePS

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 3709
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:36 GMT
ETag: "1286494296325"
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySet resourceType="urn:oracle:wcps:property:propertyset">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      resourceType="urn:oracle:wcps:property:property" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/{propertyName}"/>
    <link
      capabilities="urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys"
      rel="self" resourceType="urn:oracle:wcps:property:propertyset"/>
  </links>
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <name>infosys</name>
  <items>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/number_of_employees"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>number_of_employees</name>
      <type>INT</type>
      <values>
        <integer>10000</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/company_name"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>company_name</name>
      <type>STRING</type>
      <values>
        <string>InfoSys</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/address"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>address</name>
      <type>STRING</type>
      <values>
        <string>1 foo loop, San Francisco, CA</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
    </property>
    <property multiValue="true" resourceType="urn:oracle:wcps:property:property">
      <links>
        <link
          capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
          href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/previous_ranking_and_current_ranking"
          rel="self" resourceType="urn:oracle:wcps:property:property"/>
      </links>
      <name>previous_ranking_and_current_ranking</name>
      <type>INT_ARRAY</type>
      <values>
        <integer>4</integer>
        <integer>5</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
    </property>
  </items>
  <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
  <updatedOn>2010-10-07T17:31:36.325-0600</updatedOn>
</propertySet>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:58 GMT
ETag: "1286501098964"
 
{
  "name" : "infosys",
  "properties" : [ {
    "name" : "number_of_employees",
    "type" : "INT",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 10000
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.964-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/number_of_employees",
      "rel" : "self"
    } ]
  }, {
    "name" : "company_name",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "InfoSys"
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.964-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/company_name",
      "rel" : "self"
    } ]
  }, {
    "name" : "address",
    "type" : "STRING",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "1 foo loop, San Francisco, CA"
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.964-0600",
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/address",
      "rel" : "self"
    } ]
  }, {
    "name" : "previous_ranking_and_current_ranking",
    "type" : "INT_ARRAY",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 4
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    } ],
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.964-0600",
    "multiValue" : true,
    "resourceType" : "urn:oracle:wcps:property:property",
    "links" : [ {
      "resourceType" : "urn:oracle:wcps:property:property",
      "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
      "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/previous_ranking_and_current_ranking",
      "rel" : "self"
    } ]
  } ],
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:58.924-0600",
  "updatedOn" : "2010-10-07T19:24:58.964-0600",
  "propertySetDefinitionName" : "partnersinfo",
  "resourceType" : "urn:oracle:wcps:property:propertyset",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/{propertyName}",
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
  }, {
    "resourceType" : "urn:oracle:wcps:property:propertyset",
    "capabilities" : "urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys",
    "rel" : "self"
  } ]
}

71.2.5.3 プロパティ・セットの更新

UpdatePS

XML

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494295948
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySet resourceType="urn:oracle:wcps:property:propertyset">
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <name>infosys</name>
  <items>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>number_of_employees</name>
      <type>INT</type>
      <values>
        <integer>10000</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>address</name>
      <type>STRING</type>
      <values>
        <string>1 foo loop, San Francisco, CA</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="false" resourceType="urn:oracle:wcps:property:property">
      <name>company_name</name>
      <type>STRING</type>
      <values>
        <string>InfoSys</string>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
    <property multiValue="true" resourceType="urn:oracle:wcps:property:property">
      <name>previous_ranking_and_current_ranking</name>
      <type>INT_ARRAY</type>
      <values>
        <integer>4</integer>
        <integer>5</integer>
      </values>
      <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
      <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
    </property>
  </items>
  <createdOn>2010-10-07T17:31:35.948-0600</createdOn>
  <updatedOn>2010-10-07T17:31:35.948-0600</updatedOn>
</propertySet>
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:36 GMT
ETag: "1286494296325"

JSON

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501098924
 
{
  "name" : "infosys",
  "properties" : [ {
    "name" : "number_of_employees",
    "type" : "INT",
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 10000
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "address",
    "type" : "STRING",
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "1 foo loop, San Francisco, CA"
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "company_name",
    "type" : "STRING",
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
      "value" : "InfoSys"
    } ],
    "multiValue" : false,
    "resourceType" : "urn:oracle:wcps:property:property"
  }, {
    "name" : "previous_ranking_and_current_ranking",
    "type" : "INT_ARRAY",
    "createdOn" : "2010-10-07T19:24:58.924-0600",
    "updatedOn" : "2010-10-07T19:24:58.924-0600",
    "values" : [ {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 4
    }, {
      "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:integer-value",
      "value" : 5
    } ],
    "multiValue" : true,
    "resourceType" : "urn:oracle:wcps:property:property"
  } ],
  "namespaceName" : "Oracle",
  "createdOn" : "2010-10-07T19:24:58.924-0600",
  "updatedOn" : "2010-10-07T19:24:58.924-0600",
  "propertySetDefinitionName" : "partnersinfo",
  "resourceType" : "urn:oracle:wcps:property:propertyset"
}
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:58 GMT
ETag: "1286501098964"

71.2.5.4 プロパティ・セットの削除

DeletePS

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494295948
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:36 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501098924
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:58 GMT

71.2.5.5 すべてのプロパティ・セットの取得

この項では、プロパティ・サービスを使用してネームスペース内のプロパティ・セットを表示するための、リクエストとレスポンスについて説明します。

RetrieveAllPSs

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 886
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:36 GMT
 
<?xml version="1.0" encoding="UTF-8"?>
<propertySets resourceType="urn:oracle:wcps:property:propertysets">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex=0&amp;itemsPerPage=10"
      rel="self" resourceType="urn:oracle:wcps:property:propertysets" template="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex={startIndex}&amp;dataFields={dataFields}&amp;q={q}&amp;itemsPerPage={itemsPerPage}"/>
  </links>
  <itemsPerPage>10</itemsPerPage>
  <startIndex>0</startIndex>
  <totalCount>0</totalCount>
  <namespaceName>Oracle</namespaceName>
  <propertySetDefinitionName>partnersinfo</propertySetDefinitionName>
  <items/>
</propertySets>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:59 GMT
 
{
  "propertySets" : [ ],
  "namespaceName" : "Oracle",
  "propertySetDefinitionName" : "partnersinfo",
  "totalCount" : 0,
  "startIndex" : 0,
  "itemsPerPage" : 10,
  "resourceType" : "urn:oracle:wcps:property:propertysets",
  "links" : [ {
    "template" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex={startIndex}&dataFields={dataFields}&q={q}&itemsPerPage={itemsPerPage}",
    "resourceType" : "urn:oracle:wcps:property:propertysets",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets?startIndex=0&itemsPerPage=10",
    "rel" : "self"
  } ]
}

71.2.5.6 すべてのプロパティ・セットの削除

DeleteAllPSs

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:36 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:59 GMT

71.2.6 プロパティの作成、取得、更新および削除

71.2.6.1 プロパティの作成

CreateP

XML

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
<?xml version="1.0" encoding="UTF-8"?>
<property multiValue="false" resourceType="urn:oracle:wcps:property:property">
  <name>ceo_name</name>
  <type>STRING</type>
  <values>
    <string>Mr. Smith</string>
  </values>
</property>
 
Response:
Status Code:201
Content-Length: 694
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
Date: Thu, 07 Oct 2010 23:31:36 GMT
ETag: "1286494297011"
 
<?xml version="1.0" encoding="UTF-8"?>
<property multiValue="false" resourceType="urn:oracle:wcps:property:property">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name"
      rel="self" resourceType="urn:oracle:wcps:property:property"/>
  </links>
  <name>ceo_name</name>
  <type>STRING</type>
  <values>
    <string>Mr. Smith</string>
  </values>
  <createdOn>2010-10-07T17:31:36.741-0600</createdOn>
  <updatedOn>2010-10-07T17:31:37.011-0600</updatedOn>
</property>

JSON

Request:
POST http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
{
  "name" : "ceo_name",
  "type" : "STRING",
  "values" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
    "value" : "Mr. Smith"
  } ],
  "multiValue" : false,
  "resourceType" : "urn:oracle:wcps:property:property"
}
 
Response:
Status Code:201
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Location: http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
Date: Fri, 08 Oct 2010 01:24:59 GMT
ETag: "1286501099056"
 
{
  "name" : "ceo_name",
  "type" : "STRING",
  "values" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
    "value" : "Mr. Smith"
  } ],
  "createdOn" : "2010-10-07T19:24:59.038-0600",
  "updatedOn" : "2010-10-07T19:24:59.056-0600",
  "multiValue" : false,
  "resourceType" : "urn:oracle:wcps:property:property",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name",
    "rel" : "self"
  } ]
}

71.2.6.2 プロパティの取得

RetrieveP

XML

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:200
Content-Length: 694
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Content-Type: application/xml
Date: Thu, 07 Oct 2010 23:31:37 GMT
ETag: "1286494297366"
 
<?xml version="1.0" encoding="UTF-8"?>
<property multiValue="false" resourceType="urn:oracle:wcps:property:property">
  <links>
    <link
      capabilities="urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete"
      href="http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name"
      rel="self" resourceType="urn:oracle:wcps:property:property"/>
  </links>
  <name>ceo_name</name>
  <type>STRING</type>
  <values>
    <string>Mr. Baker</string>
  </values>
  <createdOn>2010-10-07T17:31:36.741-0600</createdOn>
  <updatedOn>2010-10-07T17:31:37.366-0600</updatedOn>
</property>

JSON

Request:
GET http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:200
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Transfer-Encoding: chunked
Content-Type: application/json
Date: Fri, 08 Oct 2010 01:24:59 GMT
ETag: "1286501099162"
 
{
  "name" : "ceo_name",
  "type" : "STRING",
  "values" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
    "value" : "Mr. Baker"
  } ],
  "createdOn" : "2010-10-07T19:24:59.038-0600",
  "updatedOn" : "2010-10-07T19:24:59.162-0600",
  "multiValue" : false,
  "resourceType" : "urn:oracle:wcps:property:property",
  "links" : [ {
    "resourceType" : "urn:oracle:wcps:property:property",
    "capabilities" : "urn:oracle:restframework:create urn:oracle:restframework:read urn:oracle:restframework:update urn:oracle:restframework:delete",
    "href" : "http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name",
    "rel" : "self"
  } ]
}

71.2.6.3 プロパティの更新

UpdateP

XML

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
Cookie: JSESSIONID=vc1pMnYWRZysgqhXVz5XrGKqhvfy0vv2zc7xQ3RyDSvG0mG22ZlJ!-1714998420;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286494297011
 
<?xml version="1.0" encoding="UTF-8"?>
<property multiValue="false" resourceType="urn:oracle:wcps:property:property">
  <name>ceo_name</name>
  <type>STRING</type>
  <values>
    <string>Mr. Baker</string>
  </values>
  <createdOn>2010-10-07T17:31:36.741-0600</createdOn>
  <updatedOn>2010-10-07T17:31:37.011-0600</updatedOn>
</property>
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FC59cJkhnJPolzPwKsStfD0Dxjm8_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Thu, 07 Oct 2010 23:31:37 GMT
ETag: "1286494297366"

JSON

Request:
PUT http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501099056
 
{
  "name" : "ceo_name",
  "type" : "STRING",
  "createdOn" : "2010-10-07T19:24:59.038-0600",
  "updatedOn" : "2010-10-07T19:24:59.056-0600",
  "values" : [ {
    "concreteType" : "urn:oracle:wcps:property:internal:jaxrs:model:string-value",
    "value" : "Mr. Baker"
  } ],
  "multiValue" : false,
  "resourceType" : "urn:oracle:wcps:property:property"
}
 
Response:
Status Code:200
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Cache-Control: no-cache
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:59 GMT
ETag: "1286501099162"

71.2.6.4 プロパティの削除

DeleteP

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=VyThMnyG0gyp97J3vKPrkfF4VvtrjTDHJ3SL894V0glWzqJ24L0B!-609606431;Version=1
Content-Type: application/xml
Accept: application/xml
If-Match: 1286501097791
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:58 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties/ceo_name
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
If-Match: 1286501099162
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:59 GMT

71.2.6.5 すべてのプロパティの削除

DeleteAllP

XML

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=VyThMnyG0gyp97J3vKPrkfF4VvtrjTDHJ3SL894V0glWzqJ24L0B!-609606431;Version=1
Content-Type: application/xml
Accept: application/xml
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:58 GMT

JSON

Request:
DELETE http://localhost:8891/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partnersinfo/propertysets/infosys/properties
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
Cookie: JSESSIONID=h72xMnyKQQSW9Lwcg2HMGDnNQnK1HZJpGJmLgZ2P1vHFpvT2bX2k!-609606431;Version=1
Content-Type: application/json
Accept: application/json
 
Response:
Status Code:204
Content-Length: 0
X-Oracle-RF-Token-Scheme: utoken
X-Oracle-RF-Token: FIxec1lmTFguxer9ZqZJpsXSnlZy_w**
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
X-Oracle-RF-Token-Location: header
Date: Fri, 08 Oct 2010 01:24:59 GMT

71.2.7 JSONペイロード

JSON形式のプロパティ値は、concreteTypeフィールドの名前を使用して値タイプを示します。次の表では、プロパティ定義タイプおよびJavaデータ型をconcreteTypeの値にマップします。

表71-1 concreteTypeの値

プロパティ定義型 Javaデータ型 concreteTypeの値

INT

java.lang.Integer

urn:oracle:wcps:property:internal:jaxrs:model:integer-value

NUMBER

java.lang.Double

urn:oracle:wcps:property:internal:jaxrs:model:double-value

STRING

java.lang.String

urn:oracle:wcps:property:internal:jaxrs:model:string-value

BOOLEAN

java.lang.Boolean

urn:oracle:wcps:property:internal:jaxrs:model:boolean-value

BLOB

oracle.wcps.property.BlobData

urn:oracle:wcps:property:blob-data

CLOB

oracle.wcps.property.ClobData

urn:oracle:wcps:property:clob-data

DATETIME

oracle.wcps.property.DateTime

urn:oracle:wcps:property:date-time


71.2.8 例外

  • オプティミスティックな並行性がプロパティ・サーバーで無効になっている場合、If-Matchリクエスト・ヘッダーは不要です。有効になっている場合は、If-Matchヘッダーの値がレスポンス・ヘッダーETagに送信する値となります。

  • リクエスト・ヘッダーX-Oracle-RF-Tokenを送信しなかった場合、403レスポンス・ステータスが戻されます。このトークンの値は、/resouceIndexリクエストへのレスポンスとして送信される値となります。

  • 使用中のネームスペース、プロパティ定義またはプロパティ・セット定義を削除しようとすると、412レスポンス・ステータスが戻されます。

71.2.9 問合せパラメータ

表71-2に、サポートされる問合せパラメータとそのデフォルト値を示します。

表71-2 問合せパラメータ

問合せパラメータ名 説明 デフォルト値 その他の特殊な値

q

この値は検索式となります

なし

なし

startIndex

ページ内の最初の要素の索引を表します

0

なし

itemsPerPage

ページ内に含まれるアイテムの数を表します

10

なし

dataFields

データを戻すプロパティ・サービス・エンティティの属性のリストを表します

空のリスト = (属性は戻されません)

* = (すべての属性)


71.2.10 検索式

71.2.10.1 構文

q問合せパラメータの値は、検索式です。検索式の形式は、次のとおりです。

single_expression = attribute_name:operator_name:value
expression = single_expression[;single_expression]

71.2.10.2 サポートされる演算子

  • 関係演算子

    • :equals: ==> 等しい

    • :contains: ==> 含む

    • :like: ==> SQLのLike(文字列タイプのプロパティ値にのみ適用されます)

    • :gt: ==> より大きい

    • :gte: ==> 以上

    • :lt: ==> より小さい

    • :lte: ==> 以下

  • 論理演算

    • ; ==> および

71.2.10.3 サポートされる属性名

表71-3表71-4表71-5および表71-6に、プロパティ・サービス・エンティティを検索するための検索式で使用できる、サポートされる属性名を示します。

ネームスペースの属性

表71-3 ネームスペースの属性

属性名 説明

ns-name

ネームスペースの名前

ns-property-locator-class-name

ネームスペースのプロパティ・ロケータ・クラス名

ns-definition-locator-class-name

ネームスペースの定義ロケータ・クラス名

ns-created-on

ネームスペースの作成日時

ns-updated-on

ネームスペースの更新日時


例:

/wcps/api/property/namespaces?q=ns-name:like:Oracle_%25

/wcps/api/property/namespaces?q=ns-definition-locator-class-name:like:%25Locator%25;ns-name:like:Oracle_%25

プロパティ定義の属性

表71-4 プロパティ定義の属性

属性名 説明

pd-name

プロパティ定義の名前

pd-description

プロパティ定義の説明

pd-type

プロパティ定義のタイプ

pd-restricted

プロパティ定義の制限付き属性

pd-validator-class-name

プロパティ定義のバリデータ・クラス名

pd-created-on

プロパティ定義の作成日時

pd-updated-on

プロパティ定義の更新日時


例:

/wcps/api/property/namespaces/Oracle/propertydefinitions?q=pd-name:like:%25D%25;pd-description:contains:4th;pd-restricted:contains:true

プロパティ・セット定義の属性

表71-5 プロパティ・セット定義の属性

属性名 説明

psd-name

プロパティ・セット定義の名前

psd-description

プロパティ・セット定義の説明

psd-pd-name

プロパティ・セット定義によって参照されるプロパティ定義名

psd-property-locator-class-name

プロパティ・セット定義に関連付けられたプロパティ・ロケータ・クラス名

psd-created-on

プロパティ・セット定義の作成日時

psd-updated-on

プロパティ・セット定義の更新日時


例:

wcps/api/property/namespaces/Oracle/propertysetdefinitions?q=psd-created-on:gt:1980-01-01T00:00:00.000-0700;psd-name:like:%255%25

プロパティ・セットの属性

表71-6 プロパティ・セットの属性

属性名 説明

ps-name

プロパティ・セットの名前

ps-description

プロパティ・セットの説明

psd-created-on

プロパティ・セットの作成日時

psd-updated-on

プロパティ・セットの更新日時

プロパティの名前

プロパティの名前属性(firstName、zipCodeなど)


例:

/wcps/api/property/namespaces/Oracle/propertysetdefinitions/partners_info/propertysets?q=ps-created-on:gt:1980-01-01T00:00:00.000-0700