Getting mandatory fields in a webservice query - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18) +--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4) +--- Thread: Getting mandatory fields in a webservice query (/showthread.php?tid=538) |
Getting mandatory fields in a webservice query - Guido1982 - 12-22-2016 When we select fields, for instance PHP Code: SELECT * FROM salesorder WHERE id = $id RE: Getting mandatory fields in a webservice query - joebordes - 12-22-2016 You have to use Describe for that. Describe gives you all the meta information of the fields: https://github.com/tsolucio/coreBOSwsDevelopment/blob/master/testcode/080lib_describe.php Also in the Webservice Development tool there is a page that uses Describe to show you all that information correctly formatted. (List Types link) RE: Getting mandatory fields in a webservice query - Guido1982 - 12-22-2016 Thanks! I knew about the list types but not how it got its information. |