HTTP 형식 매크로 예제 http-format-macro-examples

일반적으로 사용되는 몇 가지 예시 HTTP 매크로 조합.

다음을 참조하십시오. HTTP 형식 매크로 매크로 및 매크로 정의 목록입니다.

매크로 예제
출력 형식
<PID_ALIAS>|<DP_UUID>|<TRAITALIAS_LIST; separator=",">
pid_alias|dp_uuid|trait_1,trait_2
<PID_ALIAS>|count:<NUM_USERS>|users:[<USER_LIST:{user|<user.aamUuid>:<user.dpUuid>}; separator=", ">]
"pid_alias|count:2|users:[uuid1:dpuuid1, uuid2:dpuuid2]"
<USER_AGENT>|<IP>|<TIMESTAMP>|<RANDOM>
"Firefox|255.255.255.255|1395758143|42341"
<USER_LIST:{u|<u.userAgent>|<u.ip>|<u.timestamp>|<u.random>}; separator=", ">
"Firefox|255.255.255.255|1395758143|42341"
<DP_UUIDS.1> AND <DP_UUIDS.2>
dpuuid1 AND dpuuid2
users:[<USER_LIST:{user|<user.dpUuids.1> AND <user.dpUuids.2>}; separator=", ">]
users:[dpuuid1 AND dpuuid2]
test_known_string=loremlipsum&segid=<TRAITALIAS_LIST; separator=",">&test_dpuuid_1000=<DP_UUIDS.1000>
test_known_string=loremlipsum&segid=trait_1,trait_2&test_dpuuid_1000=dpuuid_1000
test_dpuuids=<DP_UUIDS.(DPID)>
test_dpuuids=dpuuid2
"<PID_ALIAS>|<DP_UUID>|<TRAITALIAS_LIST; separator=",">|<REMOVED_TRAITALIAS_LIST; separator=",">
pid_alias|dp_uuid|trait_1,trait_2|trait_3,trait_4
{"Users": [<USER_LIST:{user|<OPEN_BRACKET>    "AAM_UUID": "<user.aamUuid>",    "DataPartner_UUID": "<user.dpUuid>",    "Segments": [<user.segments:{seg|<OPEN_BRACKET>"Segment": "<seg.traitAlias>"<CLOSE_BRACKET>}; separator=",">]    "Removed_Segments": [<user.removedSegments:{rseg|<OPEN_BRACKET>"Segment": "<rseg.traitAlias>"<CLOSE_BRACKET>}; separator=",">]    <CLOSE_BRACKET>}; separator=",">]}
{      "Users":[         {            "AAM_UUID":"uuid1",          "DataPartner_UUID":"dpuuid1",          "Segments":[               {                  "Segment":"alias1"             },             {                  "Segment":"alias2"             }          ],          "Removed_Segments":[               {                  "Segment":"alias3"             },             {                  "Segment":"alias4"             }          ]       }    ] }
{"Users": [<USER_LIST:{user|<OPEN_BRACKET>    "AAM_UUID": "<user.aamUuid>",    "DataPartner_UUID": "<user.dpUuid>",    "Segments": [<user.segments:{seg|<OPEN_BRACKET>"Segment": "<seg.traitAlias>","Status": "<seg.status>"<CLOSE_BRACKET>}; separator=",">]      <CLOSE_BRACKET>}; separator=",">]}
{      "Users":[         {            "AAM_UUID":"uuid1",          "DataPartner_UUID":"dpuuid1",          "Segments":[               {                  "Segment":"alias1"       "Status":"1"             },             {                  "Segment":"alias2"                "Status":"0"             }          ]       }    ] }
<PID_ALIAS>|<DP_UUID>|<SEGMENTS:{seg|<seg.traitAlias>}; separator=\",\">|<REMOVED_SEGMENTS:{seg|<seg.traitAlias>}; separator=\",\">
pid_alias|dp_uuid|trait_1,trait_2|trait_3,trait_4
<if(user.segments && user.removedSegments)><COMMA><endif>
필드에 쉼표를 인쇄합니다. segmentsremovedSegments 비어 있지 않습니다. 이 조건부 값은 세그먼트 및 제거된 세그먼트에 대한 목록을 연결할 때 POST 요청에 사용할 수 있습니다.
recommendation-more-help
3d9f8cff-f6d8-4dcd-966c-cf2ea03db934