sap.sap_operations.me_downloadbasket_info (1.25.0) — module

Fetch information from SAP software center download basket

| "added in version" 1.10.0 of sap.sap_operations"

Authors: Kirill Satarin (@kksat)

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install sap.sap_operations:==1.25.0


Add to requirements.yml

  collections:
    - name: sap.sap_operations
      version: 1.25.0

Description

Fetch the information from SAP software center download basket

Information is fetched from service https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet?sap-language=en

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get information about SAP support portal download basket
  sap.sap_operations.me_downloadbasket_info:
    username: "S0000000000"
    password: "secret"

Inputs

    
password:
    description:
    - I(password) of the I(username).
    required: true
    type: str

username:
    description:
    - I(username) of SAP support portal. Either universal id or suser.
    required: true
    type: str

Outputs

me_downloadbasket_info:
  description:
  - List of dictionaries with information about download basket items
  elements: dict
  returned: success
  sample:
    me_downloadbasket_info:
    - DirectDownloadUrl: https://softwaredownloads.sap.com/file/0030000001159172022
      EccnApproval: ''
      EccnExportLicense: ''
      ObjectBasket: DOWNLOAD
      ObjectChangedBy: S0023963562
      ObjectChangedOn: /Date(1666506204000)/
      ObjectDescription: SAP HANA Platform Edt. 2.0 SPS06 rev63 Linux x86_64
      ObjectErrorCode: 0
      ObjectExpirationDate: null
      ObjectExportBlockFlag: false
      ObjectKey: 0030000001159172022
      ObjectLocked: false
      ObjectName: 51055761.ZIP
      ObjectReferenceNumber: ''
      ObjectRegisteredOn: /Date(1666506203000)/
      ObjectSize: 14884077
      ObjectSizeUnit: KB
      ObjectStatus: 1
      ObjectStatusDescription: Available to download
      ObjectType: CD
      SoftwareEntitlementKey: ''
      __metadata:
        id: https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet(ObjectKey='0030000001159172022',ObjectBasket='DOWNLOAD')
        type: SVT_SWDC_UI_SRV.DownloadBasketItem
        uri: https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet(ObjectKey='0030000001159172022',ObjectBasket='DOWNLOAD')
    - DirectDownloadUrl: https://softwaredownloads.sap.com/file/0010000000046522013
      EccnApproval: ''
      EccnExportLicense: ''
      ObjectBasket: DOWNLOAD
      ObjectChangedBy: S0023963562
      ObjectChangedOn: /Date(1666506187000)/
      ObjectDescription: Attribute Change Package 03 for RTCISM 100
      ObjectErrorCode: 0
      ObjectExpirationDate: null
      ObjectExportBlockFlag: false
      ObjectKey: '0010000000046522013'
      ObjectLocked: false
      ObjectName: RTCISM100.SAR
      ObjectReferenceNumber: ''
      ObjectRegisteredOn: /Date(1666506131000)/
      ObjectSize: 4
      ObjectSizeUnit: KB
      ObjectStatus: 1
      ObjectStatusDescription: Available to download
      ObjectType: SPAT
      SoftwareEntitlementKey: ''
      __metadata:
        id: https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet(ObjectKey='0010000000046522013',ObjectBasket='DOWNLOAD')
        type: SVT_SWDC_UI_SRV.DownloadBasketItem
        uri: https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet(ObjectKey='0010000000046522013',ObjectBasket='DOWNLOAD')
  type: list