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
LOCAL loXml
LOCAL lcSoapRequestBody
LOCAL lcEndpoint
LOCAL lcSoapAction
LOCAL lcContentType
LOCAL loHttp
LOCAL loResp
LOCAL loResponseXml
LOCAL lnStatusCode
loXml = CreateObject('Chilkat_9_5_0.Xml')
loXml.Tag = "soapenv:Envelope"
loXml.AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/")
loXml.AddAttribute("xmlns:tra","http://training.gov.au/services/12/")
loXml.AddAttribute("xmlns:sys","http://schemas.datacontract.org/2004/07/System")
loXml.AddAttribute("xmlns:arr","http://schemas.microsoft.com/2003/10/Serialization/Arrays")
loXml.UpdateChildContent("soapenv:Header","")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Email","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Fax","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:FirstName","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:GroupName","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:JobTitle","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:LastName","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Mobile","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:OrganisationName","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Phone","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:CountryCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Latitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Line1","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Line2","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Longitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Postcode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:StateCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:StateOverseas","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Suburb","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:RoleCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Title","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:TypeCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:CreatedDate|sys:DateTime","dateTime")
loXml.UpdateChildContentInt("soapenv:Body|tra:Add|tra:rto|tra:CreatedDate|sys:OffsetMinutes",442)
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:IsLegacyData","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:CountryCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Latitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Line1","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Line2","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Longitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Postcode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:StateCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:StateOverseas","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Suburb","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:OrganisationLocationId","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:CountryCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Latitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Line1","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Line2","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Longitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Postcode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:StateCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:StateOverseas","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Suburb","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:OrganisationPostalAddressId","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:CountryCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Latitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Line1","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Line2","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Longitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Postcode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:StateCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:StateOverseas","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Suburb","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:OrganisationPrincipalAddressId","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Abns|arr:string","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Acn","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Name","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Abbreviation","string")
loXml.UpdateChildContentInt("soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Code",1042)
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Description","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:Name","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:UpdatedDate|sys:DateTime","dateTime")
loXml.UpdateChildContentInt("soapenv:Body|tra:Add|tra:rto|tra:UpdatedDate|sys:OffsetMinutes",442)
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:Link","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:PurposeCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:SchemeCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:ValueCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:Cricos_x0020_Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:CountryCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Latitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Line1","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Line2","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Longitude","99.0")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Postcode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:StateCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:StateOverseas","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Suburb","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:DeliveryLocationName","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:RtoDeliveryLocationId","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:DateOfChange","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:GeographicAreas|tra:DeliveryNotificationGeographicArea|tra:CountryCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:GeographicAreas|tra:DeliveryNotificationGeographicArea|tra:StateCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:IsCessation","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:NotificationDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:Scopes|tra:DeliveryNotificationScope|tra:Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:Scopes|tra:DeliveryNotificationScope|tra:TrainingComponentType","list of enumerated string values")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndReasonCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndReasonComments","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:Exerciser","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:LegalAuthority","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:DateOfRejection","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:IsApplicationToRenew","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:RtoRegistrationOutcomeOfApplication","UnderConsideration")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegistrationStatus","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:AdditionalDetails","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionDetails","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionDetailsMarkedUp","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionLevelCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnder","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnderUrl","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnderUrlText","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMakerCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionStatusCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionTypeCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:EffectiveDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:IsHistoric","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:Reference","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecision","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:AttachmentUrl","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:AttachmentUrlText","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:DecisionMakerCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventDetails","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventStatusCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:IsHistoric","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Description","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapFromRelationshipCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapToRelationshipCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapsToCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Description","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapFromRelationshipCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapToRelationshipCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapsToCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReviewStatusCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:Code","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:Restriction","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:RestrictionTypeCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:ShowRestriction","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:IsHigherEducation","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:IsSchoolProvider","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ActionOnEntity","None")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:EndDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:StartDate","date")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ExtentCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:IsImplicit","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:IsRefused","true")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:NrtCode","string")
loXml.UpdateChildContent("soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ScopeDecisionType","Granted")
loXml.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.
loXml.EmitXmlDecl = 0
lcSoapRequestBody = loXml.GetXml()
lcEndpoint = "https://ws.staging.training.gov.au/Deewr.Tga.WebServices/OrganisationServiceV12.svc/Organisation"
lcSoapAction = "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"
lcContentType = "text/xml"
loHttp = CreateObject('Chilkat_9_5_0.Http')
loHttp.ClearHeaders()
loHttp.SetRequestHeader("Content-Type",lcContentType)
loHttp.SetRequestHeader("SOAPAction",lcSoapAction)
loResp = loHttp.PostXml(lcEndpoint,lcSoapRequestBody,"utf-8")
IF (loHttp.LastMethodSuccess = 0) THEN
? loHttp.LastErrorText
? "Failed to send SOAP request."
RELEASE loXml
RELEASE loHttp
CANCEL
ENDIF
* Get the XML response body.
loResponseXml = CreateObject('Chilkat_9_5_0.Xml')
loResp.GetBodyXml(loResponseXml)
lnStatusCode = loResp.StatusCode
? "response status code: " + STR(lnStatusCode)
RELEASE loResp
* If the status code does not indicate succcess, then show the response XML,
* which probably contains error information.
IF (lnStatusCode <> 200) THEN
? loResponseXml.GetXml()
RELEASE loXml
RELEASE loHttp
RELEASE loResponseXml
CANCEL
ENDIF
? loResponseXml.GetXml()
* 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).
RELEASE loXml
RELEASE loHttp
RELEASE loResponseXml