Last post Mar 23, 2015 03:56 AM by Shawn - MSFT
Mar 20, 2015 12:45 PM|IGotYourDotNet|LINK
I have an WebAPI that is connecting to SQL and returning the data in XML format, however, there is duplicates in the xml as such:
is there a way to show <JobType>Admin</JobType> as the top level and then show all of the jobs that fall into the [admin] job category?
I have the SQL grouping and ordering, however, there can be 1 to many bands for the Admin job role so I see [admin] in multiple rows in my query
Mar 23, 2015 03:56 AM|Shawn - MSFT|LINK
For this situation, if you want to custom web api return xml output, you could refer to the following information: