Skip to main content
Solved

DocumentElement tag in PSO Usage REST API endpoint

  • November 9, 2021
  • 3 replies
  • 130 views

Forum|alt.badge.img+13

Hello Experts,

I'm using the postman to get the response for USAGE via RESTful gateway endpoint. but the response come with a ‘DocumentElement tag’ is there any possibility to remove this tag and what is the purpose of this tag? Could i get more information about the USAGE endpoint other than what we have in the interface guide?

Thanks & Best Regards,
Vinu

Best answer by kai.parker

Hi Vinu,

You cannot remove this tag from within PSO. The tag is just used as a placeholder for the root xml node. I agree that it is probably not the best tag so I will raise an internal bug to look at changing it.

The usage endpoint fetches data from the table ‘Schedule_Data_Usage’ for an organisation between the two dates provided in the request. The table ‘Schedule_Data_Usage’ records the total data usage of the system each time a schedule is processed. The ‘usage_type_id’ describes the statistic that is recorded and ‘value’ shows the respected value

Thanks,
Kai

3 replies

Phil Lamerton
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • November 9, 2021

@clhase can you help here? 


Forum|alt.badge.img+13
  • Hero (Employee)
  • Answer
  • November 11, 2021

Hi Vinu,

You cannot remove this tag from within PSO. The tag is just used as a placeholder for the root xml node. I agree that it is probably not the best tag so I will raise an internal bug to look at changing it.

The usage endpoint fetches data from the table ‘Schedule_Data_Usage’ for an organisation between the two dates provided in the request. The table ‘Schedule_Data_Usage’ records the total data usage of the system each time a schedule is processed. The ‘usage_type_id’ describes the statistic that is recorded and ‘value’ shows the respected value

Thanks,
Kai


Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • November 11, 2021

Hello Kai,

 

Many thanks for the response. Please keep us posted if this tag can be changed. :)

 

Best Regards,

Vinu