Download full document:

service

Configuration for service resource.

Properties

(click to see Operations)

Name Data Type PermissionsDescription
name<String>Read-writeName for the service. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the service has been created.<br>Minimum length = 1
ip<String>Read-writeIP to assign to the service.<br>Minimum length = 1
servername<String>Read-writeName of the server that hosts the service.<br>Minimum length = 1
servicetype<String>Read-writeProtocol in which data is exchanged with the service.<br>Possible values = HTTP, FTP, TCP, UDP, SSL, SSL_BRIDGE, SSL_TCP, DTLS, NNTP, RPCSVR, DNS, ADNS, SNMP, RTSP, DHCPRA, ANY, SIP_UDP, SIP_TCP, SIP_SSL, DNS_TCP, ADNS_TCP, MYSQL, MSSQL, ORACLE, RADIUS, RADIUSListener, RDP, DIAMETER, SSL_DIAMETER, TFTP, SMPP, PPTP, GRE, SYSLOGTCP, SYSLOGUDP
port<Integer>Read-writePort number of the service.<br>Range 1 - 65535
cleartextport<Integer>Read-writePort to which clear text data must be sent after the appliance decrypts incoming SSL traffic. Applicable to transparent SSL services.<br>Minimum value = 1
cachetype<String>Read-writeCache type supported by the cache server.<br>Possible values = TRANSPARENT, REVERSE, FORWARD
maxclient<Double>Read-writeMaximum number of simultaneous open connections to the service.<br>Minimum value = 0<br>Maximum value = 4294967294
healthmonitor<String>Read-writeMonitor the health of this service. Available settings function as follows: YES - Send probes to check the health of the service. NO - Do not send probes to check the health of the service. With the NO option, the appliance shows the service as UP at all times.<br>Default value: YES<br>Possible values = YES, NO
maxreq<Double>Read-writeMaximum number of requests that can be sent on a persistent connection to the service. Note: Connection requests beyond this value are rejected.<br>Minimum value = 0<br>Maximum value = 65535
cacheable<String>Read-writeUse the transparent cache redirection virtual server to forward requests to the cache server. Note: Do not specify this parameter if you set the Cache Type parameter.<br>Default value: NO<br>Possible values = YES, NO
cip<String>Read-writeBefore forwarding a request to the service, insert an HTTP header with the clients IPv4 or IPv6 address as its value. Used if the server needs the clients IP address for security, accounting, or other purposes, and setting the Use Source IP parameter is not a viable option.<br>Possible values = ENABLED, DISABLED
cipheader<String>Read-writeName for the HTTP header whose value must be set to the IP address of the client. Used with the Client IP parameter. If you set the Client IP parameter, and you do not specify a name for the header, the appliance uses the header name specified for the global Client IP Header parameter (the cipHeader parameter in the set ns param CLI command or the Client IP Header parameter in the Configure HTTP Parameters dialog box at System ;gt; Settings ;gt; Change HTTP parameters). If the global Client IP Header parameter is not specified, the appliance inserts a header with the name "client-ip.".<br>Minimum length = 1
usip<String>Read-writeUse the clients IP address as the source IP address when initiating a connection to the server. When creating a service, if you do not set this parameter, the service inherits the global Use Source IP setting (available in the enable ns mode and disable ns mode CLI commands, or in the System ;gt; Settings ;gt; Configure modes ;gt; Configure Modes dialog box). However, you can override this setting after you create the service.<br>Possible values = YES, NO
pathmonitor<String>Read-writePath monitoring for clustering.<br>Possible values = YES, NO
pathmonitorindv<String>Read-writeIndividual Path monitoring decisions.<br>Possible values = YES, NO
useproxyport<String>Read-writeUse the proxy port as the source port when initiating connections with the server. With the NO setting, the client-side connection port is used as the source port for the server-side connection. Note: This parameter is available only when the Use Source IP (USIP) parameter is set to YES.<br>Possible values = YES, NO
sc<String>Read-writeState of SureConnect for the service.<br>Default value: OFF<br>Possible values = ON, OFF
sp<String>Read-writeEnable surge protection for the service.<br>Possible values = ON, OFF
rtspsessionidremap<String>Read-writeEnable RTSP session ID mapping for the service.<br>Default value: OFF<br>Possible values = ON, OFF
clttimeout<Double>Read-writeTime, in seconds, after which to terminate an idle client connection.<br>Minimum value = 0<br>Maximum value = 31536000
svrtimeout<Double>Read-writeTime, in seconds, after which to terminate an idle server connection.<br>Minimum value = 0<br>Maximum value = 31536000
customserverid<String>Read-writeUnique identifier for the service. Used when the persistency type for the virtual server is set to Custom Server ID.<br>Default value: "None"
serverid<Double>Read-writeThe identifier for the service. This is used when the persistency type is set to Custom Server ID.
cka<String>Read-writeEnable client keep-alive for the service.<br>Possible values = YES, NO
tcpb<String>Read-writeEnable TCP buffering for the service.<br>Possible values = YES, NO
cmp<String>Read-writeEnable compression for the service.<br>Possible values = YES, NO
maxbandwidth<Double>Read-writeMaximum bandwidth, in Kbps, allocated to the service.<br>Minimum value = 0<br>Maximum value = 4294967287
accessdown<String>Read-writeUse Layer 2 mode to bridge the packets sent to this service if it is marked as DOWN. If the service is DOWN, and this parameter is disabled, the packets are dropped.<br>Default value: NO<br>Possible values = YES, NO
monthreshold<Double>Read-writeMinimum sum of weights of the monitors that are bound to this service. Used to determine whether to mark a service as UP or DOWN.<br>Minimum value = 0<br>Maximum value = 65535
state<String>Read-writeInitial state of the service.<br>Default value: ENABLED<br>Possible values = ENABLED, DISABLED
downstateflush<String>Read-writeFlush all active transactions associated with a service whose state transitions from UP to DOWN. Do not enable this option for applications that must complete their transactions.<br>Default value: ENABLED<br>Possible values = ENABLED, DISABLED
tcpprofilename<String>Read-writeName of the TCP profile that contains TCP configuration settings for the service.<br>Minimum length = 1<br>Maximum length = 127
httpprofilename<String>Read-writeName of the HTTP profile that contains HTTP configuration settings for the service.<br>Minimum length = 1<br>Maximum length = 127
hashid<Double>Read-writeA numerical identifier that can be used by hash based load balancing methods. Must be unique for each service.<br>Minimum value = 1
comment<String>Read-writeAny information about the service.
appflowlog<String>Read-writeEnable logging of AppFlow information.<br>Default value: ENABLED<br>Possible values = ENABLED, DISABLED
netprofile<String>Read-writeNetwork profile to use for the service.<br>Minimum length = 1<br>Maximum length = 127
td<Double>Read-writeInteger value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.<br>Minimum value = 0<br>Maximum value = 4094
processlocal<String>Read-writeBy turning on this option packets destined to a service in a cluster will not under go any steering. Turn this option for single packet request response mode or when the upstream device is performing a proper RSS for connection based distribution.<br>Default value: DISABLED<br>Possible values = ENABLED, DISABLED
dnsprofilename<String>Read-writeName of the DNS profile to be associated with the service. DNS profile properties will applied to the transactions processed by a service. This parameter is valid only for ADNS and ADNS-TCP services.<br>Minimum length = 1<br>Maximum length = 127
ipaddress<String>Read-writeThe new IP address of the service.
weight<Double>Read-writeWeight to assign to the monitor-service binding. When a monitor is UP, the weight assigned to its binding with the service determines how much the monitor contributes toward keeping the health of the service above the value configured for the Monitor Threshold parameter.<br>Minimum value = 1<br>Maximum value = 100
monitor_name_svc<String>Read-writeName of the monitor bound to the specified service.<br>Minimum length = 1
riseapbrstatsmsgcode<Integer>Read-writeThe code indicating the rise apbr status.
delay<Double>Read-writeTime, in seconds, allocated to the NetScaler appliance for a graceful shutdown of the service. During this period, new requests are sent to the service only for clients who already have persistent sessions on the appliance. Requests from new clients are load balanced among other available services. After the delay time expires, no requests are sent to the service, and the service is marked as unavailable (OUT OF SERVICE).
graceful<String>Read-writeShut down gracefully, not accepting any new connections, and disabling the service when all of its connections are closed.<br>Default value: NO<br>Possible values = YES, NO
all<Boolean>Read-writeDisplay both user-configured and dynamically learned services.
Internal<Boolean>Read-writeDisplay only dynamically learned services.
newname<String>Read-writeNew name for the service. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters.<br>Minimum length = 1
numofconnections<Integer>Read-onlyThis will tell the number of client side connections are still open.
policyname<String>Read-onlyThe name of the policyname for which this service is bound.
serviceconftype<Boolean>Read-onlyThe configuration type of the service.
serviceconftype2<String>Read-onlyThe configuration type of the service (Internal/Dynamic/Configured).<br>Possible values = Configured, Dynamic, Internal
value<String>Read-onlySSL status.<br>Possible values = Certkey not bound, SSL feature disabled
gslb<String>Read-onlyThe GSLB option for the corresponding virtual server.<br>Possible values = REMOTE, LOCAL
dup_state<String>Read-onlyAdded this field for getting state value from table.<br>Possible values = ENABLED, DISABLED
publicip<String>Read-onlypublic ip.
publicport<Integer>Read-onlypublic port.<br>Minimum value = 1<br>Range 1 - 65535
svrstate<String>Read-onlyThe state of the service.<br>Possible values = UP, DOWN, UNKNOWN, BUSY, OUT OF SERVICE, GOING OUT OF SERVICE, DOWN WHEN GOING OUT OF SERVICE, NS_EMPTY_STR, Unknown, DISABLED
monitor_state<String>Read-onlyThe running state of the monitor on this service.<br>Possible values = UP, DOWN, UNKNOWN, BUSY, OUT OF SERVICE, GOING OUT OF SERVICE, DOWN WHEN GOING OUT OF SERVICE, NS_EMPTY_STR, Unknown, DISABLED
monstatcode<Integer>Read-onlyThe code indicating the monitor response.
lastresponse<String>Read-onlyThe string form of monstatcode.
responsetime<Double>Read-onlyResponse time of this monitor.
riseapbrstatsmsgcode2<Integer>Read-onlyThe code indicating other rise stats.
monstatparam1<Integer>Read-onlyFirst parameter for use with message code.
monstatparam2<Integer>Read-onlySecond parameter for use with message code.
monstatparam3<Integer>Read-onlyThird parameter for use with message code.
statechangetimesec<String>Read-onlyTime when last state change happened. Seconds part.
statechangetimemsec<Double>Read-onlyTime at which last state change happened. Milliseconds part.
tickssincelaststatechange<Double>Read-onlyTime in 10 millisecond ticks since the last state change.
stateupdatereason<Double>Read-onlyChecks state update reason on the secondary node.
clmonowner<Double>Read-onlyTells the mon owner of the service.<br>Minimum value = 0<br>Maximum value = 32
clmonview<Double>Read-onlyTells the view id of the monitoring owner.
serviceipstr<String>Read-onlyThis field has been intorduced to show the dbs services ip.
oracleserverversion<String>Read-onlyOracle server version.<br>Default value: 10G<br>Possible values = 10G, 11G
__count<Double>Read-onlycount parameter

