POST api/Assets
Request Information
URI Parameters
None.
Body Parameters
CustomAssetName | Description | Type | Additional information |
---|---|---|---|
AssetID | globally unique identifier |
None. |
|
AssetName | string |
None. |
|
AssetDescription | string |
None. |
|
ClientId | globally unique identifier |
None. |
|
ClientName | string |
None. |
|
EntityID | globally unique identifier |
None. |
|
EntityName | string |
None. |
|
ContainerID | globally unique identifier |
None. |
|
ContainerName | string |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "AssetID": "22bc5972-70a8-4f2d-917f-ff30ceb5d8dc", "AssetName": "sample string 2", "AssetDescription": "sample string 3", "ClientId": "abee5f6f-df40-433d-9ddc-217469ace2a2", "ClientName": "sample string 5", "EntityID": "3f4ba226-d0f6-480a-af84-a16c9279c894", "EntityName": "sample string 7", "ContainerID": "a38fc5a1-0a41-45e2-98f9-ce0556850e2c", "ContainerName": "sample string 9", "IsActive": true }
application/xml, text/xml
Sample:
<CustomAsset xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAApi.CustomModel"> <AssetDescription>sample string 3</AssetDescription> <AssetID>22bc5972-70a8-4f2d-917f-ff30ceb5d8dc</AssetID> <AssetName>sample string 2</AssetName> <ClientId>abee5f6f-df40-433d-9ddc-217469ace2a2</ClientId> <ClientName>sample string 5</ClientName> <ContainerID>a38fc5a1-0a41-45e2-98f9-ce0556850e2c</ContainerID> <ContainerName>sample string 9</ContainerName> <EntityID>3f4ba226-d0f6-480a-af84-a16c9279c894</EntityID> <EntityName>sample string 7</EntityName> <IsActive>true</IsActive> </CustomAsset>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.