POST api/Device/GetDictionaries
Request Information
URI Parameters
None.
Body Parameters
Device_GetDictionariesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceUniqueId | string |
None. |
|
| AppName | string |
None. |
|
| DictionaryTimestampList | Device_DictionaryTimestampList |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceUniqueId": "sample string 1",
"AppName": "sample string 2",
"DictionaryTimestampList": {
"DictionaryTimestampList": [
{
"Category": "sample string 1",
"TimeStamp": 2
},
{
"Category": "sample string 1",
"TimeStamp": 2
}
]
}
}
application/xml, text/xml
Sample:
<Device_GetDictionariesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
<AppName>sample string 2</AppName>
<DeviceUniqueId>sample string 1</DeviceUniqueId>
<DictionaryTimestampList>
<DictionaryTimestampList>
<Device_DictionaryTimestamp>
<Category>sample string 1</Category>
<TimeStamp>2</TimeStamp>
</Device_DictionaryTimestamp>
<Device_DictionaryTimestamp>
<Category>sample string 1</Category>
<TimeStamp>2</TimeStamp>
</Device_DictionaryTimestamp>
</DictionaryTimestampList>
</DictionaryTimestampList>
</Device_GetDictionariesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Device_GetDictionariesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Device_GetDictionariesResult |
None. |
|
| DictionaryItemsList | Device_DictionaryTimestampList |
None. |
|
| ZipFileContent | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 0,
"DictionaryItemsList": {
"DictionaryTimestampList": [
{
"Category": "sample string 1",
"TimeStamp": 2
},
{
"Category": "sample string 1",
"TimeStamp": 2
}
]
},
"ZipFileContent": "QEA="
}
application/xml, text/xml
Sample:
<Device_GetDictionariesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
<DictionaryItemsList>
<DictionaryTimestampList>
<Device_DictionaryTimestamp>
<Category>sample string 1</Category>
<TimeStamp>2</TimeStamp>
</Device_DictionaryTimestamp>
<Device_DictionaryTimestamp>
<Category>sample string 1</Category>
<TimeStamp>2</TimeStamp>
</Device_DictionaryTimestamp>
</DictionaryTimestampList>
</DictionaryItemsList>
<Result>GenericError</Result>
<ZipFileContent>QEA=</ZipFileContent>
</Device_GetDictionariesResponse>