Ask a Question

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.

examples in GET (Retrieve) section are wrong

examples in GET (Retrieve) section of documentation are wrong. see here <https://developer.corrigo.com/reference/get>

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>

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

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.

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?

AI features?

Are there any plans for upcoming AI features? Chatbot integrations, TEAMS widgets etc? It would be convenient if a customer could type (for example) "it's freezing in here" and the AI would register that as a phrase that someone would use to request a ticket for ( Asset:[Air Conditioning and Heating] > Task:[Too Cold] ), or alternatively even just a way to embed a client portal into another system (authenticated with SSO) would be useful.

Employee Data Model Doesn't Include Reports To data

On a User (aka Employee) in Corrigo, there is a "Reports To" field where another user can be selected to indicate that a given employee reports to the other user. This Reports To field is not in the Employee data model via the API. What needs to be done or support ticket entered to get this added to the API Employee data model?

API ERROR : 500 Can't map WoItem asset 'Space/Workstation'"

We are getting this error for location: EXPEDIA0197. We have tried using different assets and tasks but still the same error. Endpoint : https://am-helper.corrigo.com/jll-wfs/WoCreateCommand Payload body : { "commandRequest": { "type": "WoCreateCommand", "WorkOrder": { "SubType": { "DisplayAs": "Reactive Maintenance" }, "Customer": { "TenantCode": "EXPEDIA0197" }, "MainAsset": { "ID": "63264" }, "Items": [{ "Asset": { "Name": "Space/Workstation" }, "Task": { "DisplayAs": "Add" }, "Comment": "This is a demo WO description, ignore " }], "ContactName": "TestContact", "ContactAddress": { "Address": "hi***@expediagroup.com", "ActorTypeId": "Employee", "AddrTypeId": "Contact" }, "CustomFields": [ { "Descriptor":{ "Name":"ServiceNow Number", "ActorTypeId":"WO" }, "Value": "12345" } ], }, "ComputeSchedule": "true", "ComputeAssignment": "true" } } Output : 500 : {"type":"Exception","message":"Can't map WoItem asset 'Space/Workstation'"} Can someone help in resolving this error? We contacted [email protected], they asked us to reach out here. Thankyou.

PM/RM Schedules

Is it possible to GET PM/RM Schedule data? And to PUT updates to RM/PM Schedules? I couldn't find anything that looked quite right in the Data Model of Entities.