Tune the Number of Available Views - ABO

Back Office Integration Guide

Product
ABO
AFS_Version
7.9
Category
Reference Guide
language
English

This API allows to change the number of available views for a service instance (defaults to 10). For more information, see AFS Back Office User Guide.

A "Tune the Number of Available Views" API request takes the following form:

curl -H Expect: -H "Content-Type:application/json" --request PUT --data "{\"afs:t\":\"bows.admin.service.instance.settings\",\"maxNumberOfViews\":$NUMBER_OF_VIEWS,\"x:partial\":true}"
"http://$HOST/bo-ws/service/$SERVICE_ID/instance/$SERVICE_STATUS/settings?afs:login=login://$USER:$PASSWORD@$AUTHENTICATION_AUTHORITY"

The list of parameters and their possible values are enumerated below.

  • $NUMBER_OF_VIEWS is the desired number of available views.
  • $HOST is the server hosting the Back Office.
  • $SERVICE_ID is the number of the desired service.
  • $SERVICE_STATUS is the status of the desired service.

Method: PUT.

API usage example:

  • $HOST: 10.61.8.175

curl -H Expect: -H "Content-Type:application/json" --request PUT --data "{\"afs:t\":\"bows.admin.service.instance.settings\",\"maxNumberOfViews\":42,\"x:partial\":true}"
"http://10.61.8.175/bo-ws/service/1/instance/stable/settings?afs:login=login://$USER:$PASSWORD@$AUTHENTICATION_AUTHORITY"

API responses are returned in the format indicated by the "Accept" header.