Operations

(click to see Properties)

ADD | DELETE | UPDATE | UNSET | ENABLE | DISABLE | RENAME | GET (ALL) | GET | COUNT

Some options that you can use for each operations:

  • Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http://<netscaler-ip-address>/nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".

  • Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER:<username>

    X-NITRO-PASS:<password>

    Note: In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Note:

Mandatory parameters are marked in red and placeholder content is marked in <green>.

add

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>
},
"sessionid":"##sessionid",
"service":{
      "name":<String_value>,
      "ip":<String_value>,
      "servername":<String_value>,
      "servicetype":<String_value>,
      "port":<Integer_value>,
      "cleartextport":<Integer_value>,
      "cachetype":<String_value>,
      "maxclient":<Double_value>,
      "healthmonitor":<String_value>,
      "maxreq":<Double_value>,
      "cacheable":<String_value>,
      "cip":<String_value>,
      "cipheader":<String_value>,
      "usip":<String_value>,
      "pathmonitor":<String_value>,
      "pathmonitorindv":<String_value>,
      "useproxyport":<String_value>,
      "sc":<String_value>,
      "sp":<String_value>,
      "rtspsessionidremap":<String_value>,
      "clttimeout":<Double_value>,
      "svrtimeout":<Double_value>,
      "customserverid":<String_value>,
      "serverid":<Double_value>,
      "cka":<String_value>,
      "tcpb":<String_value>,
      "cmp":<String_value>,
      "maxbandwidth":<Double_value>,
      "accessdown":<String_value>,
      "monthreshold":<Double_value>,
      "state":<String_value>,
      "downstateflush":<String_value>,
      "tcpprofilename":<String_value>,
      "httpprofilename":<String_value>,
      "hashid":<Double_value>,
      "comment":<String_value>,
      "appflowlog":<String_value>,
      "netprofile":<String_value>,
      "td":<Double_value>,
      "processlocal":<String_value>,
      "dnsprofilename":<String_value>,
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

delete

URL: http://<NSIP>/nitro/v1/config/service/name_value<String>

Query-parameters:

warning

http://<NS_IP>/nitro/v1/config/service/name_value<String>?warning=yes

Use this query parameter to get warnings in nitro response. If this field is set to YES, warning message will be sent in 'message' field and 'WARNING' value is set in severity field of the response in case there is a

HTTP Method: DELETE

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

update

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: PUT

Request Payload:

{
"params": {
      "warning":<String_value>,
      "onerror":<String_value>"
},
sessionid":"##sessionid",
"service":{
      "name":<String_value>,
      "ipaddress":<String_value>,
      "maxclient":<Double_value>,
      "maxreq":<Double_value>,
      "cacheable":<String_value>,
      "cip":<String_value>,
                  "cipheader":<String_value>,
      "usip":<String_value>,
      "pathmonitor":<String_value>,
      "pathmonitorindv":<String_value>,
      "useproxyport":<String_value>,
      "sc":<String_value>,
      "sp":<String_value>,
      "rtspsessionidremap":<String_value>,
      "healthmonitor":<String_value>,
      "clttimeout":<Double_value>,
      "svrtimeout":<Double_value>,
      "customserverid":<String_value>,
      "serverid":<Double_value>,
      "cka":<String_value>,
      "tcpb":<String_value>,
      "cmp":<String_value>,
      "maxbandwidth":<Double_value>,
      "accessdown":<String_value>,
      "monthreshold":<Double_value>,
      "weight":<Double_value>,
                  "monitor_name_svc":<String_value>,
      "downstateflush":<String_value>,
      "tcpprofilename":<String_value>,
      "httpprofilename":<String_value>,
      "hashid":<Double_value>,
      "comment":<String_value>,
      "appflowlog":<String_value>,
      "netprofile":<String_value>,
      "processlocal":<String_value>,
      "dnsprofilename":<String_value>,
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

unset

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>,
      "action":"unset"
},
"sessionid":"##sessionid",
"service":{
      "name":<String_value>,
      "maxclient":true,
      "maxreq":true,
      "cacheable":true,
      "cip":true,
      "usip":true,
      "pathmonitor":true,
      "pathmonitorindv":true,
      "useproxyport":true,
      "sc":true,
      "sp":true,
      "rtspsessionidremap":true,
      "customserverid":true,
      "serverid":true,
      "cka":true,
      "tcpb":true,
      "cmp":true,
      "maxbandwidth":true,
      "accessdown":true,
      "monthreshold":true,
      "clttimeout":true,
      "riseapbrstatsmsgcode":true,
      "svrtimeout":true,
      "tcpprofilename":true,
      "httpprofilename":true,
      "hashid":true,
      "appflowlog":true,
      "netprofile":true,
      "processlocal":true,
      "dnsprofilename":true,
      "cipheader":true,
      "healthmonitor":true,
      "downstateflush":true,
      "comment":true,
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

enable

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>,
      "action":"enable"
},
"sessionid":"##sessionid",
"service":{
      "name":<String_value>,
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

disable

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>,
      "action":"disable"
},
"sessionid":"##sessionid",
"service":{
      "name":<String_value>,
      "delay":<Double_value>,
      "graceful":<String_value>,
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

rename

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>,
      "action":"rename"
},
"sessionid":"##sessionid",
"service":{
      "name":<String_value>,
      "newname":<String_value>,
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

get (all)

URL: http://<NSIP>/nitro/v1/config/service

Query-parameters:

args

http://<NSIP>/nitro/v1/config/service?args= "name":<String_value>, "all":<Boolean_value>, "Internal":<Boolean_value>,

Use this query-parameter to get service resources based on additional properties.

filter

http://<NSIP>/nitro/v1/config/service?filter=property-name1:property-val1,property-name2:property-val2

Use this query-parameter to get the filtered set of service resources configured on NetScaler.Filtering can be done on any of the properties of the resource.

view

http://<NS_IP>/nitro/v1/config/service?view=summary

Use this query-parameter to get the summary output of service resources configured on NetScaler.

pagesize=#no;pageno=#no

http://<NS_IP>/nitro/v1/config/service?pagesize=#no;pageno=#no

Use this query-parameter to get the service resources in chunks.

warning

http://<NS_IP>/nitro/v1/config/service?warning=yes

Use this query parameter to get warnings in nitro response. If this field is set to YES, warning message will be sent in 'message' field and 'WARNING' value is set in severity field of the response in case there is a

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "service": [ {
      "name":<String_value>,
      "all":<Boolean_value>,
      "Internal":<Boolean_value>,
      "numofconnections":<Integer_value>,
      "servername":<String_value>,
      "policyname":<String_value>,
      "servicetype":<String_value>,
      "serviceconftpye":<Boolean_value>,
      "serviceconftype":<Boolean_value>,
      "serviceconftype2":<String_value>,
      "port":<Integer_value>,
      "value":<String_value>,
      "cleartextport":<Integer_value>,
      "gslb":<String_value>,
      "cachetype":<String_value>,
      "maxclient":<Double_value>,
      "maxreq":<Double_value>,
      "cacheable":<String_value>,
      "cip":<String_value>,
      "cipheader":<String_value>,
      "usip":<String_value>,
      "pathmonitor":<String_value>,
      "pathmonitorindv":<String_value>,
      "useproxyport":<String_value>,
      "sc":<String_value>,
      "dup_state":<String_value>,
      "sp":<String_value>,
      "rtspsessionidremap":<String_value>,
      "clttimeout":<Double_value>,
      "svrtimeout":<Double_value>,
      "publicip":<String_value>,
      "publicport":<Integer_value>,
      "customserverid":<String_value>,
      "serverid":<Double_value>,
      "cka":<String_value>,
      "tcpb":<String_value>,
      "processlocal":<String_value>,
      "cmp":<String_value>,
      "maxbandwidth":<Double_value>,
      "accessdown":<String_value>,
      "svrstate":<String_value>,
      "delay":<Double_value>,
      "ipaddress":<String_value>,
      "monthreshold":<Double_value>,
      "monitor_state":<String_value>,
      "monstatcode":<Integer_value>,
      "lastresponse":<String_value>,
      "responsetime":<Double_value>,
      "riseapbrstatsmsgcode":<Integer_value>,
      "riseapbrstatsmsgcode2":<Integer_value>,
      "monstatparam1":<Integer_value>,
      "monstatparam2":<Integer_value>,
      "monstatparam3":<Integer_value>,
      "downstateflush":<String_value>,
      "statechangetimesec":<String_value>,
      "statechangetimemsec":<Double_value>,
      "timesincelaststatechange":<Double_value>,
      "tickssincelaststatechange":<Double_value>,
      "stateupdatereason":<Double_value>,
      "clmonowner":<Double_value>,
      "clmonview":<Double_value>,
      "tcpprofilename":<String_value>,
      "httpprofilename":<String_value>,
      "hashid":<Double_value>,
      "graceful":<String_value>,
      "comment":<String_value>,
      "healthmonitor":<String_value>,
      "appflowlog":<String_value>,
      "netprofile":<String_value>,
      "serviceipstr":<String_value>,
      "weight":<Double_value>,
      "td":<Double_value>,
      "oracleserverversion":<String_value>,
      "dnsprofilename":<String_value>

}]}

get

URL: http://<NS_IP>/nitro/v1/config/service/name_value<String>

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done", "service": [ {
      "name":<String_value>,
      "all":<Boolean_value>,
      "Internal":<Boolean_value>,
      "numofconnections":<Integer_value>,
      "servername":<String_value>,
      "policyname":<String_value>,
      "servicetype":<String_value>,
      "serviceconftpye":<Boolean_value>,
      "serviceconftype":<Boolean_value>,
      "serviceconftype2":<String_value>,
      "port":<Integer_value>,
      "value":<String_value>,
      "cleartextport":<Integer_value>,
      "gslb":<String_value>,
      "cachetype":<String_value>,
      "maxclient":<Double_value>,
      "maxreq":<Double_value>,
      "cacheable":<String_value>,
      "cip":<String_value>,
      "cipheader":<String_value>,
      "usip":<String_value>,
      "pathmonitor":<String_value>,
      "pathmonitorindv":<String_value>,
      "useproxyport":<String_value>,
      "sc":<String_value>,
      "dup_state":<String_value>,
      "sp":<String_value>,
      "rtspsessionidremap":<String_value>,
      "clttimeout":<Double_value>,
      "svrtimeout":<Double_value>,
      "publicip":<String_value>,
      "publicport":<Integer_value>,
      "customserverid":<String_value>,
      "serverid":<Double_value>,
      "cka":<String_value>,
      "tcpb":<String_value>,
      "processlocal":<String_value>,
      "cmp":<String_value>,
      "maxbandwidth":<Double_value>,
      "accessdown":<String_value>,
      "svrstate":<String_value>,
      "delay":<Double_value>,
      "ipaddress":<String_value>,
      "monthreshold":<Double_value>,
      "monitor_state":<String_value>,
      "monstatcode":<Integer_value>,
      "lastresponse":<String_value>,
      "responsetime":<Double_value>,
      "riseapbrstatsmsgcode":<Integer_value>,
      "riseapbrstatsmsgcode2":<Integer_value>,
      "monstatparam1":<Integer_value>,
      "monstatparam2":<Integer_value>,
      "monstatparam3":<Integer_value>,
      "downstateflush":<String_value>,
      "statechangetimesec":<String_value>,
      "statechangetimemsec":<Double_value>,
      "timesincelaststatechange":<Double_value>,
      "tickssincelaststatechange":<Double_value>,
      "stateupdatereason":<Double_value>,
      "clmonowner":<Double_value>,
      "clmonview":<Double_value>,
      "tcpprofilename":<String_value>,
      "httpprofilename":<String_value>,
      "hashid":<Double_value>,
      "graceful":<String_value>,
      "comment":<String_value>,
      "healthmonitor":<String_value>,
      "appflowlog":<String_value>,
      "netprofile":<String_value>,
      "serviceipstr":<String_value>,
      "weight":<Double_value>,
      "td":<Double_value>,
      "oracleserverversion":<String_value>,
      "dnsprofilename":<String_value>

}]}

count

URL: http://<NS_IP>/nitro/v1/config/service?count=yes

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done",service: [ { "__count": "#no"} ] }