Options

REST aXAPI service group member

Hello,

I am trying to enable/disable a service group member using the aXAPI REST interface. I have managed to get the connected and read the state using REST/JSON.

I can read the state using REST/JSON witht he method
/services/rest/V2/?session_id=XXXXXXXXXXXXXXXX&method=slb.service_group.search&name=YYYYYYYYYYYYY&format=json

But when I try to change the status to 0 (disabled) the status does not change, even though I get 200 response code with OK . I use the following command

/services/rest/V2/?session_id=XXXXXXXXXXXXXXXXX&method=slb.service_group.member.update&format=json

When I read the service group information again the status value has not changed. This seems simple enough, but why is the status not changing for the service group member?

Is there another way to do this? To enable/disable a service group memeber?

Stefanos

Comments

Sign In or Register to comment.