Developer Q&A

Ask a Question
Back to All

Connecting to Incidents table

Hi Baisong,

I want to connect to an 'Incidents' table - if it exists via the API, please.

I have my basic query setup below, what's the entity name where Incidents lies?

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:int="http://corrigo.com/integration/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Header>
<int:CorrigoNetOptions>
<int:ImposeConcurrencyId>false</int:ImposeConcurrencyId>
<int:UpdateLastModified>false</int:UpdateLastModified>
<int:CanDeleteMissingEntity>false</int:CanDeleteMissingEntity>
<int:LockOnDataRetrieval>Default</int:LockOnDataRetrieval>
</int:CorrigoNetOptions>
</soap:Header>

<soap:Body>
<int:RetrieveMultiple>
<int:queryExpression xsi:type="int:QueryExpression" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><int:EntityType>[INCIDENTS?]</int:EntityType>

<int:PropertySet xsi:type="int:PropertySet">
<int:Properties>
<int:string>*</int:string>
</int:Properties>
</int:PropertySet>

<int:Count>50</int:Count>
<int:FirstResultIndex>0</int:FirstResultIndex>

<int:Distinct>true</int:Distinct>
</int:queryExpression>
</int:RetrieveMultiple>
</soap:Body>
</soap:Envelope>