GET ops/housing/houses/{houseId}/serviceSuppliers

Request Information

URI Parameters

NameDescriptionTypeAdditional information
houseId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of HouseServiceSupplierGET
NameDescriptionTypeAdditional information
Id

integer

None.

HouseId

integer

None.

Service

ServiceGET

None.

Supplier

SupplierGET

None.

StartDate

date

None.

EndDate

date

None.

Cost

decimal number

None.

Modified

date

None.

Status

Status

None.

ModifiedBy

UserBasicGET

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "houseId": 2,
    "service": {
      "id": 1,
      "description": "sample string 2",
      "serviceType": {
        "id": 1,
        "description": "sample string 2",
        "modified": "2024-12-10T01:33:29.6605969+00:00",
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "modifiedBy": {
          "firstName": "sample string 1",
          "id": 2,
          "lastName": "sample string 3",
          "uid": "sample string 4",
          "username": "sample string 5"
        }
      },
      "modified": "2024-12-10T01:33:29.6605969+00:00",
      "status": {
        "id": 1,
        "name": "sample string 2"
      },
      "modifiedBy": {
        "firstName": "sample string 1",
        "id": 2,
        "lastName": "sample string 3",
        "uid": "sample string 4",
        "username": "sample string 5"
      }
    },
    "supplier": {
      "id": 1,
      "supplierName": "sample string 2",
      "modified": "2024-12-10T01:33:29.6605969+00:00",
      "status": {
        "id": 1,
        "name": "sample string 2"
      },
      "modifiedBy": {
        "firstName": "sample string 1",
        "id": 2,
        "lastName": "sample string 3",
        "uid": "sample string 4",
        "username": "sample string 5"
      }
    },
    "startDate": "2024-12-10T01:33:29.6605969+00:00",
    "endDate": "2024-12-10T01:33:29.6605969+00:00",
    "cost": 4.0,
    "modified": "2024-12-10T01:33:29.6605969+00:00",
    "status": {
      "id": 1,
      "name": "sample string 2"
    },
    "modifiedBy": {
      "firstName": "sample string 1",
      "id": 2,
      "lastName": "sample string 3",
      "uid": "sample string 4",
      "username": "sample string 5"
    }
  },
  {
    "id": 1,
    "houseId": 2,
    "service": {
      "id": 1,
      "description": "sample string 2",
      "serviceType": {
        "id": 1,
        "description": "sample string 2",
        "modified": "2024-12-10T01:33:29.6605969+00:00",
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "modifiedBy": {
          "firstName": "sample string 1",
          "id": 2,
          "lastName": "sample string 3",
          "uid": "sample string 4",
          "username": "sample string 5"
        }
      },
      "modified": "2024-12-10T01:33:29.6605969+00:00",
      "status": {
        "id": 1,
        "name": "sample string 2"
      },
      "modifiedBy": {
        "firstName": "sample string 1",
        "id": 2,
        "lastName": "sample string 3",
        "uid": "sample string 4",
        "username": "sample string 5"
      }
    },
    "supplier": {
      "id": 1,
      "supplierName": "sample string 2",
      "modified": "2024-12-10T01:33:29.6605969+00:00",
      "status": {
        "id": 1,
        "name": "sample string 2"
      },
      "modifiedBy": {
        "firstName": "sample string 1",
        "id": 2,
        "lastName": "sample string 3",
        "uid": "sample string 4",
        "username": "sample string 5"
      }
    },
    "startDate": "2024-12-10T01:33:29.6605969+00:00",
    "endDate": "2024-12-10T01:33:29.6605969+00:00",
    "cost": 4.0,
    "modified": "2024-12-10T01:33:29.6605969+00:00",
    "status": {
      "id": 1,
      "name": "sample string 2"
    },
    "modifiedBy": {
      "firstName": "sample string 1",
      "id": 2,
      "lastName": "sample string 3",
      "uid": "sample string 4",
      "username": "sample string 5"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfHouseServiceSupplierGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing">
  <HouseServiceSupplierGET>
    <Cost>4</Cost>
    <EndDate>2024-12-10T01:33:29.6605969+00:00</EndDate>
    <HouseId>2</HouseId>
    <Id>1</Id>
    <Modified>2024-12-10T01:33:29.6605969+00:00</Modified>
    <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
      <d3p1:FirstName>sample string 1</d3p1:FirstName>
      <d3p1:Id>2</d3p1:Id>
      <d3p1:LastName>sample string 3</d3p1:LastName>
      <d3p1:Uid>sample string 4</d3p1:Uid>
      <d3p1:Username>sample string 5</d3p1:Username>
    </ModifiedBy>
    <Service>
      <Description>sample string 2</Description>
      <Id>1</Id>
      <Modified>2024-12-10T01:33:29.6605969+00:00</Modified>
      <ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
        <d4p1:FirstName>sample string 1</d4p1:FirstName>
        <d4p1:Id>2</d4p1:Id>
        <d4p1:LastName>sample string 3</d4p1:LastName>
        <d4p1:Uid>sample string 4</d4p1:Uid>
        <d4p1:Username>sample string 5</d4p1:Username>
      </ModifiedBy>
      <ServiceType>
        <Description>sample string 2</Description>
        <Id>1</Id>
        <Modified>2024-12-10T01:33:29.6605969+00:00</Modified>
        <ModifiedBy xmlns:d5p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
          <d5p1:FirstName>sample string 1</d5p1:FirstName>
          <d5p1:Id>2</d5p1:Id>
          <d5p1:LastName>sample string 3</d5p1:LastName>
          <d5p1:Uid>sample string 4</d5p1:Uid>
          <d5p1:Username>sample string 5</d5p1:Username>
        </ModifiedBy>
        <Status xmlns:d5p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
          <d5p1:Id>1</d5p1:Id>
          <d5p1:Name>sample string 2</d5p1:Name>
        </Status>
      </ServiceType>
      <Status xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Status>
    </Service>
    <StartDate>2024-12-10T01:33:29.6605969+00:00</StartDate>
    <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Status>
    <Supplier>
      <Id>1</Id>
      <Modified>2024-12-10T01:33:29.6605969+00:00</Modified>
      <ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
        <d4p1:FirstName>sample string 1</d4p1:FirstName>
        <d4p1:Id>2</d4p1:Id>
        <d4p1:LastName>sample string 3</d4p1:LastName>
        <d4p1:Uid>sample string 4</d4p1:Uid>
        <d4p1:Username>sample string 5</d4p1:Username>
      </ModifiedBy>
      <Status xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Status>
      <SupplierName>sample string 2</SupplierName>
    </Supplier>
  </HouseServiceSupplierGET>
  <HouseServiceSupplierGET>
    <Cost>4</Cost>
    <EndDate>2024-12-10T01:33:29.6605969+00:00</EndDate>
    <HouseId>2</HouseId>
    <Id>1</Id>
    <Modified>2024-12-10T01:33:29.6605969+00:00</Modified>
    <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
      <d3p1:FirstName>sample string 1</d3p1:FirstName>
      <d3p1:Id>2</d3p1:Id>
      <d3p1:LastName>sample string 3</d3p1:LastName>
      <d3p1:Uid>sample string 4</d3p1:Uid>
      <d3p1:Username>sample string 5</d3p1:Username>
    </ModifiedBy>
    <Service>
      <Description>sample string 2</Description>
      <Id>1</Id>
      <Modified>2024-12-10T01:33:29.6605969+00:00</Modified>
      <ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
        <d4p1:FirstName>sample string 1</d4p1:FirstName>
        <d4p1:Id>2</d4p1:Id>
        <d4p1:LastName>sample string 3</d4p1:LastName>
        <d4p1:Uid>sample string 4</d4p1:Uid>
        <d4p1:Username>sample string 5</d4p1:Username>
      </ModifiedBy>
      <ServiceType>
        <Description>sample string 2</Description>
        <Id>1</Id>
        <Modified>2024-12-10T01:33:29.6605969+00:00</Modified>
        <ModifiedBy xmlns:d5p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
          <d5p1:FirstName>sample string 1</d5p1:FirstName>
          <d5p1:Id>2</d5p1:Id>
          <d5p1:LastName>sample string 3</d5p1:LastName>
          <d5p1:Uid>sample string 4</d5p1:Uid>
          <d5p1:Username>sample string 5</d5p1:Username>
        </ModifiedBy>
        <Status xmlns:d5p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
          <d5p1:Id>1</d5p1:Id>
          <d5p1:Name>sample string 2</d5p1:Name>
        </Status>
      </ServiceType>
      <Status xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Status>
    </Service>
    <StartDate>2024-12-10T01:33:29.6605969+00:00</StartDate>
    <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Status>
    <Supplier>
      <Id>1</Id>
      <Modified>2024-12-10T01:33:29.6605969+00:00</Modified>
      <ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
        <d4p1:FirstName>sample string 1</d4p1:FirstName>
        <d4p1:Id>2</d4p1:Id>
        <d4p1:LastName>sample string 3</d4p1:LastName>
        <d4p1:Uid>sample string 4</d4p1:Uid>
        <d4p1:Username>sample string 5</d4p1:Username>
      </ModifiedBy>
      <Status xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Status>
      <SupplierName>sample string 2</SupplierName>
    </Supplier>
  </HouseServiceSupplierGET>
</ArrayOfHouseServiceSupplierGET>