using a form to trigger rest message to Dell

chercm
Mega Sage

hi experts. 

 

i have created a Rest message template. i was wondering how can i create a button on the incident form that will take the serial number of the machine and open a form to intake some of the values for the rest message and submit to Dell using the rest message 

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://ph.services.dell.com/Server/">
	<soapenv:Header />
	<soapenv:Body>
		<ser:AlertRequest>
			<SourceHeader>
				<ClientId>${ClientId}</ClientId>
				<ClientType>${ClientType}</ClientType>
				<ClientHostName>${ClientHostName}</ClientHostName>
				<ClientIPAddress>${ClientIPAddress}</ClientIPAddress>
				<GuId>${GuId}</GuId>
				<ClientVersion>${ClientVersion}</ClientVersion>
				<RequestId>${RequestId}</RequestId>
			</SourceHeader>
			<CustomerHeader>
				<CompanyName>${CompanyName}</CompanyName>
				<CountryCodeISO>${CountryCodeISO}</CountryCodeISO>
				<EmailOptIn>${EmailOptIn}</EmailOptIn>
				<PrimaryContact>
					<FirstName>${FirstName}</FirstName>
					<LastName>${LastName}</LastName>
					<Country>${Country}</Country>
					<TimeZone>${TimeZone}</TimeZone>
					<PhoneNumber1>${PhoneNumber1}</PhoneNumber1>
					<EmailAddress>${EmailAddress}</EmailAddress>
					<PreferContactMethod>${PreferContactMethod}</PreferContactMethod>
					<PreferContactTimeframe>${PreferContactTimeframe}</PreferContactTimeframe>
					<PreferLanguage>${PreferLanguage}</PreferLanguage>
				</PrimaryContact>
			</CustomerHeader>
			<AlertData>
				<EventId>2</EventId>
				<TrapId>0</TrapId>
				<EventSource>Server</EventSource>
				<Severity>3</Severity>
				<Message>${Message}</Message>
				<Timestamp>2024-05-03T13:30:00+0200</Timestamp>
				<ServiceTag>APITG05</ServiceTag>
				<PartSerialNo></PartSerialNo>
				<FileToken></FileToken>
				<AgentSource></AgentSource>
				<DeviceName></DeviceName>
				<DeviceIP></DeviceIP>
				<DeviceModel></DeviceModel>
				<DeviceType></DeviceType>
				<OS></OS>
				<DiagnosticsOptIn></DiagnosticsOptIn>
				<CaseSeverity>Medium</CaseSeverity>
				<Code></Code>
				<RecommendationId></RecommendationId>
			</AlertData>
			<WebCaseOperation>
				<Operation>ALERTS</Operation>
			</WebCaseOperation>
		</ser:AlertRequest>
	</soapenv:Body>
</soapenv:Envelope>

 

1 REPLY 1

chercm
Mega Sage

i think Integration hub is easier for this job but PID does not have access to that . so needed a simpler method to show case this.