Developer Q&A

Ask a Question
Back to All

Misleading error message on WorkZoneCreateCommand

Trying to use WorkZoneCreateCommand, but stuck on error below. What's confusing is that the payload DOES have these elements defined but the error persists. I'm guessing the real error is something else. Anybody?

Here is snippet from the Request XML
<int:commandRequest xsi:type="int:WorkZoneCreateCommand" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<int:WorkZone>
<int:DisplayAs>410b - Enclave Old Tappan COAH</int:DisplayAs>
<int:Asset>
<int:Name>410b - Enclave Old Tappan COAH</int:Name>
<int:ModelId>1237</int:ModelId>
<int:TypeId>Community</int:TypeId>
<int:Orphan>false</int:Orphan>
<int:Address>
<int:AddrTypeId>Community</int:AddrTypeId>
<int:Street>4090-A Lafayette Center Drive</int:Street>
<int:City>Chantilly</int:City>
<int:State>VA</int:State>
<int:Zip>20151</int:Zip>
</int:Address>
</int:Asset>
....
</int:WorkZoneCreateCommand>

Here is response:

1
Model is a required field.|AssetTypeLookup is a required field.|Name is a required field.
Corrigo.Core.CorrigoBrokenRulesException