Creating Service Request using Service Now API

I am trying to create service request using Service now API, In the POST API , I am stuck what to put in the Body as different forms have different schema , how should I infer that?

Hey @Ashok98

Please show us the docs of what you want to achieve and your code ?

Thanks
#nK

Hi Ashok,

Well, you should follow the structure of the method’s documentation provided by Service Now. Remember JSON is a flexible schema so you can add/remove parameters as required. Ideally you just send whatever is mandatory for the method you’re calling and what you need to post.

We will need more detail on what you are trying to achieve, to go into a more detailed answer. On the mentime I see Service Now REST service is quite extensive. If you haven’t I strongly recommend you to go over the documentation.

1 Like