GET api/Project/GetCompanies?client_id={client_id}&_Credentials={_Credentials}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
client_id

integer

Required

_Credentials

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of cEntityCompany
NameDescriptionTypeAdditional information
company_id

integer

None.

company_main_id

integer

None.

company_name

string

None.

company_adress

string

None.

company_fiscal_number

string

None.

company_setor

string

None.

company_country

string

None.

company_local

string

None.

company_zip

string

None.

company_lat

string

None.

company_lon

string

None.

company_isclient

integer

None.

company_isprovider

integer

None.

company_isinternal

integer

None.

company_client_id

string

None.

company_provider_id

string

None.

company_phone

string

None.

company_email

string

None.

company_web

string

None.

_SendCredentials

string

None.

_Action

string

None.

hasError

boolean

None.

hasErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "company_id": 1,
    "company_main_id": 2,
    "company_name": "sample string 3",
    "company_adress": "sample string 4",
    "company_fiscal_number": "sample string 5",
    "company_setor": "sample string 6",
    "company_country": "sample string 7",
    "company_local": "sample string 8",
    "company_zip": "sample string 9",
    "company_lat": "sample string 10",
    "company_lon": "sample string 11",
    "company_isclient": 12,
    "company_isprovider": 13,
    "company_isinternal": 14,
    "company_client_id": "sample string 15",
    "company_provider_id": "sample string 16",
    "company_phone": "sample string 17",
    "company_email": "sample string 18",
    "company_web": "sample string 19",
    "_SendCredentials": "sample string 20",
    "_Action": "sample string 21",
    "hasError": true,
    "hasErrorMessage": "sample string 23"
  },
  {
    "company_id": 1,
    "company_main_id": 2,
    "company_name": "sample string 3",
    "company_adress": "sample string 4",
    "company_fiscal_number": "sample string 5",
    "company_setor": "sample string 6",
    "company_country": "sample string 7",
    "company_local": "sample string 8",
    "company_zip": "sample string 9",
    "company_lat": "sample string 10",
    "company_lon": "sample string 11",
    "company_isclient": 12,
    "company_isprovider": 13,
    "company_isinternal": 14,
    "company_client_id": "sample string 15",
    "company_provider_id": "sample string 16",
    "company_phone": "sample string 17",
    "company_email": "sample string 18",
    "company_web": "sample string 19",
    "_SendCredentials": "sample string 20",
    "_Action": "sample string 21",
    "hasError": true,
    "hasErrorMessage": "sample string 23"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRhClass.cEntityCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest">
  <RhClass.cEntityCompany>
    <_Action>sample string 21</_Action>
    <_SendCredentials>sample string 20</_SendCredentials>
    <company_adress>sample string 4</company_adress>
    <company_client_id>sample string 15</company_client_id>
    <company_country>sample string 7</company_country>
    <company_email>sample string 18</company_email>
    <company_fiscal_number>sample string 5</company_fiscal_number>
    <company_id>1</company_id>
    <company_isclient>12</company_isclient>
    <company_isinternal>14</company_isinternal>
    <company_isprovider>13</company_isprovider>
    <company_lat>sample string 10</company_lat>
    <company_local>sample string 8</company_local>
    <company_lon>sample string 11</company_lon>
    <company_main_id>2</company_main_id>
    <company_name>sample string 3</company_name>
    <company_phone>sample string 17</company_phone>
    <company_provider_id>sample string 16</company_provider_id>
    <company_setor>sample string 6</company_setor>
    <company_web>sample string 19</company_web>
    <company_zip>sample string 9</company_zip>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 23</hasErrorMessage>
  </RhClass.cEntityCompany>
  <RhClass.cEntityCompany>
    <_Action>sample string 21</_Action>
    <_SendCredentials>sample string 20</_SendCredentials>
    <company_adress>sample string 4</company_adress>
    <company_client_id>sample string 15</company_client_id>
    <company_country>sample string 7</company_country>
    <company_email>sample string 18</company_email>
    <company_fiscal_number>sample string 5</company_fiscal_number>
    <company_id>1</company_id>
    <company_isclient>12</company_isclient>
    <company_isinternal>14</company_isinternal>
    <company_isprovider>13</company_isprovider>
    <company_lat>sample string 10</company_lat>
    <company_local>sample string 8</company_local>
    <company_lon>sample string 11</company_lon>
    <company_main_id>2</company_main_id>
    <company_name>sample string 3</company_name>
    <company_phone>sample string 17</company_phone>
    <company_provider_id>sample string 16</company_provider_id>
    <company_setor>sample string 6</company_setor>
    <company_web>sample string 19</company_web>
    <company_zip>sample string 9</company_zip>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 23</hasErrorMessage>
  </RhClass.cEntityCompany>
</ArrayOfRhClass.cEntityCompany>