Solved

DocumentElement tag in PSO Usage REST API endpoint

  • 9 November 2021
  • 3 replies
  • 107 views

Userlevel 6
Badge +11

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

icon

Best answer by kai.parker 11 November 2021, 15:51

View original

3 replies

Userlevel 7
Badge +17

@clhase can you help here? 

Userlevel 4
Badge +11

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

Userlevel 6
Badge +11

Hello Kai,

 

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

 

Best Regards,

Vinu

Reply