Discussions
Does Corrigo API have another way to execute /query endpoint with pagination, with FirstResultIndex on query string parameter?
Something like this <https://am-ce99a.corrigo.com/api/v1/query/Space?FirstResultIndex=2000>
Where the Body contains a typical QueryExpression like below
{"QueryExpression":{"Criteria": {"Conditions":\[],"FilterOperator": "And"},"Distinct": true,"Count": 4000,"PropertySet":{"Properties":["*","Asset.*","Asset.Address.*","Asset.Attributes.*"]}}}
Asking because Azure Data Factory does not support dynamic pagination in the body and only as parameters in the URL
Posted by David Baldi 10 months ago
Corrigo contact import - Questions
Hi,
I pulled a sample file from corrigo UI for importing contacts in bulk, wanted to know how can I import the contact file through Corrigo api's? or where should I place the file once I have it ready through an automated process so it can be quickly ingested into corrigo?
Posted by Monika Gupta 11 months ago
Issue with hitting GetContact api
Hi, I'm facing an issue with hitting the api to get contacts
I used the below auth endpoint to generate the token and it ran fine.
<https://oauth-pro-v2.corrigo.com/OAuth/token>
On using the same token, when I hit the api call to GetContact, I’m getting this error
Endpoint - <https://am-ce99c.corrigo.com/api/v1/base/Contact/500>
Or <https://am-ce910c.corrigo.com/api/v1/base/Contact/500>
In the headers , I used the company name as below :
CompanyName : Stage JLL Blackstone
Error –
{
"ErrorMessage": "Company database isn't accessible",
"ErrorCode": "DATABASE_VERSION_MISMATCH",
"TimeStamp": "2023-06-22T11:09:57.9626441Z"
}
Can you please assist with this?
Posted by Monika Gupta 11 months ago
Default Site for Contacts through API
Does anyone know the method/docu for setting a contact's default site via API? Nothing regarding that in the site documentation, but has to be possible... right?
Posted by Carter M. 11 months ago
Error Numbers? Where to find Number Meaning?
Looking at the documentation regarding error code numbers, the documentation mentions the following:
Error Code template, where {Number} is ErrorNumber (Corrigo.Core.Resources.ErrorCodes) returned from CorrigoService
Where is the "Corrigo.Core.Resources.ErrorCodes"?
I checked this site: <https://securecontent.corrigo.com/docs/HelpCE98/html/4fbd8533-0aec-79e9-cee1-2a6eb8a752d4.htm> but could not find anything regarding ErrorCodes.
Posted by Jason May 12 months ago
examples in GET (Retrieve) section are wrong
examples in GET (Retrieve) section of documentation are wrong. see here <https://developer.corrigo.com/reference/get>
Posted by david shi 12 months ago
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>
Posted by Mohammed Tanveer Ahmed 12 months ago
Error retrieving hostname for staging site: Company database isn't accessible (DATABASE_VERSION_MISMATCH)
Hello,
I am currently trying to use the Corrigo Enterprise API to retrieve the hostname for our company's staging site, but I am running into an error. When I send a `GetCompanyWsdkUrlCommand` request to `https://am-apilocator.corrigo.com/api/v1/cmd/` with the appropriate authentication and company name headers, I receive the following error message:
```Text JSON
{
"ErrorMessage": "Company database isn't accessible",
"ErrorCode": "DATABASE_VERSION_MISMATCH",
"TimeStamp": "2023-04-25T23:39:08.3826601Z"
}
```
I was able to successfully retrieve the hostname for our production site using the same method, so I'm not sure why the staging site is giving me this error.
Could you please help me understand what might be causing this issue and how I can resolve it? Is there any additional information I can provide to assist with troubleshooting?
Thank you for your assistance.
Best regards,
NWFEM
Posted by NW Facilities & Equipment Maintenance about 1 year ago
Entity Relationship Diagram (ERD)
Hi. Is there an ERD available for the Corrigo API?
Typically, it would include more details such as table relationships (one-to-one, one-to-many, etc.), primary/foreign keys for referential integrity, data types and more laid out in a visual diagram.
The "Data Model of Entities" page in the API Developer site either doesn't provide all of those details or not consistently. For example, the [WorkOrder] table has a [Priority] field with a note to reference the [WoPriority] table. However, it doesn’t specify which field has the relationship and whether it’s a one-to-one/many.
Another example is the String data type. It is listed for some fields but doesn’t disclose whether there’s a character limit or it’s a max string type.
Posted by Matthew Rodriguez about 1 year ago
How are contacts associated with a Corrigo company?
In the Corrigo UI, there is a company dropdown. How does a contact get associated with a company? Is the relationship determined by company url? If yes, can we see that mapping anywhere?
Posted by Wade Burdette about 1 year ago