Ask a Question

API limit on file size

We have an API set up in production for a new app the P&G folks have rolled out (MyWorkplace) to allow the customer to submit certain types of work orders. They are having trouble attaching pictures to the work order. They get an error in the API if the file size is over 3MB. Is there a limit on the file size and can it be increased?

Creating a WO Completion Note

Hi! Can you please provide me with a sample of how I would create a WO completion note? Can I do this as a part of the WOCompleteCommand (POST) or does it need to be its own PUT query?

400 Error in Workorder Create API

I am getting 400 Error in WO Create API in Postman. Below follows the details, API : (Post) ...api/v1/cmd/Workorder/Create Body: { "Command" : { "WorkOrder" : { "Items" : [ { "Asset" : { "Id" : 920 }, "Task" : { "Id" : 14232 } } ], "ContactName" : "Store Manager", "ContactAddress" : { "AddrTypeId" : 17, "Address" : "[email protected]" }, "TypeCategory" : 4, "Priority" : { "Id" : 3 }, "RequestorContact" : { "Id" : 3 }, "WorkZone" : { "Id" : 1 }, "SubType" : { "Id" : 259 }, "Customer" : { "Id" : 3 } }, "ComputeSchedule" : true, "ComputeAssignment" : true, "EmergencyDisabled" : false, "Comment" : "Creation Comment here" }, "RequestId" : "1234" } Response : { "ErrorMessage": "'body.Command' field is null or empty", "ErrorCode": "EMPTY_INPUT_PARAMETER", "TimeStamp": "2022-11-25T06:37:41.1114125Z" } I could not find any command field in Body(no mentions of this field in corrigo guide too). What does this command field denote? Also please correct me if anything is wrong in body..

how to pull out all the data from corrigo?

Need to get all the data from corrigo to put it into our live site so that we can show the same data on our live site

API to fetch related module data to create a WO

We are trying to build a 2 way integration between Facilio and Corrigo for Workorder Module . Inorder to achieve the same , we need to maintain a mapping of certain attributes in Facilio ( such as customer , property etc) . Where can we find the API's to fetch the related data that has to be maintained or mapped to create a Work Order in Corrigo (such as the following): Customer Category Subcategory Task Priority Property Asset

Corrigo Fall release 2022 Query

Hi Team, just seeking some clarification on what does the below refer too and what is shown from a vendor perspective 1. Enabling the API, A new global setting was introduced for Requestors to enable the discovery of locations, priorities, and specialties. 2. The setting Allow Service Pro discovery of entities: Work Zones, Priorities, Specialties can be found at Admin & Settings > Service Pros > Settings: Service Pro Integration

Deactivating a Customer

Hi! Can you please provide me with a sample of how I would deactivate a Customer? The Data Model of Entities page shows a Property called IsRemoved, which "gets or sets the boolean flag indicating if an entity was deleted". Since I don't think there is a way to actually delete a Customer, I believe this would be the property to do the trick of deactivation. In my testing, active Customers showed 0 and deactivated Customers showed 1. When I tried to update this from 0 to 1 to deactivate a Customer, the response was successful, but the Customer did not deactivate. The Property value is still 0. All the other updates I passed successfully updated their properties as intended. Thank you!

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!

WoCompleteCommand HTTP 404

Hello, I'm trying to automate the ability to complete a work order via API. See following code: "{" + " \"commandRequest\": { " + " \"type\": \"WoCompleteCommand\"," + " \"WorkOrderId\": \"376508\" " + " }, " + " \"RequestId\": \"1234\" " + " } " This returns the following error: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>404 - File or directory not found.</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans- serif;color:#FFF; background-color:#555555;} #content{margin:0 0 0 2%;position:relative;} .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} --> </style> </head> <body> <div id="header"><h1>Server Error</h1></div> <div id="content"> <div class="content-container"><fieldset> <h2>404 - File or directory not found.</h2> <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3> </fieldset></div> </div> </body> </html> I have ensured the WorkOrderId is correct and the user is correct. The string returned is the correct format as far as I can tell, see the returned string below: { "commandRequest": { "type": "WoCompleteCommand", "WorkOrderId": "376508" }, "RequestId": "1234" } Permissions for the user account are all set to allow WoCompleteCommand. Not sure what the issue is, any help would be appreciated.

Can I designate an assignee in a WoCreateCommand via API?

Hello, I'm working on a project where I am integrating automatic work orders based on an analytics system. I have a sucessfull one-way integration, where I can communicate to Corrigo and use the WoCreateCommand to generate tickets. However, I can't seem to figure out how to designate an account to assign the tickets to. I have figured out auto-assign using the following: AutoAssignEnabled: true ComputeAssignment: true But this does not help me very much. I'd like to be able to do something along the lines of: AssignTo: Example User Is there a way to do this?