シード・マッピングとカスタム・マッピングのリストの取得
get
/api/{version}/mapping/list
サポートされるバージョン:
v4
リクエスト
問合せパラメータ
- mapmode(required): string
- maptype(required): string
マップ・タイプはエクスポートまたはエンリッチです。
- objecttype(required): string
オブジェクトのタイプ(会社や担当者など)を指定します。
この操作にはリクエスト本文がありません。
トップに戻る応答
サポートされるメディア・タイプ
- application/xml; charset=UTF-8
- application/json; charset=UTF-8
200 レスポンス
成功
ネストされたスキーマ : マッピング
タイプ:
ソースを表示
object-
createdBy: integer (int64)
-
createdOn: object createdOn
-
editable: string
-
hasCompanyAttributes: string
-
isdefault: boolean
-
mapAttribute: array mapAttribute
-
mapDesc: string
-
mapId: integer (int64)
-
mapMode: string
-
mapName: string
-
mapType: string
-
modifiedBy: integer (int64)
-
modifiedOn: object modifiedOn
-
objectType: string
ネストされたスキーマ : createdOn
タイプ:
objectネストされたスキーマ : modifiedOn
タイプ:
objectネストされたスキーマ : MappingAttributes
タイプ:
ソースを表示
object-
active: string
-
daasAttributeDesc: string
-
daasAttributeDisp: string
-
daasAttributeId: integer (int64)
-
daasAttributeMsgKey: string
-
daasAttributeName: string
-
daasAttributeType: string
-
daasObjectName: string
-
enrichRuleName: string
-
groups: integer (int64)
-
outputHeaderName: string
-
sortOrder: integer (int64)
-
sourceArributeType: string
-
sourceAttributeDisp: string
-
sourceAttributeId: integer (int64)
-
sourceAttributeMsgKey: string
-
sourceAttributeName: string
-
sourceAttributeType: string
-
sourceObjectName: string
-
targetArributeType: string
-
targetAttributeDisp: string
-
targetAttributeDisplayName: string
-
targetAttributeId: integer (int64)
-
targetAttributeMsgKey: string
-
targetAttributeName: string
-
targetAttributeType: string
-
targetObjectName: string
404 レスポンス
リクエストされたリソースが見つかりませんでした。
500 レスポンス
リクエスト中に予期しないエラーが発生しました。
例:
リクエストの例:
/api/v4/mapping/list?objecttype=COMPANY&maptype=enrich /api/v4/mapping/list?sorttype=CONTACT&maptype=enrich /api/v4/mapping/list?objecttype=COMPANY&maptype=export /api/v4/mapping/list?sorttype=CONTACT&maptype=export /api/v4/mapping/list?sorttype=CONTACT&maptype=export&mapmode=MARKETING_CLOUD
出力例:
{
"mappings": [{
"createdBy": "0",
"createdOn": "2014-03-21 09:36:39.632337",
"editable": "N",
"mapDesc": "SalesCloudCompanyExport",
"mapId": "10000",
"mapMode": "CRM",
"mapName": "SalesCloudCompanyExport",
"mapType": "EXPORT",
"modifiedBy": "0",
"modifiedOn": "",
"objectType": "COMPANY"
}, {
"createdBy": "0",
"createdOn": "2014-03-21 09:36:39.642353",
"editable": "N",
"mapDesc": "CompanyExport",
"mapId": "10004",
"mapMode": "GENERIC",
"mapName": "CompanyExport",
"mapType": "EXPORT",
"modifiedBy": "0",
"modifiedOn": "",
"objectType": "COMPANY"
}]
}
エラー・レスポンス詳細:
{"errorMessage": "DCS-1 : The version of the service is not supported. Action: Provide the supported version for accessing the service." }
「トップに戻る」