Discussions

Ask a Question
Back to All

Location Mismatch with Corrigo API and Tickets redirecting it wrong location

Hi Team,

Please can you help us with the following code where I want to know which fields the data is rolled out.

Please can you confirm, what is the ID of the bold code below.

<soap:Body>
<int:Execute>
<int:commandRequest xsi:type="int:WoCreateCommand" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<int:WorkOrder>
<int:TypeCategory>Request</int:TypeCategory>
<int:SubType>
<int:Id>259</int:Id>//Please can you confirm is this the location ID
</int:SubType>
<--Customer.Id from Step 3>
<int:Customer>
** <int:Id>27</int:Id>
</int:Customer>
<int:ContactName>Store Manager</int:ContactName>
<int:ContactAddress>
<int:AddrTypeId>Contact</int:AddrTypeId>
<int:Address>214-555-5555</int:Address>
</int:ContactAddress>
<int:Items>
<int:WoItem>
<--Asset.Id from Step 4 or 5>

                 <int:Asset>
                    <int:Id>4182</int:Id>
                 </int:Asset>

<--Task.Id from Step 6>

                 <int:Task>
                    <int:Id>14819</int:Id>
                 </int:Task>
                 <int:Comment>This is a WO description demo</int:Comment>
              </int:WoItem>
           </int:Items>
           <int:CustomFields>
           <int:CustomField2>                  
              <int:Descriptor>
              <int:Id>1</int:Id>           
              </int:Descriptor>
              <int:ObjectTypeId>WO</int:ObjectTypeId>
              <int:Value>123456</int:Value>
           </int:CustomField2>          
        
           </int:CustomFields>
       
        </int:WorkOrder>
<int:ComputeSchedule>true</int:ComputeSchedule>
        <int:ComputeAssignment>true</int:ComputeAssignment>
 
     </int:commandRequest>
  </int:Execute>

</soap:Body>
</soap:Envelope>