Schema for Common Resource

The schema for the Common resource contains the following elements.

Click this link to view the XSD file for the resource.

ResponseStatusType

Name

Type

Description

ResponseStatusType

xs:string

Represents the response status type. The status of an operation can be success or failure.

NameType

Name

Type

Description

NameType

xs:string

Represents the name type in vCenter Chargeback Manager. A name must not exceed 255 characters.

UserNameType

Name

Type

Description

UserNameType

xs:string

Represents the user name type. A user name must not exceed 255 characters.

PasswordType

Name

Type

Description

PasswordType

xs:string

Represents the password of a user. A password must not exceed 1024 characters.

Description Type

Name

Type

Description

DescriptionType

xs:string

Represents the description of a resource. A description must not exceed 512 characters.

UnitType

Name

Type

Description

UnitType

xs:string

Represents the unit of a resource. A unit must not exceed 255 characters.

ParentType

Name

Type

Description

id

xs:int

ID of the parent resource.

UserIdType

Name

Type

Description

UserIdType

xs:string

Represents a user id. A user ID must not exceed 255 characters.

EmailIDType

Name

Type

Description

EmailIdType

xs:string

Represents a list of email IDs separated by comma. An email ID must be a valid email ID with a minimum of 5 characters and a maximum of 50 characters. Total length of all email IDs must not exceed 1000 characters.

DateInMilliSecsType

Name

Type

Description

DateInMilliSecsType

xs:int

Represents a date specified in milliseconds. The value must be between 0 and 86340000.

DaysInTenYearType

Name

Type

Description

DaysInTenYearType

xs:int

Represents the number of days in 10 years. The value must be between 1 and 3650.

DaysInWeekType

Name

Type

Description

DaysInWeekType

xs:int

Represents the number of days in a week. The value must be between 1 and 7.

MonthsInYearType

Name

Type

Description

MonthsInYearType

xs:int

Represents the number of months in a year. The value must be between 1 and 12.

DaysInMonthType

Name

Type

Description

DaysInMonthType

xs:int

Represents the number of days in a month. The value must be between 1and 31.

HoursInADayType

Name

Type

Description

HoursInADayType

xs:int

Represents the number of hours in a day. The value must be between 0 and 23.

MinutesInAHourType

Name

Type

Description

MinutesInAHourType

xs:int

Represents the number of minutes in an hour. The value must be between 0 and 59.

ErrorType

Name

Type

Description

majorErrorCode

xs:int

The class of the error. It matches the HTTP Status
Code meanings.

minorErrorCode

xs:string

Specific API error code. For example, this code can indicate
that the hierarchy creation has failed for some reason.

vendorSpecificErrorCode

xs:string

A vendor/implementation specific error code that
points to specific modules/parts of the code and can make problem diagnostics
easier. For example, vCenter error code or Database error code.

message

xs:string

A one line, human-readable message that describes the
error.

ResourceBaseType

Name

Type

Description

id

xs:int

Unique ID of a resource.

ResourceType

Includes the elements of ResourceBaseType.

Name

Type

Description

Name

NameType

Name of the resource

Description

DescriptionType

Description of the resource

AuthenticableResourceType

Includes the elements of ResourceType.

Name

Type

Description

UserName

UserNameType

Username required to authenticate with vCenter Chargeback Manager

Password

PasswordType

Password of the user who will authenticate with vCenter Chargeback Manager

EntityType

Includes the elements of ResourceType.

Name

Type

Description

Type

xs:int

Represents the entity type.