OrganisationServiceWsHttpEndpoint / GetDetails
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
#import <CkoXml.h>
#import <NSString.h>
#import <CkoHttp.h>
#import <CkoHttpResponse.h>
CkoXml *xml = [[CkoXml alloc] init];
xml.Tag = @"soap:Envelope";
[xml AddAttribute: @"xmlns:soap" value: @"http://www.w3.org/2003/05/soap-envelope"];
[xml AddAttribute: @"xmlns:tra" value: @"http://training.gov.au/services/12/"];
[xml UpdateChildContent: @"soap:Header" value: @""];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:Code" value: @"string"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:IncludeLegacyData" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowCodes" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowContacts" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowDataManagers" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowExplicitScope" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowImplicitScope" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowLocations" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowOrganisatoinRoles" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowPostalAddresses" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowPrincipalAddresses" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegistrationManagers" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegistrationPeriods" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegulatoryDecisions" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowResponsibleLegalPersons" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRestrictions" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoClassifications" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoCricosCodes" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoDeliveryLocation" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoDeliveryNotification" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoHigherEducation" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoSchoolProvider" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowTradingNames" value: @"true"];
[xml UpdateChildContent: @"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowUrls" value: @"true"];
// In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required.
xml.EmitXmlDecl = NO;
NSString *soapRequestBody = [xml GetXml];
NSString *endpoint = @"https://ws.staging.training.gov.au/Deewr.Tga.WebServices/OrganisationServiceV12.svc/Organisation12";
NSString *soapAction = @"http://training.gov.au/services/12/IOrganisationService/GetDetails";
// For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
NSString *contentType = @"text/xml";
CkoHttp *http = [[CkoHttp alloc] init];
[http ClearHeaders];
[http SetRequestHeader: @"Content-Type" value: contentType];
[http SetRequestHeader: @"SOAPAction" value: soapAction];
CkoHttpResponse *resp = [http PostXml: endpoint xmlDoc: soapRequestBody charset: @"utf-8"];
if (http.LastMethodSuccess == NO) {
NSLog(@"%@",http.LastErrorText);
NSLog(@"%@",@"Failed to send SOAP request.");
return;
}
// Get the XML response body.
CkoXml *responseXml = [[CkoXml alloc] init];
[resp GetBodyXml: responseXml];
int statusCode = [resp.StatusCode intValue];
NSLog(@"%@%d",@"response status code: ",statusCode);
// If the status code does not indicate succcess, then show the response XML,
// which probably contains error information.
if (statusCode != 200) {
NSLog(@"%@",[responseXml GetXml]);
return;
}
NSLog(@"%@",[responseXml 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).
NSString *ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:ActionOnEntity"];
NSString *EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:EndDate"];
NSString *StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:StartDate"];
NSString *Code = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:Code"];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:StartDate"];
NSString *v_Email = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Email"];
NSString *Fax = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Fax"];
NSString *FirstName = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:FirstName"];
NSString *GroupName = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:GroupName"];
NSString *JobTitle = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:JobTitle"];
NSString *LastName = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:LastName"];
NSString *Mobile = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Mobile"];
NSString *OrganisationName = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:OrganisationName"];
NSString *Phone = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Phone"];
NSString *CountryCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:CountryCode"];
NSString *Latitude = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Latitude"];
NSString *Line1 = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Line1"];
NSString *Line2 = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Line2"];
NSString *Longitude = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Longitude"];
NSString *Postcode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Postcode"];
NSString *StateCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:StateCode"];
NSString *StateOverseas = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:StateOverseas"];
NSString *Suburb = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Suburb"];
NSString *RoleCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:RoleCode"];
NSString *Title = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Title"];
NSString *TypeCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:TypeCode"];
NSString *DateTime = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:CreatedDate|*:DateTime"];
int OffsetMinutes = [[responseXml GetChildIntValue: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:CreatedDate|*:OffsetMinutes"] intValue];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:StartDate"];
Code = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:Code"];
NSString *IsLegacyData = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:IsLegacyData"];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:StartDate"];
CountryCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:CountryCode"];
Latitude = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Latitude"];
Line1 = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Line1"];
Line2 = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Line2"];
Longitude = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Longitude"];
Postcode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Postcode"];
StateCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:StateCode"];
StateOverseas = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:StateOverseas"];
Suburb = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Suburb"];
NSString *OrganisationLocationId = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:OrganisationLocationId"];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:StartDate"];
CountryCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:CountryCode"];
Latitude = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Latitude"];
Line1 = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Line1"];
Line2 = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Line2"];
Longitude = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Longitude"];
Postcode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Postcode"];
StateCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:StateCode"];
StateOverseas = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:StateOverseas"];
Suburb = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Suburb"];
NSString *OrganisationPostalAddressId = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:OrganisationPostalAddressId"];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:StartDate"];
CountryCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:CountryCode"];
Latitude = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Latitude"];
Line1 = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Line1"];
Line2 = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Line2"];
Longitude = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Longitude"];
Postcode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Postcode"];
StateCode = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:StateCode"];
StateOverseas = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:StateOverseas"];
Suburb = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Suburb"];
NSString *OrganisationPrincipalAddressId = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:OrganisationPrincipalAddressId"];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:StartDate"];
NSString *v_string = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Abns|*:string"];
NSString *Acn = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Acn"];
NSString *Name = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Name"];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:StartDate"];
NSString *Abbreviation = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Abbreviation"];
int iCode = [[responseXml GetChildIntValue: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Code"] intValue];
NSString *Description = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Description"];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:StartDate"];
Name = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:Name"];
DateTime = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:UpdatedDate|*:DateTime"];
OffsetMinutes = [[responseXml GetChildIntValue: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:UpdatedDate|*:OffsetMinutes"] intValue];
ActionOnEntity = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:ActionOnEntity"];
EndDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:EndDate"];
StartDate = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:StartDate"];
NSString *Link = [responseXml GetChildContent: @"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:Link"];
Request XML
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tra="http://training.gov.au/services/12/">
<soap:Header/>
<soap:Body>
<tra:GetDetails>
<tra:request>
<tra:Code>string</tra:Code>
<tra:IncludeLegacyData>true</tra:IncludeLegacyData>
<tra:InformationRequested>
<tra:ShowCodes>true</tra:ShowCodes>
<tra:ShowContacts>true</tra:ShowContacts>
<tra:ShowDataManagers>true</tra:ShowDataManagers>
<tra:ShowExplicitScope>true</tra:ShowExplicitScope>
<tra:ShowImplicitScope>true</tra:ShowImplicitScope>
<tra:ShowLocations>true</tra:ShowLocations>
<tra:ShowOrganisatoinRoles>true</tra:ShowOrganisatoinRoles>
<tra:ShowPostalAddresses>true</tra:ShowPostalAddresses>
<tra:ShowPrincipalAddresses>true</tra:ShowPrincipalAddresses>
<tra:ShowRegistrationManagers>true</tra:ShowRegistrationManagers>
<tra:ShowRegistrationPeriods>true</tra:ShowRegistrationPeriods>
<tra:ShowRegulatoryDecisions>true</tra:ShowRegulatoryDecisions>
<tra:ShowResponsibleLegalPersons>true</tra:ShowResponsibleLegalPersons>
<tra:ShowRestrictions>true</tra:ShowRestrictions>
<tra:ShowRtoClassifications>true</tra:ShowRtoClassifications>
<tra:ShowRtoCricosCodes>true</tra:ShowRtoCricosCodes>
<tra:ShowRtoDeliveryLocation>true</tra:ShowRtoDeliveryLocation>
<tra:ShowRtoDeliveryNotification>true</tra:ShowRtoDeliveryNotification>
<tra:ShowRtoHigherEducation>true</tra:ShowRtoHigherEducation>
<tra:ShowRtoSchoolProvider>true</tra:ShowRtoSchoolProvider>
<tra:ShowTradingNames>true</tra:ShowTradingNames>
<tra:ShowUrls>true</tra:ShowUrls>
</tra:InformationRequested>
</tra:request>
</tra:GetDetails>
</soap:Body>
</soap:Envelope>
Response XML
<soap:Envelope xmlns:sys="http://schemas.datacontract.org/2004/07/System" xmlns:tra="http://training.gov.au/services/12/" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<soap:Header/>
<soap:Body>
<tra:GetDetailsResponse>
<tra:GetDetailsResult>
<tra:Codes>
<tra:OrganisationCode>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Code>string</tra:Code>
</tra:OrganisationCode>
</tra:Codes>
<tra:Contacts>
<tra:Contact>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Email>string</tra:Email>
<tra:Fax>string</tra:Fax>
<tra:FirstName>string</tra:FirstName>
<tra:GroupName>string</tra:GroupName>
<tra:JobTitle>string</tra:JobTitle>
<tra:LastName>string</tra:LastName>
<tra:Mobile>string</tra:Mobile>
<tra:OrganisationName>string</tra:OrganisationName>
<tra:Phone>string</tra:Phone>
<tra:PostalAddress>
<tra:CountryCode>string</tra:CountryCode>
<tra:Latitude>99.0</tra:Latitude>
<tra:Line1>string</tra:Line1>
<tra:Line2>string</tra:Line2>
<tra:Longitude>99.0</tra:Longitude>
<tra:Postcode>string</tra:Postcode>
<tra:StateCode>string</tra:StateCode>
<tra:StateOverseas>string</tra:StateOverseas>
<tra:Suburb>string</tra:Suburb>
</tra:PostalAddress>
<tra:RoleCode>string</tra:RoleCode>
<tra:Title>string</tra:Title>
<tra:TypeCode>string</tra:TypeCode>
</tra:Contact>
</tra:Contacts>
<tra:CreatedDate>
<sys:DateTime>dateTime</sys:DateTime>
<sys:OffsetMinutes>442</sys:OffsetMinutes>
</tra:CreatedDate>
<tra:DataManagers>
<tra:DataManagerAssignment>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Code>string</tra:Code>
</tra:DataManagerAssignment>
</tra:DataManagers>
<tra:IsLegacyData>true</tra:IsLegacyData>
<tra:Locations>
<tra:OrganisationLocation>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Address>
<tra:CountryCode>string</tra:CountryCode>
<tra:Latitude>99.0</tra:Latitude>
<tra:Line1>string</tra:Line1>
<tra:Line2>string</tra:Line2>
<tra:Longitude>99.0</tra:Longitude>
<tra:Postcode>string</tra:Postcode>
<tra:StateCode>string</tra:StateCode>
<tra:StateOverseas>string</tra:StateOverseas>
<tra:Suburb>string</tra:Suburb>
</tra:Address>
<tra:OrganisationLocationId>string</tra:OrganisationLocationId>
</tra:OrganisationLocation>
</tra:Locations>
<tra:PostalAddresses>
<tra:OrganisationPostalAddress>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Address>
<tra:CountryCode>string</tra:CountryCode>
<tra:Latitude>99.0</tra:Latitude>
<tra:Line1>string</tra:Line1>
<tra:Line2>string</tra:Line2>
<tra:Longitude>99.0</tra:Longitude>
<tra:Postcode>string</tra:Postcode>
<tra:StateCode>string</tra:StateCode>
<tra:StateOverseas>string</tra:StateOverseas>
<tra:Suburb>string</tra:Suburb>
</tra:Address>
<tra:OrganisationPostalAddressId>string</tra:OrganisationPostalAddressId>
</tra:OrganisationPostalAddress>
</tra:PostalAddresses>
<tra:PrincipalAddresses>
<tra:OrganisationPrincipalAddress>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Address>
<tra:CountryCode>string</tra:CountryCode>
<tra:Latitude>99.0</tra:Latitude>
<tra:Line1>string</tra:Line1>
<tra:Line2>string</tra:Line2>
<tra:Longitude>99.0</tra:Longitude>
<tra:Postcode>string</tra:Postcode>
<tra:StateCode>string</tra:StateCode>
<tra:StateOverseas>string</tra:StateOverseas>
<tra:Suburb>string</tra:Suburb>
</tra:Address>
<tra:OrganisationPrincipalAddressId>string</tra:OrganisationPrincipalAddressId>
</tra:OrganisationPrincipalAddress>
</tra:PrincipalAddresses>
<tra:ResponsibleLegalPersons>
<tra:ResponsibleLegalPerson>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Abns>
<arr:string>string</arr:string>
</tra:Abns>
<tra:Acn>string</tra:Acn>
<tra:Name>string</tra:Name>
</tra:ResponsibleLegalPerson>
</tra:ResponsibleLegalPersons>
<tra:Roles>
<tra:Role>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Abbreviation>string</tra:Abbreviation>
<tra:Code>1042</tra:Code>
<tra:Description>string</tra:Description>
</tra:Role>
</tra:Roles>
<tra:TradingNames>
<tra:TradingName>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Name>string</tra:Name>
</tra:TradingName>
</tra:TradingNames>
<tra:UpdatedDate>
<sys:DateTime>dateTime</sys:DateTime>
<sys:OffsetMinutes>442</sys:OffsetMinutes>
</tra:UpdatedDate>
<tra:Urls>
<tra:Url>
<tra:ActionOnEntity>None</tra:ActionOnEntity>
<tra:EndDate>date</tra:EndDate>
<tra:StartDate>date</tra:StartDate>
<tra:Link>string</tra:Link>
</tra:Url>
</tra:Urls>
</tra:GetDetailsResult>
</tra:GetDetailsResponse>
</soap:Body>
</soap:Envelope>