Developer Q&A

Ask a Question
Back to All

Error on Priority (ComupteSchedule=true)

Error received: Priority 'Emergency (1 hr ETA)' is escalated; assignment is required

Payload:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<m:CorrigoNetOptions xmlns:m="http://corrigo.com/integration/">
<m:ImposeConcurrencyId>false</m:ImposeConcurrencyId>
<m:UpdateLastModified>true</m:UpdateLastModified>
<m:CanDeleteMissingEntity>true</m:CanDeleteMissingEntity>
</m:CorrigoNetOptions>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<m:Execute xmlns:m="http://corrigo.com/integration/">
<m:commandRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="m:WoCreateCommand">

<m:WorkOrder>
<m:TypeCategory>Basic</m:TypeCategory>
<m:SubType>
<m:Id>1</m:Id>
</m:SubType>
<m:WorkZone>
<m:Id>2</m:Id>
</m:WorkZone>
<m:Contact>
<m:Id>2</m:Id>
</m:Contact>
<m:Priority>
<m:Id>3</m:Id>
</m:Priority>
<m:TimeZone>0</m:TimeZone>
<m:Items>
<m:WoItem>
<m:Asset>
<m:Id>6107</m:Id>
</m:Asset>
<m:Task>
<m:Id>22080</m:Id>
</m:Task>
<m:Comment>This is a Test AC WO </m:Comment>
</m:WoItem>
</m:Items>
</m:WorkOrder>

<m:ComputeSchedule>true</m:ComputeSchedule>

<m:ComputeAssignment>true</m:ComputeAssignment>
</m:commandRequest>
</m:Execute>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>