GET API/JobTrak/UprnAssets/{uprn}
Get assests associated with a given UPRN
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
uprn |
UPRN to query |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
UPRN Asset Collection
Collection of UprnAssetName | Description | Type | Additional information |
---|---|---|---|
Uprn |
UPRN |
string |
Required |
ContentType |
Asset Content Type |
string |
Required |
Quantity |
Number of assets associated with UPRN |
integer |
Required |
Response Formats
application/json, text/json
Sample:
[ { "Uprn": "sample string 1", "ContentType": "sample string 2", "Quantity": 3 }, { "Uprn": "sample string 1", "ContentType": "sample string 2", "Quantity": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfUprnAsset xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UprnAsset> <Uprn>sample string 1</Uprn> <ContentType>sample string 2</ContentType> <Quantity>3</Quantity> </UprnAsset> <UprnAsset> <Uprn>sample string 1</Uprn> <ContentType>sample string 2</ContentType> <Quantity>3</Quantity> </UprnAsset> </ArrayOfUprnAsset>