Skip to main content

Get SmartBuddy By Name

Overview

Getting SmartBuddy by providing the Name of the Buddy.

URL: /api/smartbuddy/byName?name=?

Method: GET

Request Header:

{ "accept": "'*/*'", "Authorization": Bearer ACCESS_TOKEN }

Query Parameter:

  • name=ib-41_buddy
http://<Control Room server>/api/smartbuddy/byName?name=ib-41_buddy

Response:

  • Status: 200 OK

  • Body:

       {
    "userName": "DemoUser1",
    "stationName": "ib-41",
    "jobCount": "",
    "stationStatus": "Connected",
    "permission": "Owner",
    "buddyId": 3,
    "tenantId": 1,
    "userId": 2,
    "stationId": 3,
    "name": "ib-41_buddy",
    "domainUser": "IntelliBuddies\\demouser1",
    "domainPwd": "F2yrpqEz9AhyANJFDDK1HBfNSaf+3OC8",
    "description": "null",
    "isEnabled": true,
    "status": "Available",
    "created": "2024-05-22T05:07:21.728771",
    "modified": "2024-06-27T11:36:37.510337",
    "createdBy": "2#demouser1 1",
    "modifiedBy": "2#demouser1 1"
    }
  • Header:

       {
    content-length: 462
    content-security-policy: default-src 'self' fonts.googleapis.com fonts.gstatic.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' fonts.googleapis.com fonts.gstatic.com cdn.form.io blob:;style-src 'self' 'unsafe-inline' fonts.googleapis.com fonts.gstatic.com;img-src 'self' fonts.googleapis.com fonts.gstatic.com data:;font-src 'self' fonts.googleapis.com fonts.gstatic.com
    content-type: application/json; charset=utf-8
    date: Wed,10 Jul 2024 11:52:31 GMT
    referrer-policy: no-referrer
    x-content-type-options: nosniff
    x-xss-protection: 1; mode=block
    }