Reply
Highlighted

API failing for lease file

tanuj-kr
Techie
Posts: 4
206     0

Hi I am using a API to download the lease history from DHCP server but due to the limitation of 1000 pages its getting failed, Can you please help me.

 

API:-

curl -k -u ipamdhcp:Enter@1234 -H 'content-type: application/json' -X POST "https://X.X.X.X/wapi/v2.9/fileop?_function=read" -d '{"_encoding":"XML","_object":"lease","_output_location":"LOCAL"}'

 

result:-

 

{ "Error": "AdmConProtoError: Result set too large (> 1000)",
"code": "Client.Ibap.Proto",
"text": "Result set too large (> 1000)"
}

Re: API failing for lease file

tanuj-kr
Techie
Posts: 4
207     0

HI team,

 

Is there any API for fetching HDCP lease on date/ time basis? Please help me out on this. or on the below query.

Showing results for 
Search instead for 
Do you mean 

Recommended for You