NEW API Management Portal

October 25,2021

Karmak has a new and improved APIM Portal with easier to use authentication and real time documentation to reduce errors.

All new APIs will be published within APIM.

If you are new to Unity and Karmak APIs, please head to portal.karmak.io to learn more.


The PUT method will be used to update a single repair type to active

PUT Method

https://api.karmak.io/api/unity/{version}/unityapi/RepairType/UpdateRepairType


The Activate Repair Type API supports a single request/response method, and therefore only one Repair Type flag can be set/updated at a time. To update multiple Repair Types, multiple calls are required.

JSON API Map Description Data Type Required
“RepairGroup” The Repair Group of the Repair Type to be updated and must be a valid Fusion Repair Group. string Y
“RepairType” The Repair Type to be updated - must be within the above Repair Group and must be a valid Fusion Repait Type string Y
“Active” Used to set the Repair Type to Active or Inactive in Fusion.
* Set to TRUE to set the Repair Type to Active in Fusion
* Set to FALSE to set the Repair Type to Inactive in Fusion
boolean Y


Sample PUT Request

{
	"RepairGroup" : "006",
	"RepairType" : "000",
	"Active" : "false"
}

Response Code (200 OK)

{
	"RepairGroup" : "006"
	"RepairType" : "000"
	"Status" : "Success"
	"Message" : ""
}