1
{
  "data": [
{
  "ID": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "name": "Testing Project API",
  "objCode": "PROJ",
  "parameterValues": {
    "DE:Complete Sales Package": [
      "Parcel Register",
      "Signed Lease / Contract"
    ],
    "DE:Temp ID": 1234d5.0,
    "DE:Estimated Yearly Revenue": 0.0,
    "DE:Monitoring Required": "Yes",
    "DE:Lease Rate Annually": xxx,
    "DE:Project DC Size in W": 0.0,
    "DE:Sales Person": "xxC",
    "DE:Project": "xxxx - xxxxxxxx",
    "DE:IESO status name": "OPA",
    "DE:MicroFIT Rate": 333
  },
  "category": {
    "ID": "xxxxxxxxxxxxxxxxxx",
    "name": "xxxxxxxxxxxxxxxxxxx",
    "objCode": "CTGY"
  }
}

] }

テンプレートを使用してプロジェクトを手動で作成したときに受け取った応答は、「DE:Complete Sales Package」という名前のパラメーター値であり、複数のチェック ボックスを含むカスタム フィールドとして表示されるため、複数の値が含まれます。作成方法も API を介して更新します。

私のリクエストは、単一の値を使用したものとまったく同じです: https://mycompany.attask-ondemand.com/attask/api-unsupported/proj?method=post&apiKey=apiKey&templateID=templateID&companyID=companyID&name=Testing Project API-12345&DE:Temp ID=12345

複数のチェックボックスが選択されている場合、リクエストは何ですか? 私はこの取得エラーを使用しています.... 賃貸借契約書、小包登記簿]

?? 次のような複数の値を持つこのタイプのparameterValueを投稿する方法についてのヘルプ:

"DE: コンプリート セールス パッケージ": [ "A", "B", "C" ],

4

1 に答える 1