Developer Q&A
Unable to create task.
Hi Team,
I am trying to create work order under other asset in Recurring.
Using the following payload:
{"metadata":{"version":"1.0"},"content":[{"elementType":"toolbar","id":null,"left":[{"elementType":"toolbarButton","title":"Home","accessoryIconPosition":"left","accessoryIcon":"previous","actionType":null,"link":{"relativePath":""}}],"middle":[{"elementType":"toolbarLabel","label":"My Requests"}],"right":[{"elementType":"toolbarButton","title":"New Request","accessoryIconPosition":"right","accessoryIcon":"plus","actionType":null,"link":{"relativePath":""}}]},{"elementType":"heading","title":"Open Maintenance Requests","id":null,"description":null,"inset":false},{"elementType":"heading","title":"Location: Westmont","id":null,"description":null,"inset":false},{"elementType":"list","id":null,"grouped":true,"showTopBorder":false,"showBottomBorder":false,"heading":null,"items":[{"label":"Submitted:14 May 2019
WO#: 1393","title":"Small Projects - Facilities (Electrical/Interior)","description":"Status:Completed","link":{"relativePath":"./requestStatus?CreatedDateUtc=14%20May%202019&WorkOrderType=Small%20Projects%20-%20Facilities&StatusId=Completed&WorkOrderId=1393&TaskRefinement=Small%20Projects%20-%20Facilities:Facilities%20Projects:Renovation%20+%20Move%20to%20new%20office&Description=Facilities%20Projects&ShortLocation=Des%20Moines-801%20Grand%20Ave-General&ContactAddresses=&FullName=","accessoryIcon":"next","external":null},"thumbnail":{"url":"https://jll-ds-modo.neocities.org/corrigorequests/MaintenanceRequest.png","maxWidth":100,"maxHeight":80,"crop":true,"alt":"Hot/Cold Request"}}]},{"elementType":"list","id":null,"grouped":true,"showTopBorder":false,"showBottomBorder":false,"heading":null,"items":[{"label":"Submitted:02 Jul 2019
WO#: 1837","title":"Office Supplies (Electrical/Interior)","description":"Status:Completed","link":{"relativePath":"./requestStatus?CreatedDateUtc=02%20Jul%202019&WorkOrderType=Office%20Supplies&StatusId=Completed&WorkOrderId=1837&TaskRefinement=Office%20Supplies:Order/Restock:Order%20new%20supplies%20for%20office%20move&Description=Order/Restock&ShortLocation=Des%20Moines-801%20Grand%20Ave-General&ContactAddresses=&FullName=","accessoryIcon":"next","external":null},"thumbnail":{"url":"https://jll-ds-modo.neocities.org/corrigorequests/MaintenanceRequest.png","maxWidth":100,"maxHeight":80,"crop":true,"alt":"Hot/Cold Request"}}]},{"elementType":"list","id":null,"grouped":true,"showTopBorder":false,"showBottomBorder":false,"heading":null,"items":[{"label":"Submitted:02 Jul 2019
WO#: 1841","title":"Mail Room (Electrical/Interior)","description":"Status:Completed","link":{"relativePath":"./requestStatus?CreatedDateUtc=02%20Jul%202019&WorkOrderType=Mail%20Room&StatusId=Completed&WorkOrderId=1841&TaskRefinement=Mail%20Room:Pick%20Up/Drop%20Off%20Letter/Package:Change%20of%20address%20request%20at%20USPS%20for%20office%20move&Description=Pick%20Up/Drop%20Off%20Letter/Package&ShortLocation=Des%20Moines-801%20Grand%20Ave-General&ContactAddresses=&FullName=","accessoryIcon":"next","external":null},"thumbnail":{"url":"https://jll-ds-modo.neocities.org/corrigorequests/MaintenanceRequest.png","maxWidth":100,"maxHeight":80,"crop":true,"alt":"Hot/Cold Request"}}]},{"elementType":"list","id":null,"grouped":true,"showTopBorder":false,"showBottomBorder":false,"heading":null,"items":[{"label":"Submitted:02 Jul 2019
WO#: 1948","title":"Signage Interior (Electrical/Interior)","description":"Status:Completed","link":{"relativePath":"./requestStatus?CreatedDateUtc=02%20Jul%202019&WorkOrderType=Signage%20Interior&StatusId=Completed&WorkOrderId=1948&TaskRefinement=Signage%20Interior:Specialty%20Signage:labor%20law%20poster%20renewal&Description=Specialty%20Signage&ShortLocation=Des%20Moines-801%20Grand%20Ave-General&ContactAddresses=&FullName=","accessoryIcon":"next","external":null},"thumbnail":{"url":"https://jll-ds-modo.neocities.org/corrigorequests/MaintenanceRequest.png","maxWidth":100,"maxHeight":80,"crop":true,"alt":"Hot/Cold Request"}}]}]}
Getting this error:
0
No row with the given identifier exists[Corrigo.BO.KnowledgeBase.KbTask#10015]
NHibernate.ObjectNotFoundException