Getting a units report

The request for a units report is similar to the /getTokenCounts request, but it returns information within a specified time frame.

Service endpoints

Pilot

https://pilot-certmanager-webservices.websecurity.symantec.com/vswebservices/​reportingws

Production

https://certmanager-webservices.websecurity.symantec.com/vswebservices/​reportingws

Parameters

Table: Report request parameters

Name

Data type

Required

Max Length

Description

reportType

Text

Y

32

For a Units report, the value is units.

startDate

Date

Y

10

Start date of the report, in MM/DD/YYYY format. The start date and date range can be six years apart, maximum.

endDate

Date

Y

10

End date of the report, in MM/DD/YYYY format. The start date and date range can be six years apart, maximum.

Sample request (POST)
POST https://certmanager-webservices.websecurity.symantec.com/vswebservices/​​reportingws
Content-Type: application/x-www-form-urlencoded
User-Agent: ACME Security Services
Host: certmanager-webservices.websecurity.symantec.com
Content-Length: 68

reportType=units&startDate=9%2F21%2F2013&endDate=​10%2F21%2F2013
Sample response
{
  "unitOrders": [
    {
      "productType": "Administrator IDs",
      "orderType": [
        "Customer Service",
        "Promotion"
      ],
      "orderNumber": [
        "133595373",
        "133598544"
      ],
      "ordered": [
        500,
        3
      ],
      "used": [
        1,
        0
      ],
      "remaining": [
        499,
        3
      ],
      "expiration": [
        "03-OCT-2014",
        "13-MAR-2014"
      ]
    },
    {
      "productType": "Domain Names",
      "orderType": [
        "Promotion"
      ],
      "orderNumber": [
        "133598544"
      ],
      "ordered": [
        10
      ],
      "used": [
        0
      ],
      "remaining": [
        10
      ],
      "expiration": [
        "13-MAR-2014"
      ]
    }
  ]
}

We use cookies to ensure that we give you the best experience on our website. By using this site, you agree to the Terms of Service.