Answered
Clint Conley
Just looking for what I need to call Workgroup in the listing to return the workgroup name. - Looking to return the information when calling Projects.
0
Comments
Please sign in to leave a comment.
We have a find for Workgroup. We do not have a listing for Workgroup as the prefix of the quote number denotes workgroup and year.
Find: Workgroup=TRTY
Listing: "QuoteNumber":"TRTY20-30111"
Example: https://web3/YourURL/API?ajax=QuoteListing&EMail=email@oasissalessoftware.com&Password=password&Workgroup=TRTY&Listing=QuoteNumber
Clint,
In the QuoteListing call, add in CreateTerritoryID to the Listing part of the call. This will return the WorkGroupID.
For example:
https://<SERVER>/API?ajax=QuoteListing&EMail=<EMAIL>&Password=<PASSWORD>&Bidate=<DATERANGE>&Project=*&Listing=Project,QuoteNumber,CreateTerritoryID&APICallCache=<CacheSlot>
Will return: Project Name, Quote #, and WorkGroup for the specified date range
If you are calling against POListings, use WorkGroup
For example:
https://<SERVER>/API?ajax=POListing&EMail=<EMAIL>&Password=<PASSWORD>&Bidate=<DATERANGE>&Project=*&Listing=Project,PONumber,CreateTerritoryID&APICallCache=<CacheSlot>
Will return: Project Name, PO #, and WorkGroup for the specified date range