GET ops/housing/metadata
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
MetadataGETName | Description | Type | Additional information |
---|---|---|---|
TenantTypes | Collection of TenantTypeGET |
None. |
|
Plantations | Collection of PlantationBasicGET |
None. |
|
Statuses | Collection of Status |
None. |
|
MaintenanceTypes | Collection of MaintenanceTypeGET |
None. |
|
ServiceTypes | Collection of ServiceTypeGET |
None. |
|
Owners | Collection of OwnerGET |
None. |
Response Formats
application/json, text/json
Sample:
{ "tenantTypes": [ { "id": 1, "description": "sample string 2" }, { "id": 1, "description": "sample string 2" } ], "plantations": [ { "id": 1, "name": "sample string 2", "mfCode": "sample string 3" }, { "id": 1, "name": "sample string 2", "mfCode": "sample string 3" } ], "statuses": [ { "id": 1, "name": "sample string 2" }, { "id": 1, "name": "sample string 2" } ], "maintenanceTypes": [ { "id": 1, "description": "sample string 2" }, { "id": 1, "description": "sample string 2" } ], "serviceTypes": [ { "id": 1, "description": "sample string 2", "modified": "2024-12-10T02:49:46.7020552+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, "description": "sample string 2", "modified": "2024-12-10T02:49:46.7020552+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" } } ], "owners": [ { "id": 1, "name": "sample string 2" }, { "id": 1, "name": "sample string 2" } ] }
application/xml, text/xml
Sample:
<MetadataGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <MaintenanceTypes> <MaintenanceTypeGET> <Description>sample string 2</Description> <Id>1</Id> </MaintenanceTypeGET> <MaintenanceTypeGET> <Description>sample string 2</Description> <Id>1</Id> </MaintenanceTypeGET> </MaintenanceTypes> <Owners> <OwnerGET> <Id>1</Id> <Name>sample string 2</Name> </OwnerGET> <OwnerGET> <Id>1</Id> <Name>sample string 2</Name> </OwnerGET> </Owners> <Plantations xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Operations"> <d2p1:PlantationBasicGET> <d2p1:Id>1</d2p1:Id> <d2p1:MfCode>sample string 3</d2p1:MfCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:PlantationBasicGET> <d2p1:PlantationBasicGET> <d2p1:Id>1</d2p1:Id> <d2p1:MfCode>sample string 3</d2p1:MfCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:PlantationBasicGET> </Plantations> <ServiceTypes> <ServiceTypeGET> <Description>sample string 2</Description> <Id>1</Id> <Modified>2024-12-10T02:49:46.7020552+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> </ServiceTypeGET> <ServiceTypeGET> <Description>sample string 2</Description> <Id>1</Id> <Modified>2024-12-10T02:49:46.7020552+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> </ServiceTypeGET> </ServiceTypes> <Statuses xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d2p1:Status> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Status> <d2p1:Status> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Status> </Statuses> <TenantTypes> <TenantTypeGET> <Description>sample string 2</Description> <Id>1</Id> </TenantTypeGET> <TenantTypeGET> <Description>sample string 2</Description> <Id>1</Id> </TenantTypeGET> </TenantTypes> </MetadataGET>