HomeRecipesAPI ReferenceChangelogDiscussions
Log In
Discussions

Discussions

Ask a Question

Accessing cloud documents via API

Documents added to entities in Corrigo are data elements that can be accessed in the base/query Document API calls. Of particular interest for us on the JLL Cisco account are accessing cloud stored documents. Key Corrigo document entity fields are: IsShared; IsPublic; StorageTypeID; DocUrl; MimeType When the document is public, the document URL works for accessing the file outside of Corrigo. However, private documents require AWS s3 query text values to be passed as well. Without, AWS will not permit access to the document via the bare document URL. **What field(s) hold the URL/URI for private document links including the AWS s3 query text via the API calls?** Similarly, the SmartSheet application has document attachments at both the sheet and line levels. Their architecture also leverages AWS s3 cloud storage. However, the SmartSheet API publishes the private document URL _with_ the AWS s3 query text.
ANSWERED

Child Work orders

Can the Rest Api create child work orders?
ANSWERED

How do we retrieve nested endpoints

I am trying to retrieve Rates and Amounts from a few endpoints but found that they are returning "None". Here is an example Python code for the get request. ``` "quote_or_estimate_items": { "url": "/api/v1/query/QuoteOrEstimateItem", "doc": "get all Quotes or Estimate Items", "should_rebuild": True, "column_block_list": [], "body": { "QueryExpression": { "Criteria": {"Conditions": []}, "Distinct": False, "PropertySet": { "Properties": [ "*", "Rate.*", "Amount.*", ] }, } }, }, ``` Here are the fields from the Data Model doc. ![](https://files.readme.io/d367519-image.png)
ANSWERED

Document uploaded via API - make available on client portal

Hi, This is a follow-on questions from this earlier one: <https://developer.corrigo.com/discuss/66154572062c07002d3e3f08> I am making an API POST call to upload PDF documents to WOs. The document is successfully attached to the WO, however it is not visible in the client portal. Is there a setting I can use in the API call to make it visible to clients? e.g. using the "IsPublic" or "IsShared" setting? The current API call, is based on: <https://developer.corrigo.com/reference/post#document-example> And my specific command to upload a PDF Binary is, using POST method: { "Entity": { "ActorId": 68064, "ActorTypeId": "WO", "Title": "PDF report from Binary", "IsShared": false, "IsPublic": false, "StorageTypeId": "Cloud", "DocType": {"DisplayAs":"Picture" }, "Blob":{ "Body": "PDF_BINARY(REDACTED)", "FileName":"BinaryPdfAsPicture.pdf" } } } Thank you for any help you are able to give with this. Graham
ANSWERED

Issue with Document Upload to Procedure Template Step

Hi, I tried the following API to upload a document to a Procedure Template Step. The API call was successful and returned the expected response, but the attached document isn't visible on the dashboard under the associated work order. POST /api/v1/base/Document Payload: { "Entity": { "ActorId": 23615, "ActorTypeId": "ProcTemplateStep", "Description": "Test - Added image", "Title": "House", "IsPublic": true, "StorageTypeId": "Cloud", "Blob": { "Body": "iVBORw0KGgoAAAANSUhEUgAAAvwAAAHjCAYAAABfMMtcAACAAElEQVR42uz92ZIkSZKuiX3MIrqY...", "FileName": "Luxury-Segment-continue-to-grow-1-764x483.png" } } } Response: { "EntitySpecifier": { "ConcurrencyId": 1, "EntityType": "Document", "Id": 323905 } } Can you please provide any information on why the document isn't showing up in the Procedures section of Work Order on the dashboard? Thanks!
ANSWERED

API for batch updating Assets

Hi, I would appreciate it if there is any API that allows for batch updating of Assets.
ANSWERED

I would need fetch All facilities.

I would appreciate if there is any APi that will give me all facilities/location available. I can see only short location which is not what I am looking for. I am looking for all the location ids registered.
ANSWERED

I would need fetch All facilities.

I would appreciate if there is any APi that will give me all facilities/location available. I can see only short location which is not what I am looking for. I am looking for all the location ids registered.
ANSWERED

Need APi info for getting Status date for partiular work order.

I am trying to fetch work order api details by work order id[API https://am-ce98c.corrigo.com/api/v1/base/WorkOrder?ID=500]. The issue I am facing here is I am getting current status data but I want to know when the particular work order has been put to the current status. COuld you please help me know how we can get the status date?
ANSWERED

API to fetch Floor, Location & IsseList information for Customer

Is there any API to fetch Floor, Location & IsseList information for Customer either by using the CustomerID or the WorkZoneID?