GET api/Authors/getAuthorByCompanyId/{companyid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AuthorsName | Description | Type | Additional information |
---|---|---|---|
AuthorId | integer |
None. |
|
CompanyId | integer |
None. |
|
Author | string |
None. |
|
Title | string |
None. |
|
HubSpotAuthorId | string |
None. |
|
HubSpotAuthorUrl | string |
None. |
|
HubSpotAvatar | string |
None. |
|
string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "AuthorId": 1, "CompanyId": 2, "Author": "sample string 3", "Title": "sample string 4", "HubSpotAuthorId": "sample string 5", "HubSpotAuthorUrl": "sample string 6", "HubSpotAvatar": "sample string 7", "Linkedin": "sample string 8" }, { "AuthorId": 1, "CompanyId": 2, "Author": "sample string 3", "Title": "sample string 4", "HubSpotAuthorId": "sample string 5", "HubSpotAuthorUrl": "sample string 6", "HubSpotAvatar": "sample string 7", "Linkedin": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfAuthors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers"> <Authors> <Author>sample string 3</Author> <AuthorId>1</AuthorId> <CompanyId>2</CompanyId> <HubSpotAuthorId>sample string 5</HubSpotAuthorId> <HubSpotAuthorUrl>sample string 6</HubSpotAuthorUrl> <HubSpotAvatar>sample string 7</HubSpotAvatar> <Linkedin>sample string 8</Linkedin> <Title>sample string 4</Title> </Authors> <Authors> <Author>sample string 3</Author> <AuthorId>1</AuthorId> <CompanyId>2</CompanyId> <HubSpotAuthorId>sample string 5</HubSpotAuthorId> <HubSpotAuthorUrl>sample string 6</HubSpotAuthorUrl> <HubSpotAvatar>sample string 7</HubSpotAvatar> <Linkedin>sample string 8</Linkedin> <Title>sample string 4</Title> </Authors> </ArrayOfAuthors>