Skip to main content

How to save an Opcode

Use the following end point to save an Opcode.

  • Save an Opcode:
  1. {{opcodeUUID}} - Unique token assigned to each opcode in myKaarma. Example: -f_LNFHYWiHQg4AbTH-b_qmDTO8CKwknvhCtpYFmbWGw
curl --location -g --request POST 'https://api.mykaarma.com/appointment/v2/department/{{dealerDepartmentUuid}}/opcode' \
--header 'Content-Type: text/plain' \
--data-raw '{
"opcode" : {
"laborOpCode" : "RBALANCEI",
"opCodeName" : "ROAD FORCE BALANCE AND ROTATE NO STAGGERED WHEELS",
"description" : "ROAD FORCE BALANCE AND ROTATE NO STAGGERED WHEELS",
"totalPrice" : "85.00",
"opCodeDurationInMinutes" : "30",
"isValid" : true,
"uuid" : {{opcodeUUID}},
"inMobileService" : false,
"inOnlineScheduler" : false,
"communicationCode" : null,
"payType" : null,
"inServiceCart" : true,
"inDealerAppScheduler" : false,
"dmsDescription" : "DATACLOVER APPOINTMENT",
"laborPrice" : "85.00",
"dmsLaborPrice" : null,
"partsPrice" : "0.0",
"dmsPartsPrice" : null,
"taxAmount" : null,
"dmsTaxAmount" : null,
"dmsTotalPrice" : null,
"sortOrder" : null,
"correction" : "DATACLOVER APPOINTMENT",
"cause" : null,
"soldHours" : 0.8,
"dispatchCode" : null,
"comebackFlag" : true,
"usagePercentile" : null,
"position" : 0,
"leadTimeInMinutes" : null,
"isIndexed" : false,
"isDefault" : false,
"notes" : null,
"serviceType" : null,
"recallId" : null,
"vehicleMileageConfigList" : null,
"dailyLimitConfigList" : null,
"pullEstimateInSC" : false,
"miscPrice" : null,
"useDmsPrice" : null,
"showDmsPriceMismatchWarning" : null
},
"errorOnDuplicate" : false,
"eventDealerAssociateUuid" : null
}'