POST API/JobTrak/UpdateUprnAsset
Update a UPRN asset quantity by UPRN and ContentType. If one does not exist, it will be created.
Request Information
URI Parameters
None.
Body Parameters
Asset Body
UprnAssetName | Description | Type | Additional information |
---|---|---|---|
Uprn |
UPRN |
string |
Required |
ContentType |
Asset Content Type |
string |
Required |
Quantity |
Number of assets associated with UPRN |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "Uprn": "sample string 1", "ContentType": "sample string 2", "Quantity": 3 }
application/xml, text/xml
Sample:
<UprnAsset xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Uprn>sample string 1</Uprn> <ContentType>sample string 2</ContentType> <Quantity>3</Quantity> </UprnAsset>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response from server
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.