GET api/gemsinsight/{id}/business?trackingId={trackingId}&maxResults={maxResults}

GEMS Insight Building Business List

Request Information

URI Parameters

NameDescriptionTypeAdditional information
trackingId

An ID supplied by the client to track or name this request

string

Required

id

Midas Building Key

integer

Required

maxResults

Maximum Number of Results to Return

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

success

BusinessesInGEMSInsightBuildingResponse
NameDescriptionTypeAdditional information
TrackingID

string

None.

BuildingKey

integer

None.

BusinessesInGEMSInsightBuildingCandidateList

BusinessesInGEMSInsightBuildingCandidateList

None.

ServiceReturnStatus

ServiceReturnStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "trackingID": "sample string 1",
  "buildingKey": 2,
  "businessesInGEMSInsightBuildingCandidateList": {
    "businessesInGEMSInsightBuildingCandidate": [
      {
        "businessKey": 1,
        "businessName": "sample string 2",
        "actualEmployeeCount": "sample string 3",
        "itemNumber": "sample string 4"
      },
      {
        "businessKey": 1,
        "businessName": "sample string 2",
        "actualEmployeeCount": "sample string 3",
        "itemNumber": "sample string 4"
      }
    ],
    "count": "sample string 1"
  },
  "serviceReturnStatus": {
    "returnCode": 1,
    "returnMessage": "sample string 2",
    "responseTypeCode": 3,
    "responseTypeCodeSpecified": true,
    "responseTypeMessage": "sample string 5",
    "currentPeriodRequestsUsed": 6,
    "currentPeriodRequestsAvailable": 7
  }
}

application/xml, text/xml

Sample:
<BusinessesInGEMSInsightBuildingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twc.MidasWebServices">
  <BuildingKey>2</BuildingKey>
  <BusinessesInGEMSInsightBuildingCandidateList>
    <businessesInGEMSInsightBuildingCandidateField>
      <BusinessesInGEMSInsightBuildingCandidate>
        <actualEmployeeCountField>sample string 3</actualEmployeeCountField>
        <businessKeyField>1</businessKeyField>
        <businessNameField>sample string 2</businessNameField>
        <itemNumberField>sample string 4</itemNumberField>
      </BusinessesInGEMSInsightBuildingCandidate>
      <BusinessesInGEMSInsightBuildingCandidate>
        <actualEmployeeCountField>sample string 3</actualEmployeeCountField>
        <businessKeyField>1</businessKeyField>
        <businessNameField>sample string 2</businessNameField>
        <itemNumberField>sample string 4</itemNumberField>
      </BusinessesInGEMSInsightBuildingCandidate>
    </businessesInGEMSInsightBuildingCandidateField>
    <countField>sample string 1</countField>
  </BusinessesInGEMSInsightBuildingCandidateList>
  <ServiceReturnStatus>
    <currentPeriodRequestsAvailableField>7</currentPeriodRequestsAvailableField>
    <currentPeriodRequestsUsedField>6</currentPeriodRequestsUsedField>
    <responseTypeCodeField>3</responseTypeCodeField>
    <responseTypeCodeFieldSpecified>true</responseTypeCodeFieldSpecified>
    <responseTypeMessageField>sample string 5</responseTypeMessageField>
    <returnCodeField>1</returnCodeField>
    <returnMessageField>sample string 2</returnMessageField>
  </ServiceReturnStatus>
  <TrackingID>sample string 1</TrackingID>
</BusinessesInGEMSInsightBuildingResponse>