これは石鹸機能です。php soapエンティティパラメータを送信
CreateSales(文字列USEREMAIL、文字列UserPass、文字列APIKEY、Entity.Sales販売、一覧SalesItem、Entity.Customerカスタマー、Entity.Payment支払い、int型BranchId、int型ユーザーID)
Entity.Sales販売 一覧SalesItem Entity.Customerカスタマー Entity.Customerカスタマー
はどのような値に、このパラメータを送信することができます?
私のサンプルコード、
$result = $client->CreateSales(
array(
"UserEmail" => $this->userEmail,
"UserPass" => $this->userPass,
"ApiKey" => $this->apikey,
"Sales" => $client->Sales(
array(
"SalesId" => $SalesId,
"DepartureRegionId" => $DepartureRegionId,
"DepartureDate" => $DepartureDate,
"DepartureTime" => $DepartureTime,
"ArrivalRegionId" => $ArrivalRegionId,
"TransferTypeId" => $TransferTypeId,
"PricelistId" => $PricelistId,
"PricelistIdLineId" => $PricelistIdLineId
)
),
"SalesItem" => $client->SalesItem(
array(
"BranchId" => $this->branchID,
"SalesDate" => $SalesDate ,
"ArrivalRegionId" => $ArrivalRegionId,
"ArrivalDate" => $ArrivalDate,
"ArrivalTime" => $ArrivalTime,
"DepartureRegionId" => $DepartureRegionId,
"DepartureDate" => $DepartureDate,
"DepartureTime" => $DepartureTime,
"PaxCount" => $PaxCount,
"InfantCount" => $InfantCount,
"Notes" => $Notes,
"VehicleTypeId" => $VehicleTypeId,
"VehicleModelId" => $VehicleModelId,
"VehicleId" => $VehicleId,
"StatusTypeId" => $StatusTypeId,
"PricelistId" => $PricelistId,
"PricelistIdLineId" => $PricelistIdLineId,
"TransferTypeId" => $TransferTypeId,
"SalesTypeId" => $SalesTypeId,
"TransferWayTypeName" => $TransferWayTypeName,
"TransferDuration" => $TransferDuration,
)
),
"Customer" => $client->Customer(
array(
"SalesId" => $SalesId,
"Name" => $Name,
"Gsm" => $Gsm,
"AlternativeGsm" => $AlternativeGsm,
"Email" => $Email,
"Adress" => $Adress,
"DepartureInformation" => $DepartureInformation,
"ArrivalInformation" => $ArrivalInformation,
"ReturnInformation" => $ReturnInformation,
"Note" => $Note
)
),
"Payment" => $client->Payment(
array("PaymentTypeId"=>2)
),
"BranchId" => $this->branchID,
"UserId" => $this->userID,
)
);
私たちができるように、(http://stackoverflow.com/help/mcve)[、最小限の完全な、かつ検証例]を投稿してください助けます。 –