Created
May 11, 2012 18:08
-
-
Save zmpeg/2661415 to your computer and use it in GitHub Desktop.
WorkETC API SetCompany
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Convert to | |
$setcompany = new stdClass(); | |
$setcompany->company = new stdClass(); | |
$setcompany->company->Branches = new stdClass(); | |
$setcompany->company->Branches->Branch = new stdClass(); | |
$setcompany->company->Branches->Branch->BranchID = 0; | |
$setcompany->company->Branches->Branch->BranchName = "TEST TEST"; | |
// Make call | |
$result = $worketc->SetCompany($setcompany); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment