2.0

VMware, Inc. 3
Contents
AboutThisBook 5
1 vCenterChargebackManagerAPIs 7
WhatIsvCenterChargebackManager? 7
RESTArchitecture 7
Requests 8
Responses 8
CommonElementsintheRequestandResponseXMLs 9
vCenterChargebackManagerAPISyntax 9
APIVersioning 10
2 UnderstandingtheWorkflow 13
RequirementsforCodeExamples 13
JARFiles 13
CommonUtilClass 14
FakeSSLCertificateSocketFactoryClass 15
LogIntovCenterChargebackManager 16
AddvCenterServerInformation 17
AddaCustomChargebackHierarchy 18
AddavCenterServerEntitytotheChargebackHierarchy 19
AddaFixedCost 21
ModifyaFixedCostValue 22
GenerateaReport 23
3 UsingvCenterChargebackManagerwithaBillingSystem 25
RequirementsforCodeExamples 25
JARFiles 25
CommonUtilClass 26
FakeSSLCertificateSocketFactoryClass 27
AddCostModels 28
AddaBillingPolicy 29
RetrieveListofHierarchies 30
GetDetailsofaHierarchy 31
AddReportScheduleforHierarchy 32
GetReportSchedulebyHierarchyName 33
RescheduleaReport 35
DeleteReportSchedule 36
GetListofArchivedReportsforaHierarchy 37
GetaReportasXML 38
Index 39