POST Api/Asset/ListAssets
Request Information
URI Parameters
None.
Body Parameters
Dictionary of string [key] and string [value]Request Formats
application/json, text/json
Sample:
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringstring>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</KeyValueOfstringstring>
<KeyValueOfstringstring>
<Key>sample string 3</Key>
<Value>sample string 4</Value>
</KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Acknowledge | Acknowledge |
None. |
|
| ResponseCode | ResponseCode |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Acknowledge": 0,
"ResponseCode": 0,
"ResponseMessage": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClaraServiceApi.Responses"> <Acknowledge xmlns="http://schemas.datacontract.org/2004/07/Clara.Objects">NACK</Acknowledge> <Data xmlns="http://schemas.datacontract.org/2004/07/Clara.Objects" /> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/Clara.Objects">FAIL</ResponseCode> <ResponseMessage xmlns="http://schemas.datacontract.org/2004/07/Clara.Objects">sample string 1</ResponseMessage> </BaseResponse>