GET api/companies

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CompanyDomain
NameDescriptionTypeAdditional information
ParentCompanyId

integer

None.

CompanyId

integer

None.

CompanyName

string

None.

Phone

string

None.

EMail

string

None.

IsParent

boolean

None.

DateTimeIn

date

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "parentCompanyId": 1,
    "companyId": 1,
    "companyName": "sample string 1",
    "phone": "sample string 2",
    "eMail": "sample string 3",
    "isParent": true,
    "dateTimeIn": "2018-12-16T16:58:17.8374357Z"
  },
  {
    "parentCompanyId": 1,
    "companyId": 1,
    "companyName": "sample string 1",
    "phone": "sample string 2",
    "eMail": "sample string 3",
    "isParent": true,
    "dateTimeIn": "2018-12-16T16:58:17.8374357Z"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyDomain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RideSafely.Domain.RSBidding">
  <CompanyDomain>
    <CompanyId>1</CompanyId>
    <CompanyName>sample string 1</CompanyName>
    <DateTimeIn>2018-12-16T11:58:17.8374357-05:00</DateTimeIn>
    <EMail>sample string 3</EMail>
    <IsParent>true</IsParent>
    <ParentCompanyId>1</ParentCompanyId>
    <Phone>sample string 2</Phone>
  </CompanyDomain>
  <CompanyDomain>
    <CompanyId>1</CompanyId>
    <CompanyName>sample string 1</CompanyName>
    <DateTimeIn>2018-12-16T11:58:17.8374357-05:00</DateTimeIn>
    <EMail>sample string 3</EMail>
    <IsParent>true</IsParent>
    <ParentCompanyId>1</ParentCompanyId>
    <Phone>sample string 2</Phone>
  </CompanyDomain>
</ArrayOfCompanyDomain>