Discussions

Ask a Question

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!

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?

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?

ANSWERED

How to determine what URI to use for Stage API requests

Hello,

How can I update a WorkOrder.Assignment?

How can update a work orders assignment? I need to update the work orders assignment to a different employeeId.

Space and Address fields for Workorders

Hi Li,