Use cases using API integration REST or SOAP

Hi, Someone please help me where we use API integration in UIPath. I’m looking a business cases to use REST, SOAP. JSON and xml etc.,

Many Thanks