Net3 API Interface for Customer Portal

<back to all web services

CostCompanyById

Requires Authentication
Requires any of the roles:SuperAdmin, Admin, CostAdmin
The following routes are available for this service:
GET/billing/cost/company/id/{companyId}Retrieve the latest costs for a company. Used by N3TPortal to get customer costs
CostCompanyById Parameters:
NameParameterData TypeRequiredDescription
companyIdpathGuidNo
environmentqueryN3TEnvironmentNo

Allowable Values

  • DEV
  • QA
  • UAT
  • PROD
  • DEMO
  • EXT
N3TEnvironment Enum:
DEV
QA
UAT
PROD
DEMO
EXT

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /billing/cost/company/id/{companyId} HTTP/1.1 
Host: n3tapi.palmettovdc.com 
Accept: application/json