We use a series of XML Postdata requests to each of our webservers to check the performance of each server out side of the load balancer.
The postdata is doing a search for availability to a date set within the XML string. Is it possible to set this so that it will always use a date 3 months in advance - rather than us having to specify the data and manually update each sensor (Over 100 sensors) when the date has been passed.
I have pasted in an example of the XML we use - the part I am interested in automating is %3CArrivalDate%3E2018-01-10%3C%2FArrivalDate%
Data=%3CSearchRequest%3E%3CLoginDetails%3E%3CLogin%3E*******%3C%2FLogin%3E%3CPassword%3E******%3C%2FPassword%3E%3C%2FLoginDetails%3E%3CSearchDetails%3E%3CRegionID%3E279%3C%2FRegionID%3E%3CArrivalDate%3E2018-01-10%3C%2FArrivalDate%3E%3CDuration%3E1%3C%2FDuration%3E%3CRoomRequests%3E%3CRoomRequest%3E%3CAdults%3E2%3C%2FAdults%3E%3C%2FRoomRequest%3E%3C%2FRoomRequests%3E%3C%2FSearchDetails%3E%3C%2FSearchRequest%3E
Add comment