News Article Body

News Article Body Java API Documentation

Returns the body of a news article. This endpoint requires additional authorization beyond basic news access. Please see a representative for details.

API Class:
CompanyApi
Instance Method:
getCompanyNewsBody()

Stock Price Code Example

Use my API Key
import com.intrinio.api.*;
import com.intrinio.models.*;
import com.intrinio.invoker.*;
import com.intrinio.invoker.auth.*;
import org.threeten.bp.*;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth auth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
auth.setApiKey("YOUR_API_KEY");
defaultClient.setAllowRetries(true);
CompanyApi companyApi = new CompanyApi();
String newsStoryId = "new_aBcDef";
OffsetDateTime publicationDate = OffsetDateTime.now();
String specificSource = null;
String nextPage = null;
ApiResponseCompanyNewsBody result = companyApi.getCompanyNewsBody(newsStoryId, publicationDate, specificSource, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
newsStoryIdStringThe identifier of the news story. 
publicationDateOffsetDateTimeThe DateTime of the story. 
specificSourceStringOnly news from this source. Defaults to highest available if not present.[optional] [enum: yahoo, moody, moody_us_news, moody_us_press_releases]  
nextPageStringGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseCompanyNewsBody

Properties

NameTypeDescription
bodyStringThe article body.