Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help API automation from hotspot

Good morning, dear friends, can you help me with a situation?

We are doing a process to automate the creation of a voucher based on the hotspot we created, a series of errors are appearing, can you tell me what it could be?

<?xml version="1.0" encoding="UTF-8"?>
<Response APIVersion="1805.2" IPS_CAT_VER="1">
    <Login>
        <status>Authentication Successful</status>
    </Login>
    <Hotspot transactionid="">
        <Status code="501">Configuration parameters validation failed.</Status>
        <InvalidParams>
            <Params>/Hotspot/CustomizationType</Params>
            <Params>/Hotspot/Interfaces/Interface</Params>
            <Params>/Hotspot/HotspotType</Params>
            <Params>/Hotspot/TermsOfUse</Params>
            <Params>/Hotspot/LoginPageTemplate</Params>
        </InvalidParams>
    </Hotspot>
</Response>




Below is the payload being used to send


<Request APIVersion="1805.2">
	<Login>
		<Username>login</Username>
		<Password>senha</Password>
	</Login>
	<Set operation="update">
		<Hotspot>
			<Name>Visitantes</Name>
			<Users>
				<User>voucher</User>
			</Users>
			<Interfaces>
				<Interface>VLAN WIFI GUEST</Interface>
			</Interfaces>
			<HotspotType>Voucher</HotspotType>
			<Vouchers>
				<Voucher>Voucher-1h</Voucher>
			</Vouchers>
			<DevicePerVoucher>2</DevicePerVoucher>
		</Hotspot>
	</Set>
</Request>


This thread was automatically locked due to age.
Parents Reply Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?