Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $request = new Marketing Cloud_CreateRequest();$opts = new Marketing Cloud_CreateOptions();
- $opts->RequestType = Marketing Cloud_RequestType::Asynchronous;
- $opts->SendResponseTo = array();
- $ar = new Marketing Cloud_AsyncResponse();
- $ar->ConversationID = "firsttest";
- $ar->RespondWhen = Marketing Cloud_RespondWhen::OnCallComplete;
- $ar->ResponseType = Marketing Cloud_AsyncResponseType::email;
- $ar->ResponseAddress = "responses@example.com";
- $ar->IncludeResults = true;
- $ar->IncludeObjects = true;
- $ar->OnlyIncludeBase = true;
- $opts->SendResponseTo[] = $ar;
- $request->Options = $opts;
- $results = $client->Create($request);
Add Comment
Please, Sign In to add comment