Hello David.
I think you're mixing two things in one question. It's probably been refered to you to look at OAuthSample so that you can implement oAuth in your own code, since it's not supported out of the box.
Other thing is to consume the SharePoint REST API directly. I don't know much about the API to be helpful, but looking at the way they have written the documentation, I can tell that it's gonna be hard work to consume it, cause they don't have JSON examples and there's no swag for you to try to consume directly. This is the problem with REST nowdays, they are great, but there's no official language to describe them, and that's a big problem for people trying to consume any REST API. To note that this is not OutSystems related, it's cross industry!
Cheers
Pedro Cardoso
I think you're mixing two things in one question. It's probably been refered to you to look at OAuthSample so that you can implement oAuth in your own code, since it's not supported out of the box.
Other thing is to consume the SharePoint REST API directly. I don't know much about the API to be helpful, but looking at the way they have written the documentation, I can tell that it's gonna be hard work to consume it, cause they don't have JSON examples and there's no swag for you to try to consume directly. This is the problem with REST nowdays, they are great, but there's no official language to describe them, and that's a big problem for people trying to consume any REST API. To note that this is not OutSystems related, it's cross industry!
Cheers
Pedro Cardoso