샘플 요청
조직 단위 목록을 검색합니다.
-X GET https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServicesExt/orgUnitBase/ \
-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-02 22:36:13.252Z",
"desc": "",
"href": "https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServicesExt/orgUnitBase/<PKEY>",
"label": "Brand 4",
"lastModified": "2019-04-03 07:34:56.579Z",
"name": "brand4",
"parentTitle": "All (all)",
"title": "Brand 4 (brand1)"
},
페이로드에서 업데이트할 특성을 사용하여 조직 단위에 대한 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":"brand1",
-d "name":"brand1"
-d }