Get Assignment groups

  • This API will search assignment groups from “assignmentgrouphub” collection.
  • To get the assignment group information, call the below mentioned API.

**Endpoint:** http://{API_URL}/external/api/search

**Method:** “POST”

**Request Body:** {

"query": "Check the status of a given service on windows server Assignation 248 RMM",

"collection":"assignmentgrouphub",

"count":2

}

** ** **Response:** { {

"similarDocs": [

{

"_id": "ITSM-1",

"content": "{\"AssignmentGroupID\":\"12\",\"AssignmentGroupName\":\"MyGroup 1\"}",

"similarityScore": 0.48858268588634424

},

{

"_id": "ITSM-2",

"content": "{\"AssignmentGroupID\": \"23\", \"AssignmentGroupName\": \"MyGroup 2\"}",

"similarityScore": 0.7783320293238606

}

]

}