Edit Instance of a Custom Object

Edits an instance of a custom object.

 

URL

{RMUrl}/api/object/<ObjectVariableName>/<InstanceID>

 

REQUEST METHOD

PUT

 

URL PARAMETERS

ObjectVariableName: This parameter is provided in the URL and does not need to be sent through PUT.

InstanceID: This parameter is provided in the URL and does not need to be sent through PUT.

 

FORM CONTENT

See the return for the Attributes call of a custom object to view which types of attributes are associated with the object in question.

Relationship-type attributes can be referenced by the ID field, the Caption field, or both. If both fields are provided, they must refer to the same object. It is recommended to use the ID field whenever possible. If it is a Relationship with Knowledge Base attribute, only the latest published version of the knowledge base should be associated. See Appendix 2: Format for Completing Attributes for the list of formats for the ID and Caption fields.

For more information on the types of attributes available for the object in question, see Modulo Risk Manager Features -> 9. Custom Objects -> List Custom Object Attributes.

 

REQUEST EXAMPLE

{RMUrl}/api/objects/book/66f295ae-f946-4f74-9ef4-21a0ca93febb

 

FORM CONTENT EXAMPLE

{

"Name":"The Little Prince",

"ISBN":" 0152465030",

"Author":"Antoine de Saint-Exupery"

}

 

SUCCESS RESPONSE

HTTP status code 204: NoContent