지리 단위 특성 업데이트 managing-geographical-units

  1. 에 대한 GET 요청 수행 geoUnitBase 지리적 단위 PKey를 검색하는 리소스입니다.
  2. 페이로드에서 업데이트할 속성을 사용하여 지리적 단위에 대한 PATCH 요청을 수행합니다.

샘플 요청

지리 단위 목록을 검색합니다.

-X GET https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServicesExt/geoUnitBase/ \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Cache-Control: no-cache' \
-H 'X-Api-Key: <API_KEY>'

모든 지리 단위를 반환합니다. 원하는 장치의 PKey를 검색합니다.

{
 "PKey": "<PKEY>",
 "created": "2019-04-06 22:36:19.089Z",
 "desc": "",
 "href": "https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServicesExt/geoUnitBase/<PKEY>",
 "label": "Europe",
 "lastModified": "2019-04-06 22:36:19.086Z",
 "name": "eu",
 "parentTitle": "All (all)",
 "title": "Europe (eu)"
},

페이로드에서 업데이트할 속성을 사용하여 지리적 단위에 대한 PATCH 요청을 수행합니다.

-X PATCH https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServicesExt/orgUnitBase/<PKEY> \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Cache-Control: no-cache' \
-H 'X-Api-Key: <API_KEY>'
-i
-d {
-d "label":"Asia",
-d "name":"asia"
-d }
recommendation-more-help
3ef63344-7f3d-48f9-85ed-02bf569c4fff