Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

create work definition for a work order using rest api

Dear All,

I am trying to create a work definition for a work order using the REST API, but when I use this JSON request body:

{
"AssetNumber":"test",
"WorkOrderTypeCode":"CORRECTIVE",
"OrganizationCode":"testoc",
"WorkOrderSubTypeCode":"ORA_EMERGENCY",
"WorkOrderPriority":1,
"Status":"PENDING",
"WorkOrderOperation":[
{
"OperationName":"test",

"WorkCenterCode":"test",
"CountPointOperationFlag":"Y",
"OperationType":"IN_HOUSE",
"OperationSequenceNumber":10
}
]
}

This request is creating an operation:

But I need to create the work definition at the level of the work definition in the general information tab.

Is there a method to achieve that using rest api?

Thank you in advance,

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!