Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $data = array(
- "body"=>json_encode(array(
- "Registrations" => array(
- "Event"=>array(
- "id" => 1
- ),
- "id"=>"temp-reg1",
- "status"=>"approved",
- "date_of_registration"=>"2015-12-09 14:12:31",
- "final_price"=>0,
- "code"=>"1-50c67a6f172e1",
- "url_link"=>null,
- "is_primary"=>true,
- "is_group_registration"=>false,
- "is_going"=>true,
- "is_checked_in"=>false,
- "Transaction"=>array(
- "id"=>"temp-new-one3",
- "timestamp"=>"2015-12-09 14:12:31",
- "total"=>0,
- "amount_paid"=>0,
- "status"=>"complete",
- "details"=>null,
- "tax_data"=>null,
- "session_data"=>null,
- "payment_gateway"=>"Check"
- ),
- "Attendee"=>array(
- "id"=>"temp-new-one2",
- "firstname"=>"fromapi",
- "lastname"=>"fromapiman",
- "address"=>"",
- "address2"=>"",
- "city"=>"",
- "state"=>"",
- "country"=>"",
- "zip"=>"",
- "email"=>"michael@eventespresso.com",
- "phone"=>""
- ),
- )
- ))
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement