Discussions

Ask a Question
ANSWERED

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?

PO in workorder

Hi, am new to corrigo. Want to work with purchase order and totally stuck. Please guide the steps. I have listed workorders with status "New" and these are some of keys Number: "INTL0732" PoNumber: "" Priority: {Id: 2} I want to know how PoNumber gets into, what are steps and prerequisite to add it
ANSWERED

workorder criteria question

is it possible to filter workorders on last action \<> archived?

Is the Corrigo API down?

Hi, Our processes are not being able to connect and login to Corrigo API (v.9.7.x). Is the API down? Thanks, Juan

How to programatically create public links in documents?

Hi, In the UI, the user can create a public link for a document. Is there a method in the API to do the same thing? Thanks, Juan

Updating Asset Attributes

Hi! Can you please provide me with a sample of how I would update an asset attribute value? I tried to do it using the AssetAttribute entity and attribute ID and value, but I received the error below. It correctly identified the asset to whom the attribute ID belonged. I just need to see where both items fit to make it work. Error: Asset Attribute modifications must be performed in parentâs context; parent ID #1830 Also, is it possible to use Descriptor IDs to update asset attribute values rather than individual asset-level attribute IDs. It would save me the step of finding the attribute ID for the particular asset before I can update it. I would already have the Descriptor ID and Asset ID. Thank you!

2) How do we add notes to an existing work order?

Posted on behalf of: [email protected] I did try the following API but it did not seem to have added any notes. https://am-ce98c.corrigo.com/api/v1/base/Note { "Entity": { "NoteText": "sample note text", "WorkOrderId": 42995, "NoteTypeId":2, "ActorId": 316, "ActorTypeId": "Org", "Id:"0 } }

How to get scheduling recurring preventative maintenance.

I would like fetch data of scheduling recurring preventative maintenance but I don know what I can do. Please give me any document. Thanks
ANSWERED

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

Update Billing Rule on WO

Is their a command to update the Billing Rule of a WO? I can't find an example of this so I'm wondering if this command is possible via the API?