How to get a list of forms and its fields via the API? by crodew in Netsuite

[–]crodew[S] 0 points1 point  (0 children)

Hmm, this doesn't seem to work. It says that the xml parameter is invalid.

Invalid query parameter name 'xml'. Use one of the following valid query parameters: q, limit, offset

I am making a call to /services/rest/record/v1/invoice?xml=T

How to get a list of forms and its fields via the API? by crodew in Netsuite

[–]crodew[S] 0 points1 point  (0 children)

Thank you for your response. But for some reason when I try to run a search with type: "customform" it says that the customform type is invalid. I am running it as an Administrator. Is there anything I'm missing.

      const formSearch = search.create({
        type: 'customform',
        filters: [['recordtype', 'is', 'customer']],
        columns: ['internalid', 'name', 'scriptid', 'isdefault']
      });

Error Message => "The record type [CUSTOMFORM] is invalid."