Create Loss Event

Creates a loss event in the ERM solution.

 

URL

{RMUrl}/api/objects/ERMEvent

 

REQUEST METHOD

POST

 

URL PARAMETERS

This feature does not have parameters.

 

FORM CONTENT

Name (Required): Name of the loss event to be created. Limit of 2,500 characters.

LossEventResponsible (Required): ID of the person responsible for the loss event.

LossEventResponsible (Required): ID of the person responsible for the event being created and/or the name identifying the object (caption). At least one of these must be provided.

Value (Required): Value of the loss event, as defined in the "Value" field for the event in the system.

AccountingDate (Required): Date associated with the accounting of the loss event, as defined in the "Accounting Date" field for the event in the system.

Type (Required): Type of the loss event.

Description (Required): Description of the loss event being created.

 

REQUEST EXAMPLE

{RMUrl}/api/objects/ERMEvent

 

FORM CONTENT EXAMPLE

Create a new loss event:

{

  "Name": "New Loss Event",

  "LossEventResponsible": {

    "Id": "942d78f0-2986-408d-96ba-0915bbcb76ce",

    "Caption": "[API] userERM"

  },

  "Value": 1,

  "AccountingDate": "/Date(1398643200000)/",

  "Type": "Generic"

}

 

SUCCESS RESPONSE

Code of the newly created loss event. Returns a byte.