Loading...
 

Get Service Details


HTTP VerbGET
URI Template/service/{serviceID}
MIME Typeapplication/vnd.pncp.v.5.0+json onwards
Normal HTTP Response Code200 OK
Invoked ByAny organization that has an Ubersmith account.
Response ModeSynchronous.

Sample Request

GET /pncp-external-api-rest/service/23637 HTTP/1.1
Accept: application/vnd.pncp.v.5.0+json
Authorization: PNCP kp4ln0VWzuXkSYpvBNb2xOs7GPUPqn1E9CoQohYo2vM=
Content-Type: application/json 
User-Agent: Jakarta Commons-HttpClient/3.1
Host: YOUR_API_URL

Sample Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Type: application/vnd.pncp.v.5.0+json
Transfer-Encoding: chunked 
Date: Mon, 16 Dec 2015 18:56:08 GMT
{
  "description": "AHS Secured Sever 1",
  "servicePlan": "ASH USA E3-1240 v3 (3-102013) [Secured Servers, 1]",
  "servicePrice": 368,
  "discount": 0,
  "discountType": "PERCENTAGE",
  "quantity": 5,
  "totalCost": 4215,
  "subTotal": 1438,
  "totalDiscount": 595,
  "code": "UA031013E31240"
  "applicableTaxes": [],
  "serviceNotes": [],
  "parentService": null,
  "billingInformation": {
    "unPaidBalance": 0,
    "status": "ACTIVE",
    "billingPeriod": "MONTHLY",
    "plannedActivationDate": 0,
    "activationDate": 0,
    "clientAcceptanceDate": 0,
    "expectedCancellationDate": 0,
    "billingStartDate": 1450162800000,
    "lastRenewalDate": 1450162800000,
    "renewalDate": 1452841200000,
    "endDate": 0,
    "postRenew": false,
    "billPrior": false,
    "autoCharge": true,
    "account": {
      "creditCardType": "amex",
      "creditCardNumber": "0005",
      "creditCardExpire": "1218"
    },
    "autoSuspend": false,
    "autoCancel": false,
    "invoiceStatus": "UNBILLED"
  },
  "options": [
  {
      "name": "RAID OPTIONS",
      "description": "Software RAID 1 - (Requires 2 identical SATA HDDs)",
      "discount": 50,
      "price": 150,
      "groupName": null,
      "discountType": "PERCENTAGE"
    },
    {
      "name": "ADDITIONAL IP ALLOCATION",
      "description": "No Additional IPs",
      "discount": 50,
      "price": 800,
      "groupName": null,
      "discountType": "PERCENTAGE"
    },
    {
      "name": "OPERATING SYSTEM",
      "description": "CentOS 64 Bit (Latest Stable) (Included)",
      "discount": 0,
      "price": 0,
      "groupName": null,
      "discountType": "PERCENTAGE"
    },
    {
      "name": "CONTROL PANELS",
      "description": "No Control Panel",
      "discount": 0,
      "price": 0,
      "groupName": null,
      "discountType": "PERCENTAGE"
    },
  ],
  "childServices": [
    {
      "resourceURL": "/service/23637"
    }
  ],
  "comments": null,
}