Discussions

Ask a Question
Back to all

Cerate Work order - Contact Id

Hello,

I am trying to create a Work order with Corrigo API. Where can I assign a Contact Id so that user would see his work orders in a Customer Portal?
here is Json I am using:

{
"WorkOrder": {

"Items": [
  {
    "Asset": {
      "Id": 212172
    },
    "Task": {
      "Id": 15239
    },
    "Comment": "Here is my comment1"
  }
],
"ContactName": "Nadia",
"ContactAddress": {
  "AddrTypeId": "Contact",
  "Address": "2155556677"
},
"TypeCategory": 4,
"SubType": {
  "Id": 259
},
"Customer": {
  "Id": 3836
},
"Documents": [

]

},
"ComputeSchedule": true,
"ComputeAssignment": true
}