OrganisationServiceBasicHttpEndpoint / Add
ASP AutoIt C C (Unicode) C++ C++ (Unicode) C# DataFlex Delphi Foxpro Go Java Node.js Objective-C Perl PHP Extension PowerBuilder Powershell PureBasic Python CkPython Ruby SQL Server Swift TCL VB.NET VB6 VBScript Xojo
$oXml = ObjCreate("Chilkat_9_5_0.Xml")
$oXml.Tag = "soapenv:Envelope"
$oXml.AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/")
$oXml.AddAttribute("xmlns:tra","http://training.gov.au/services/12/")
$oXml.AddAttribute("xmlns:sys","http://schemas.datacontract.org/2004/07/System")
$oXml.AddAttribute("xmlns:arr","http://schemas.microsoft.com/2003/10/Serialization/Arrays")
$oXml.UpdateChildContent "soapenv:Header",""
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Email","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Fax","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:FirstName","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:GroupName","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:JobTitle","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:LastName","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Mobile","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:OrganisationName","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Phone","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:CountryCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Latitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Line1","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Line2","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Longitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Postcode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:StateCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:StateOverseas","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Suburb","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:RoleCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Title","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:TypeCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:CreatedDate|sys:DateTime","dateTime"
$oXml.UpdateChildContentInt "soapenv:Body|tra:Add|tra:rto|tra:CreatedDate|sys:OffsetMinutes",442
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:IsLegacyData","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:CountryCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Latitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Line1","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Line2","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Longitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Postcode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:StateCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:StateOverseas","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Suburb","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:OrganisationLocationId","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:CountryCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Latitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Line1","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Line2","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Longitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Postcode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:StateCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:StateOverseas","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Suburb","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:OrganisationPostalAddressId","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:CountryCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Latitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Line1","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Line2","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Longitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Postcode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:StateCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:StateOverseas","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Suburb","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:OrganisationPrincipalAddressId","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Abns|arr:string","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Acn","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Name","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Abbreviation","string"
$oXml.UpdateChildContentInt "soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Code",1042
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Description","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:Name","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:UpdatedDate|sys:DateTime","dateTime"
$oXml.UpdateChildContentInt "soapenv:Body|tra:Add|tra:rto|tra:UpdatedDate|sys:OffsetMinutes",442
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:Link","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:PurposeCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:SchemeCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:ValueCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:Cricos_x0020_Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:CountryCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Latitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Line1","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Line2","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Longitude","99.0"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Postcode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:StateCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:StateOverseas","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Suburb","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:DeliveryLocationName","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:RtoDeliveryLocationId","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:DateOfChange","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:GeographicAreas|tra:DeliveryNotificationGeographicArea|tra:CountryCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:GeographicAreas|tra:DeliveryNotificationGeographicArea|tra:StateCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:IsCessation","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:NotificationDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:Scopes|tra:DeliveryNotificationScope|tra:Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:Scopes|tra:DeliveryNotificationScope|tra:TrainingComponentType","list of enumerated string values"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndReasonCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndReasonComments","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:Exerciser","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:LegalAuthority","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:DateOfRejection","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:IsApplicationToRenew","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:RtoRegistrationOutcomeOfApplication","UnderConsideration"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegistrationStatus","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:AdditionalDetails","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionDetails","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionDetailsMarkedUp","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionLevelCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnder","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnderUrl","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnderUrlText","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMakerCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionStatusCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionTypeCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:EffectiveDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:IsHistoric","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:Reference","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecision","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:AttachmentUrl","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:AttachmentUrlText","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:DecisionMakerCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventDetails","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventStatusCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:IsHistoric","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Description","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapFromRelationshipCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapToRelationshipCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapsToCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Description","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapFromRelationshipCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapToRelationshipCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapsToCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReviewStatusCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:Code","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:Restriction","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:RestrictionTypeCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:ShowRestriction","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:IsHigherEducation","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:IsSchoolProvider","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ActionOnEntity","None"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:EndDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:StartDate","date"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ExtentCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:IsImplicit","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:IsRefused","true"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:NrtCode","string"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ScopeDecisionType","Granted"
$oXml.UpdateChildContent "soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:TrainingComponentType","list of enumerated string values"
; In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required.
$oXml.EmitXmlDecl = False
Local $soapRequestBody = $oXml.GetXml()
Local $sEndpoint = "https://ws.staging.training.gov.au/Deewr.Tga.WebServices/OrganisationServiceV12.svc/Organisation"
Local $soapAction = "http://training.gov.au/services/12/IOrganisationService/Add"
; For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
Local $sContentType = "text/xml"
$oHttp = ObjCreate("Chilkat_9_5_0.Http")
$oHttp.ClearHeaders
$oHttp.SetRequestHeader "Content-Type",$sContentType
$oHttp.SetRequestHeader "SOAPAction",$soapAction
Local $oResp = $oHttp.PostXml($sEndpoint,$soapRequestBody,"utf-8")
If ($oHttp.LastMethodSuccess = False) Then
ConsoleWrite($oHttp.LastErrorText & @CRLF)
ConsoleWrite("Failed to send SOAP request." & @CRLF)
Exit
EndIf
; Get the XML response body.
$oResponseXml = ObjCreate("Chilkat_9_5_0.Xml")
$oResp.GetBodyXml($oResponseXml)
Local $iStatusCode = $oResp.StatusCode
ConsoleWrite("response status code: " & $iStatusCode & @CRLF)
; If the status code does not indicate succcess, then show the response XML,
; which probably contains error information.
If ($iStatusCode <> 200) Then
ConsoleWrite($oResponseXml.GetXml() & @CRLF)
Exit
EndIf
ConsoleWrite($oResponseXml.GetXml() & @CRLF)
; Parse the successful SOAP response XML.
; This is a sample of the response XML, but the namespace prefixes will be different.
; We can parse the result using "*" for the namespace prefixes (see below).