Edit Plans Associated with an Event

Allows you to edit the association between a plan and a event.

 

URL

{WSUrl}/api/events/<Eventcode>/plans/<PlanID>

 

REQUEST METHOD

PUT

 

URL PARAMETERS

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

PlanId (Required): ID of the plan associated with the event.

 

FORM CONTENT

Name (Optional): Name of the plan associated with the event. Limit of 1,000 characters.

Version (Optional): Version of the plan in the Continuity module associated with the event. The version of the plan must be multiplied by 100 before being sent through the API. For example: Version 1.2 of a plan must be multiplied by 100, and therefore the sent value will be 120. Valid values: whole numbers from 1 to 2147483647.

Responsible (Optional): Person assigned as responsible for the plan. Valid format: {"Name": "Person name", "Type": "Person"}.

 

REQUEST EXAMPLE

{WSUrl}/api/events/EVTC201105000052/plans/123

 

FORM CONTENT EXAMPLES

{

"Name":"Continuity Plan",

"Version":120,

"Responsible":{"Name":"John Smith","Type":"Person"}

}

 

SUCCESS RESPONSE

HTTP status code 204: NoContent