Discussions

Ask a Question
Back to all

Deleting WorkOrderCost.Items entries

I want to delete an entry in the WorkOrderCost.Items list. I've tried doing this via the DeleteCommand with EntityType "FinancialItem", and have also tried it with the DELETE operation against api/v1/base/FinancialItem/, but in both cases, I get the following error message:

Event notification

The client (The Church Account) CMMS system is integrated with Corrigo. Can you please confirm if event notifications are sent back on all work orders or only on work orders which are created via the integration? If it’s the latter please indicate what determines if the work order came thru integration?

Update an existing Employee email or phone

We are creating an integration that will update an Employee's phone or email. I am able to retrieve the Employee contact addresses by using employee.contactaddresses. Wondering how we structure a PUT update to make changes to the phone or email?

ANSWERED

Downloading Documents

The URLs to Documents that come back from the API point to S3, but following these links gives me an authorization error - unlike the links served in the web interface, the API links aren't "presigned". How can I download the documents I get from the API? Thanks!

Finding the Price List associated with a Contract

When I change the Contract under Customer Billing Details on a Work Order, the line items I can add and their prices change. This seems to be driven by different Price Lists, so I'm trying to figure out which Price List is connected to a given contract, using the API. I've looked at PriceList and PriceListItem and Contract entities but I don't see how they're connected, so I'd appreciate any guidance on what I'm missing. Thanks!

ANSWERED

IDW Solution

I understand IDW solution could retrieve work order attachments, rendering them in the client dashboard despite only the URL being visible. I'd like to confirm if these attachments can be downloaded in bulk, as our client intends to run AI analytics on them rather than add them to their dashboard. Could you please verify if this is feasible?

Creating work order via API - The Church account in stage

Client created two new Issues using the api and it looks like they were both created successfully in Corrigo stage as C5391660-00034. The work order came thru with correct task, (priority, specialty, expense code) which are all picked at the task level but it did not pick up the correct NTE amount. Question is why? Here are the queries that were executed for C5391660-00034:
// Customer query
{
"QueryExpression": {
"Criteria": {
"Conditions": [
{
"PropertyName": "TenantCode",
"Operator": "Equal",
"Values": [
"5391660-01-01"
]
},
{
"PropertyName": "IsRemoved",
"Operator": "Equal",
"Values": [
"false"
]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": {
"Properties": [
"id",
"Spaces.Asset.Id",
"Spaces.Asset.Name",
"Workzone.id"
]
},
"Count": 1,
"FirstResultIndex": 0
}
}

Creating a Customer Invoice via API

I'm trying to create a customer invoice via the API, but I don't see a way to do so. It looks like the /api/v1/query/InvoiceLine path does not support POSTs for creates, and I don't see any alternative path to it - but maybe I'm missing something.

Equals condition value order matters?

I am sending a query to the model endpoint. If I send the "Values" in numerical order then I get a result back, but if they are out of order it does not return any matches. Is this the correct behavior? I assumed that the "Equals" condition was matching any value in the array but is that not the case?

ANSWERED

How to query model id

What statement would I use if I need to retrieve the model id for model name Air Conditioning and Heating (Int) (MH) for customer 5114861-01-01?