Agency Add Issue

Agency Add Issue

Deprecated.

Adds an issue to this agency.

key and time is overwritten so that key becomes unique on this server and time is the current time.

Requires modify privileges.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/eam/Agency/{moId}/AddIssue
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case Agency/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
AddIssueRequestType of type(s) application/json
Required
"AddIssueRequestType Object"
issue
Required

A new issue.

Authentication
This operation uses the following authentication methods.
Responses
200

The same issue where the key and time is set.

Returns Issue of type(s) application/json
"Issue Object"
integer As int32 As int32
key
Required

A unique identifier per Issue instance.

string
description
Required

A localized message describing the issue.

string As date-time As date-time
time
Required

The point in time when this issue was generated.

Note that issues can be regenerated periodically, so this time does not neccessarily reflect the first time the issue was detected.


500

InvalidArgument: Thrown if issue typeId is unknown.

Returns InvalidArgument of type(s) application/json
"InvalidArgument Object"
string
invalidProperty
Optional

Optional name of the invalid property.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/eam/Agency/{moId}/AddIssue