Promote to client

Active Off

Parameter

Description

Example

More info

API

The API area

clients.json

Action

The action to perform

action=promote

Parameters described in overview

user=user&password=user&version=3.3

v3.3 Overview

Client

Client to promote

client=1/AMT2A

Response

Returned data

A JSON string containing the data

Example request:
Request for data (list of records using specified model)

http://<SERVER>/jsonapi/clients.json?user=user&password=user&action=promote&client=1/AMT2A&version=3.3

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Client active flag changed. ",
  "warningmessage": "",
  "success": true
}