Developer Q&A
Getting an error for WoScheduleRoutine Command
Here's my query:
<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:LockOnDataRetrieval>Default</m:LockOnDataRetrieval>
</m:CorrigoNetOptions>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<m:Execute xmlns:m="http://corrigo.com/integration/">
<m:commandRequest xsi:type="m:WoScheduleRoutine">
<m:WorkOrder>
38009
<m:Number>286-6453</m:Number>
<m:TypeCategory>Basic</m:TypeCategory>
<m:Priority>
<m:Id>3</m:Id>
</m:Priority>
</m:WorkOrder>
<m:Options>
<m:SkipWarranty>true</m:SkipWarranty>
<m:SkipScheduling>true</m:SkipScheduling>
<m:SkipFinancial>true</m:SkipFinancial>
<m:SkipPTE>true</m:SkipPTE>
<m:SkipDueDate>false</m:SkipDueDate>
<m:SkipOnSiteBy>false</m:SkipOnSiteBy>
<m:SkipAcknowledgeBy>false</m:SkipAcknowledgeBy>
</m:Options>
</m:commandRequest>
</m:Execute>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I later added (right after </m:Options> line) but got the same error/result.
<m:OutputPropertySet xsi:type="m:PropertySet">
<m:Properties>
<m:string>*</m:string>
</m:Properties>
</m:OutputPropertySet>
HTTP error: Server 'am-ce93b.corrigo.com' detected a syntax error in the request.
Error sending the soap data to 'http://am-ce93b.corrigo.com/wsdk/CorrigoService.asmx'