beautypg.com

Returned result, Example 1, Returned result example 1 – HP Intelligent Management Center Licenses User Manual

Page 194

background image

Query parameters

Option elements.

options

Element type. Required when fieldType is 5. No default value.

Option ID.

options/id

Long integer type. Required. No default value.

Option value.

options/optionsValue

String type. Required. No default value.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

Message header

If the operation succeeds, the Location field gives the URI of the new resource. The message body
is empty.

HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/user/additionalInfo/3

Example 1

Add a user additional information definition of the option type.

Request

POST http://localhost:8080/imcrs/user/additionalInfo
accept: application/xml
Content-Type: application/xml; charset=UTF-8
...


digits
true
5
1
3
false

1
1


2
2

Response

HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/user/additionalInfo/1

194

User Management