The LastUpdated Service has only one API call associated to this service:
This service call provides the last updated dates for the following three APIs— Inventory, Contracts and Alerts along with Partner name, Entitled Company, Inventory Name, Appliance ID, and response timestamp.
The input data (customer ID and inventory ID) were obtained from the data returned in the first two Inventory API service calls (for more information see the "Manual Process Overview for API Service Calls" section).
It is recommended to use device ID as a parameter for request.
Parameter | Required | Type | Description |
---|---|---|---|
customerID | Yes | string | This parameter is returned in the API service call getCustomersInventoryIds. customerId is the ID of the Entitlement Company. |
inventoryId | Yes | string | This parameter was returned in the API service call getCustomersInventoryIds. inventoryId identifies the inventory whose data will be accessed for the chassis & card level details. |
Parameter | Type | Length | Description |
---|---|---|---|
PartnerName | string | 22 | Partner name |
EntitledCompany | string | 50 | Entitled company |
InventoryName | string | 255 | Inventory Name |
ApplianceID | string | 255 | Appliance ID |
InvLastUpdateTime | string | 255 | Last Updated date for inventory. |
ContractLastUpdateTime | string | 255 | Last Updated date for contracts |
AlertLastUpdateTime | string | 255 | Last Updated date for alerts |
responseTimestamp | date | DATE | The timestamp indicates when this report API was called. |
POST https://api-in-dev.cisco.com/pss/v1.0/LastUpdatedService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "getLastUpdatedDetails"
Authorization: Bearer ujv4a2cdkzmkferug3ubmuch
Content-Length: 387
Host: api-in-dev.cisco.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
‹soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:las="http://www.cisco.com/LastUpdatedService"›
‹soapenv:Header/›
‹soapenv:Body›
‹las:LastUpdatedDetailsRequest›
‹las:customerId›8587390007‹/las:customerId›
‹las:inventoryId›119537‹/las:inventoryId›
‹/las:LastUpdatedDetailsRequest›
‹/soapenv:Body›
‹/soapenv:Envelope›
HTTP/1.1 200 OK
X-Mashery-Message-ID: e5663326-cccf-45ab-b2da-aca6af761bb2
Date: Wed, 05 Nov 2014 06:41:57 GMT
Set-Cookie: ObSSOCookie=wDW1aM9kLKXchSawQY%2FYWI4MaM%2B0mp5weffQYTE4fAD%2FAXhEhXJ0rHIm48fH0bgoXh7kYSnY2Pl6lHdqi7%2Fw7uKJZy0AvsV8ZeiIvBbBGRBEAhaxdolFjfn2%2F9A0E7xZbLvyfZ4Bbk734XMvvJ%2F%2BhDWfw91oPgfWgTSEouc2hMp3NQpW8ZJBH76ANOZ6NDqhJC5hxHHZURY1ZSEUgf7uyeBbZJ2xn67e9XIZIMr4aBnKtDNcFTtskkRV9Mp5P0GubF1Kv7rSlnOiUEjkjaGL7g%3D%3D; path=/; domain=.cisco.com
Cache-Control: private
Pragma: private
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Headers: Content-type, fromPartyID, inputFormat, outputFormat, Authorization, Content-Length, Accept, Origin
Content-Type: text/xml; charset=UTF-8
Content-Language: en-US
Set-Cookie: CP_GUTC=173.38.25.70.1415169717929529; path=/; expires=Mon, 04-Nov-19 06:41:57 GMT; domain=.cisco.com
Set-Cookie: CP_GUTC=173.38.9.143.1415169717936352; path=/; expires=Mon, 04-Nov-19 06:41:57 GMT; domain=.cisco.com
Cache-Control: max-age=0
Expires: Wed, 05 Nov 2014 06:41:57 GMT
Server: Mashery Proxy
Transfer-Encoding: chunked
‹?xml version='1.0' encoding='UTF-8'?›
‹soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"›
‹soapenv:Body›
‹lastUpd:LastUpdatedDetailsResponse xmlns:lastUpd="http://www.cisco.com/LastUpdatedService"
xmlns:fn="http://www.cisco.com/FNAlertService"
xmlns:hweox="http://www.cisco.com/HwEoxAlertService"
xmlns:inv="http://www.cisco.com/InventoryService"
xmlns:sweox="http://www.cisco.com/SwEoxAlertService"
xmlns:w3c="http://www.w3.org/2001/XMLSchema-instance"
xmlns:npd="http://www.cisco.com/NPDRService"
xmlns:is="http://www.cisco.com/ISAlertService"
xmlns:psirt="http://www.cisco.com/PSIRTAlertService"
xmlns:con="http://www.cisco.com/ContractService"›
‹lastUpd:InvLastUpdated›
‹lastUpd:PartnerName›DD MANAGED SERVICES GSOA‹/lastUpd:PartnerName›
‹lastUpd:EntitledCompany›DD MANAGED SERVICES GSOA‹/lastUpd:EntitledCompany›
‹lastUpd:InventoryName›CSAP_TEST_SE_1_11_clone‹/lastUpd:InventoryName›
‹lastUpd:ApplianceID›CSP0000103753‹/lastUpd:ApplianceID›
‹lastUpd:InvLastUpdateTime›11/04/2014‹/lastUpd:InvLastUpdateTime›
‹lastUpd:ContractLastUpdateTime›11/04/2014‹/lastUpd:ContractLastUpdateTime›
‹lastUpd:AlertLastUpdateTime›11/04/2014‹/lastUpd:AlertLastUpdateTime›
‹/lastUpd:InvLastUpdated›
‹lastUpd:responseTimestamp›2014-11-05T01:42:05.739-05:00‹/lastUpd:responseTimestamp›
‹/lastUpd:LastUpdatedDetailsResponse›
‹/soapenv:Body›
‹/soapenv:Envelope›
©2016 Cisco Systems, Inc. · All Rights Reserved · This site is Cisco Confidential. For Cisco Field and Channel Partner use only. Not for public distribution.