POST AssetTypesAPI/AddAssetType
Request Information
URI Parameters
None.
Body Parameters
AssetTypesName | Description | Type | Additional information |
---|---|---|---|
AssetTypeID | integer |
None. |
|
Active | boolean |
None. |
|
AssetTypeName | string |
None. |
|
AssetTypeDescription | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AssetTypeID": 1, "Active": true, "AssetTypeName": "sample string 3", "AssetTypeDescription": "sample string 4" }
application/xml, text/xml
Sample:
<AssetTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models"> <Active>true</Active> <AssetTypeDescription>sample string 4</AssetTypeDescription> <AssetTypeID>1</AssetTypeID> <AssetTypeName>sample string 3</AssetTypeName> </AssetTypes>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>