Cisco Cisco Prime Home 3.0 개발자 가이드

다운로드
페이지 78
Cisco Prime Home – Integration Guide
 
 
OL-28557-01   v5.0.1
 
25 
    attribute friendlyName {string}? [out]
 
    attribute softwareVersion {string}? [out]
 
    attribute disposition {"FUTURE_DEVICE"|"MANAGED_DEVICE"}? 
[out]
 
    attribute excludeFromBulkOperation {boolean}?
 
    attribute lastInform {date}?
 
    attribute firstInform {date}?
 
    attribute informCount {number}?
 
    element labels {(
 
        attribute name {string}
 
        attribute fgcolor {string} [out]
 
        attribute bgcolor {string} [out]
 
    )*}
 
    element applications {map({string}, {(
 
        element dto {attribute-tree}
 
    )})}
 
    element rmaFor {(
 
        attribute code {string}?
 
        attribute oui {string}
 
        attribute sn {string}
 
    )?}
 
}
 
 
 
Data Types : 
device-history
 
element device-history {
 
    element actionLog {(
 
        attribute queuedRunId {number}?
 
        attribute name {string}
 
        attribute actorName {string}
 
        attribute runOn {date}?
 
        attribute state {}
 
        element log {(
 
            attribute timestamp {date}
 
            attribute message {string}
 
            attribute status {
 
                "NEXT_SESSION"|"SCHEDULED"|"RUNNING"|"COMPLETED"|
 
                "INTERNAL_ERROR"|"SYNTAX_OR_EVAL_ERROR"|"ABORT"|
 
                "NO_RESPONSE_FROM_DEVICE"|"DEVICE_FAULT"|"SUBSCRI
BER_FAULT"|
 
                "DOWNLOAD_FAILURE"|CANCEL
 
            }
 
        )*}?
 
    )*}
 
    element applications {(
 
        attribute state {string}
 
        attribute messages {string*}
 
        attribute lastSyncTime {date}?
 
    )*}
 
}
 
 
 
 
 
 
 
Endpoint
… /prime-home/api/v1/templates/device   
A template device, used in conjunction with 
...prime-home/api/v1/devices