Not able to create Work Order task using Rest API
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 03:39 AM
I have created the Work Order in my PDI using Rest API, while trying to create tasks in my workorder, using below request, I am getting error. It shows "Parent is mandatory" though I have parent tag in the request.
Request:
{
"parent": {
"value": "15b5254d93f20210675e3d5efaba10c0",
"number": "WO0010015"
},
"short_description": "wm task insert test",
"work_type": "Leak Repair"
}
Response:
{
"error": {
"message": "Operation Failed",
"detail": "Data Policy Exception: \n\tThe following fields are mandatory: Parent"
},
"status": "failure"
0 REPLIES 0