Method Community

 

Search

Page 1 of 73 (726 items) 1 2 3 4 5 Next > ... Last »
  • Re: how to fetch the data based on my current Date dynamically

    The expectation is that your code that is using the API is responsible for business logic.  So in your code, you would create and manage dynamic variables to reflect your desired business logic, and that you'd then call the API to get the data you need. Paul
    Posted to Method:API Q&A (Forum) by Method_Paul on 05-13-2024
  • Re: how to fetch the data based on my current Date

    Hi there. I think you are better off doing "between" rather than equal, when it comes to dates. We have some documentation on this here: https://developer.method.me/#section/Filter-Reference "To get all Invoices created on April 17, 2020, EDT (Eastern Daylight Time)" GET /api/v1/tables/Invoice?filter=TimeCreated ge ...
    Posted to Method:API Q&A (Forum) by Method_Paul on 05-10-2024
  • Re: Character Function: Find in Json

    This response is obviously 4 years late....and somehow fell between the cracks of our support team. But we came upon it and wanted to give an answer for future searches. What you have hear are "nested values".  Like grandparent:parent:child.  "temp" is a child of parent "metric", which is a child of ...
    Posted to Method General Q & A (Forum) by Method_Paul on 10-13-2023
  • Re: API Filter - How to search for a Company Name that has a single quote in it?

    Jamie - Escaping with a redundant quote will do the trick in escaping the url parameter: (i.e. Magnolia''s not Magnolia's) https://rest.method.me/api/v1/tables/Entity?filter=Name eq 'Magnolia''s%20Best%20Storage' Paul
    Posted to Method:API Q&A (Forum) by Method_Paul on 02-06-2023
  • Re: API POST Contact / Not OtherName

    "Ok I think the problem I was running into was that I was hitting the Contact end point, and nothing was happening. But I hit the customer end point and it will make the entity, and the contact at the same time?" -Yes. This is correct. -Worth pointing out though, that you may still need to use the Contact end point to ...
    Posted to Method:API Q&A (Forum) by Method_Paul on 02-06-2023
  • Re: API POST Contact / Not OtherName

    So, we aren't making this easy on you!   Instead of creating an Entity, create a Customer.   That will automatically create an Entity with EntityType Customer.   Here's one I created using PostMan: https://imgur.com/a/BH1Ezn8 Note, when you create a new Customer, it will automatically create a Contact for ...
    Posted to Method:API Q&A (Forum) by Method_Paul on 02-03-2023
  • Re: API POST Contact / Not OtherName

    The Entity ""Supply Central" already existed, and existed as a Vendor. The relationship between an Entity and a Contact is that an Entity have 1 or many Contacts. So I could have: Entity (Customer): Bob Crenshaw Contact 1: Bob Crenshaw Contact 2: Betty Crenshaw Or a business Entity (Customer): XYZ Industries Contact 1: ...
    Posted to Method:API Q&A (Forum) by Method_Paul on 02-02-2023
  • Re: API POST Contact / Not OtherName

    Hi there! The Contact should belong to an Entity, otherwise it is orphaned. Entities are existing customers, vendors, or OtherName. This is a JSON I just posted to create a contact: { "FirstName" : "Peter", "LastName" : "Greenman", "Name" : "Peter ...
    Posted to Method:API Q&A (Forum) by Method_Paul on 02-02-2023
  • Re: How to Create an Item from API?

    Here's the trick, you need to add to the ItemInventory table, not the Item table. Kinda confusing....but the Item table is more of a "view" of all the types of item tables.  And yes, we should be making that more obvious via the API. I tried, using PostMan to create an item in the ItemInventory table, and can confirm that ...
    Posted to Method:API Q&A (Forum) by Method_Paul on 01-20-2023
  • Re: How to Create an Item from API?

    Jamie - I'll try a quick answer before the support and/or product teams chime in. On first glance, I would try a few things: a) Don't include FullName. FullName is really a calculated field. It figures out FullName based on the Name as as well as the reference to a Parent, if there is one.  I wonder if including FullName is throwing ...
    Posted to Method:API Q&A (Forum) by Method_Paul on 01-19-2023
Page 1 of 73 (726 items) 1 2 3 4 5 Next > ... Last »