Discussions

Ask a Question
ANSWERED

Resolving the name of a Customer Group (non-billing account) from a CustomerGroupId

Hi, Thanks for the great support provided by this forum. I am still struggling with one issue - getting the Customer Group name from a CustomerGroupId result. I'm hoping you can point me in the right direction. Using the GroupsBridge with the Customer Entity, I can get a list of CustomerIds and related CustomerGroupIds. I can use the Customer entity to resolve the Customer name. However, I can't yet find how to resolve the name of the Customer Group(s) linked to the customer. For example, in the following result, where can I find the NAME of the Customer Group that is CustomerGroupId = 1434? (Note, IsBillingaccount is false) ``` { "Data": { "GroupsBridge": [ { "CustomerId": 3285, "CustomerGroupId": 1434, "IsBillingAccount": false, "IsParentRemoved": false, "Id": 9779 } ], "ConcurrencyId": 6, "Id": 3285 } }, ``` The code used to get this sample response (one of many returned) is run using the Query API against the Customer Entity, and is: { "QueryExpression": { "Criteria": { "Conditions": \[ { "PropertyName": "Id", "Operator": "GreaterOrEqual", "Values": [ "0" ] } ], "FilterOperator": "And" }, "Distinct": true, "PropertySet": { "Properties": [ "GroupsBridge.*" ] }, "Count": 4000, "FirstResultIndex": 1} } } Thanks for any help you can provide.
ANSWERED

Can WoCreateCommand be used to create historical Work Orders?

I'd like to create WOs that are** already completed**, and without having to call all the required commands to assign, pickup and complete?
ANSWERED

Resolving Customer Group

Hi, I'm looking just to confirm my understanding of how to esolve Customer Group for any customer. As far as I can see, Billing Account entity holds the details of each customers' Billing Account and their Customer Group. This links to Customer Entity via the LinkCustomer&Group Entity. In order to do the correct filtering, am I right in saying that: BillingAccount.IsBillAcct = True gives the billing accounts BillingAccount.IsBillAcct = False gives the customer group ? Thank you for checking and confirming/correcting
ANSWERED

Proposal endpoint

Hello, Is there any way to update proposal amount? (I know it cannot be updated directly as it returned error message saying the Proposal.Amount property can't be updated). If not, is there any way to delete or reject a proposal via API?
ANSWERED

Getting user/employee payrate lists and values

We’re trying to create a process to update each Corrigo user’s pay rate list with their rate from ADP. Right now I’m just trying to retrieve that information. 1. I can get the necessary info from ADP. 2. I can get a list of users with the Employee Entity. 3. I can get a list of Pay Rates for each LaborCodeID assigned to them with the UserPayRate Entity. 4. And I can get a list of dollar values (for each of those user payrates I assume) with the UserPayRateMoneyValue Entity. However, I can’t seem to figure out how to relate those money values to a specific payrate and/or user. The API reference says the Employee Entity returns data that includes a PayRates element reference that I assume is a list of payrates and their associated money value ids, but when I query the Employee Entity it does not return a PayRates element. Am I correct in assuming the connection information for payrate values to payrates for employees is in the Employee.PayRates data element? Why am I not getting that element in my API call? I first assumed it was because the user ID associated with the API Integration did not have it, so I added “Admin – All Scope”, “Admin – Users”, “Permissions – All Users”, and “Manage Users” to the wSDK role, which is assigned to that user. That did not seem to help.
ANSWERED

Feedback on feasibility of adding new requirement on Corrigo to check Integration status

As part of Corrigo - OCF redesign, we have a new requirement on Corrigo to check Integration status and restrict user from resubmitting work order if the work order still processing at LogicApp Integration. **Sequence of work order flow Corrigo to OCF Integration** (TO BE Scenario) 1. Corrigo posts messages on service-bus for Integration logicApp to process (AS-IS process) 2. LogicApp saves the WO message on new Staging table with Integration status = New, Integration in Process, Integration Error, Completed (TO-BE Scenario) 3. LogicApp Integration processes the WOs every 1hr in batch instead of sequentially. Integration status is updated = Integration in Process(TO-BE Scenario). 4. Once step 3 is complete LogicApp Integration updates the Integration status = Integration Error or Completed(TO-BE Scenario) 5. **Corrigo to have capability to check Integration status. (TO-BE Scenario) ** 1. Integration status will be exposed as HTTP API by logicApp that can be consumed at Corrigo side. 1. Corrigo to check integration status and restrict user from re-submitting the WO if status = New or Integration in Process Request to share feedback on point 5 feasibility on Corrigo. Please let me know for any additional queries.
ANSWERED

API command for auto send work orders

We have several API's to Corrigo that create work orders. When a work order is created by an API that is assigned to a vendor in Corrigo, it doesn't get automatically sent to the vendor. You have to manually select "Send". Is there an API work order command that would force the work order to auto send to the vendor?
ANSWERED

Query Location (Equipment) Attributes

How do you query Location object extended attributes? I always get the same fields but need them all: ![](https://files.readme.io/132f1b6-image.png)
ANSWERED

Count records in an entity

Hi all, I am wondering if there is a call that can be made to the /query API that would return a count of the records in an Entity rather than returning the data. Thanks for any pointers (or even confirmaiton it is not possible). Kind regards, Graham
ANSWERED

Customer Groups entity in Data Model?

Hi, I'm hoping someone can help me with this. In the Data Model, there are entities linking Customer, Contact and User to Groups. But where would I find the details of a Group - I am expecting to see an Entity that has links those Groups IDs to a Group name and other Group information. I can't see it in the Data Model of Entities. Thanks for any pointers. Kind regards Graham