POST api/Incident/CreateFromOpsGenie
Request Information
URI Parameters
None.
Body Parameters
AlertActionName | Description | Type | Additional information |
---|---|---|---|
source | Source |
None. |
|
alert | Alert |
None. |
|
action | string |
None. |
|
integrationId | string |
None. |
|
integrationName | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "source": { "name": "sample string 1", "type": "sample string 2" }, "alert": { "updatedAt": 1, "tags": [ "sample string 1", "sample string 2" ], "message": "sample string 2", "username": "sample string 3", "alertId": "sample string 4", "source": "sample string 5", "alias": "sample string 6", "tinyId": "sample string 7", "createdAt": 8, "userId": "sample string 9", "entity": "sample string 10" }, "action": "sample string 1", "integrationId": "sample string 2", "integrationName": "sample string 3" }
application/xml, text/xml
Sample:
<AlertAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceWrapper.OpsGenie"> <action>sample string 1</action> <alert xmlns:d2p1="http://schemas.datacontract.org/2004/07/OpsGenieWrapper.OpsGenie"> <d2p1:alertId>sample string 4</d2p1:alertId> <d2p1:alias>sample string 6</d2p1:alias> <d2p1:createdAt>8</d2p1:createdAt> <d2p1:entity>sample string 10</d2p1:entity> <d2p1:message>sample string 2</d2p1:message> <d2p1:source>sample string 5</d2p1:source> <d2p1:tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </d2p1:tags> <d2p1:tinyId>sample string 7</d2p1:tinyId> <d2p1:updatedAt>1</d2p1:updatedAt> <d2p1:userId>sample string 9</d2p1:userId> <d2p1:username>sample string 3</d2p1:username> </alert> <integrationId>sample string 2</integrationId> <integrationName>sample string 3</integrationName> <source> <name>sample string 1</name> <type>sample string 2</type> </source> </AlertAction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IncidentResultName | Description | Type | Additional information |
---|---|---|---|
skills | string |
None. |
|
u_event_id | string |
None. |
|
u_reported_by | UReportedBy |
None. |
|
correlation_id | string |
None. |
|
urgency | string |
None. |
|
u_alternate_phone | string |
None. |
|
group_list | string |
None. |
|
u_defect | string |
None. |
|
u_broadcast_notification | UBoardcastNotification |
None. |
|
follow_up | string |
None. |
|
business_service | string |
None. |
|
closed_at | string |
None. |
|
u_admin_credentials_required | string |
None. |
|
parent | string |
None. |
|
number | string |
None. |
|
closed_by | string |
None. |
|
u_close_subcode | string |
None. |
|
work_start | string |
None. |
|
calendar_stc | string |
None. |
|
incident_state | string |
None. |
|
business_duration | string |
None. |
|
category | string |
None. |
|
correlation_display | string |
None. |
|
due_date | string |
None. |
|
knowledge | string |
None. |
|
made_sla | string |
None. |
|
comments_and_work_notes | string |
None. |
|
u_linked_to_p1 | string |
None. |
|
user_input | string |
None. |
|
rfc | Rfc |
None. |
|
child_incidents | string |
None. |
|
u_incident_location | string |
None. |
|
upon_reject | string |
None. |
|
approval_history | string |
None. |
|
work_notes | string |
None. |
|
sys_id | string |
None. |
|
sys_created_by | string |
None. |
|
business_stc | string |
None. |
|
subcategory | string |
None. |
|
contact_type | string |
None. |
|
time_worked | string |
None. |
|
comments | string |
None. |
|
upon_approval | string |
None. |
|
location | string |
None. |
|
expected_start | string |
None. |
|
reopen_count | string |
None. |
|
close_notes | string |
None. |
|
u_sent_text_to_it | string |
None. |
|
additional_assignee_list | string |
None. |
|
impact | string |
None. |
|
priority | string |
None. |
|
description | string |
None. |
|
sys_domain | SysDomain |
None. |
|
sys_tags | string |
None. |
|
sys_mod_count | string |
None. |
|
work_notes_list | string |
None. |
|
sla_due | string |
None. |
|
contract | string |
None. |
|
sys_updated_on | string |
None. |
|
work_end | string |
None. |
|
activity_due | string |
None. |
|
company | Company |
None. |
|
active | string |
None. |
|
u_vendor | UVendor |
None. |
|
assignment_group | AssignmentGroup |
None. |
|
u_sla_responded | string |
None. |
|
u_substate | string |
None. |
|
caller_id | CallerId |
None. |
|
parent_incident | ParentIncident |
None. |
|
state | string |
None. |
|
approval_set | string |
None. |
|
sys_created_on | string |
None. |
|
reassignment_count | string |
None. |
|
opened_at | string |
None. |
|
u_symptom | string |
None. |
|
order | string |
None. |
|
short_description | string |
None. |
|
u_originating_ticket | UOriginatingTicket |
None. |
|
resolved_by | ResolvedBy |
None. |
|
sys_updated_by | string |
None. |
|
notify | string |
None. |
|
problem_id | ProblemId |
None. |
|
calendar_duration | string |
None. |
|
close_code | string |
None. |
|
approval | string |
None. |
|
caused_by | CausedBy |
None. |
|
severity | string |
None. |
|
u_enhancement | string |
None. |
|
assigned_to | AssignedTo |
None. |
|
resolved_at | string |
None. |
|
cmdb_ci | CmdbCi |
None. |
|
opened_by | OpenedBy |
None. |
|
rejection_goto | string |
None. |
|
sys_class_name | string |
None. |
|
watch_list | string |
None. |
|
escalation | string |
None. |
|
u_first_call | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "skills": "sample string 1", "u_event_id": "sample string 2", "u_reported_by": { "link": "sample string 1", "value": "sample string 2" }, "correlation_id": "sample string 3", "urgency": "sample string 4", "u_alternate_phone": "sample string 5", "group_list": "sample string 6", "u_defect": "sample string 7", "u_broadcast_notification": { "link": "sample string 1", "value": "sample string 2" }, "follow_up": "sample string 8", "business_service": "sample string 9", "closed_at": "sample string 10", "u_admin_credentials_required": "sample string 11", "parent": "sample string 12", "number": "sample string 13", "closed_by": "sample string 14", "u_close_subcode": "sample string 15", "work_start": "sample string 16", "calendar_stc": "sample string 17", "incident_state": "sample string 18", "business_duration": "sample string 19", "category": "sample string 20", "correlation_display": "sample string 21", "due_date": "sample string 22", "knowledge": "sample string 23", "made_sla": "sample string 24", "comments_and_work_notes": "sample string 25", "u_linked_to_p1": "sample string 26", "user_input": "sample string 27", "rfc": { "link": "sample string 1", "value": "sample string 2" }, "child_incidents": "sample string 28", "u_incident_location": "sample string 29", "upon_reject": "sample string 30", "approval_history": "sample string 31", "work_notes": "sample string 32", "sys_id": "sample string 33", "sys_created_by": "sample string 34", "business_stc": "sample string 35", "subcategory": "sample string 36", "contact_type": "sample string 37", "time_worked": "sample string 38", "comments": "sample string 39", "upon_approval": "sample string 40", "location": "sample string 41", "expected_start": "sample string 42", "reopen_count": "sample string 43", "close_notes": "sample string 44", "u_sent_text_to_it": "sample string 45", "additional_assignee_list": "sample string 46", "impact": "sample string 47", "priority": "sample string 48", "description": "sample string 49", "sys_domain": { "link": "sample string 1", "value": "sample string 2" }, "sys_tags": "sample string 50", "sys_mod_count": "sample string 51", "work_notes_list": "sample string 52", "sla_due": "sample string 53", "contract": "sample string 54", "sys_updated_on": "sample string 55", "work_end": "sample string 56", "activity_due": "sample string 57", "company": { "link": "sample string 1", "value": "sample string 2" }, "active": "sample string 58", "u_vendor": { "link": "sample string 1", "value": "sample string 2" }, "assignment_group": { "link": "sample string 1", "value": "sample string 2" }, "u_sla_responded": "sample string 59", "u_substate": "sample string 60", "caller_id": { "link": "sample string 1", "value": "sample string 2" }, "parent_incident": { "link": "sample string 1", "value": "sample string 2" }, "state": "sample string 61", "approval_set": "sample string 62", "sys_created_on": "sample string 63", "reassignment_count": "sample string 64", "opened_at": "sample string 65", "u_symptom": "sample string 66", "order": "sample string 67", "short_description": "sample string 68", "u_originating_ticket": { "link": "sample string 1", "value": "sample string 2" }, "resolved_by": { "link": "sample string 1", "value": "sample string 2" }, "sys_updated_by": "sample string 69", "notify": "sample string 70", "problem_id": { "link": "sample string 1", "value": "sample string 2" }, "calendar_duration": "sample string 71", "close_code": "sample string 72", "approval": "sample string 73", "caused_by": { "link": "sample string 1", "value": "sample string 2" }, "severity": "sample string 74", "u_enhancement": "sample string 75", "assigned_to": { "link": "sample string 1", "value": "sample string 2" }, "resolved_at": "sample string 76", "cmdb_ci": { "link": "sample string 1", "value": "sample string 2" }, "opened_by": { "link": "sample string 1", "value": "sample string 2" }, "rejection_goto": "sample string 77", "sys_class_name": "sample string 78", "watch_list": "sample string 79", "escalation": "sample string 80", "u_first_call": "sample string 81" }
application/xml, text/xml
Sample:
<IncidentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SnowData.Models"> <active>sample string 58</active> <activity_due>sample string 57</activity_due> <additional_assignee_list>sample string 46</additional_assignee_list> <approval>sample string 73</approval> <approval_history>sample string 31</approval_history> <approval_set>sample string 62</approval_set> <assigned_to> <link>sample string 1</link> <value>sample string 2</value> </assigned_to> <assignment_group> <link>sample string 1</link> <value>sample string 2</value> </assignment_group> <business_duration>sample string 19</business_duration> <business_service>sample string 9</business_service> <business_stc>sample string 35</business_stc> <calendar_duration>sample string 71</calendar_duration> <calendar_stc>sample string 17</calendar_stc> <caller_id> <link>sample string 1</link> <value>sample string 2</value> </caller_id> <category>sample string 20</category> <caused_by> <link>sample string 1</link> <value>sample string 2</value> </caused_by> <child_incidents>sample string 28</child_incidents> <close_code>sample string 72</close_code> <close_notes>sample string 44</close_notes> <closed_at>sample string 10</closed_at> <closed_by>sample string 14</closed_by> <cmdb_ci> <link>sample string 1</link> <value>sample string 2</value> </cmdb_ci> <comments>sample string 39</comments> <comments_and_work_notes>sample string 25</comments_and_work_notes> <company> <link>sample string 1</link> <value>sample string 2</value> </company> <contact_type>sample string 37</contact_type> <contract>sample string 54</contract> <correlation_display>sample string 21</correlation_display> <correlation_id>sample string 3</correlation_id> <description>sample string 49</description> <due_date>sample string 22</due_date> <escalation>sample string 80</escalation> <expected_start>sample string 42</expected_start> <follow_up>sample string 8</follow_up> <group_list>sample string 6</group_list> <impact>sample string 47</impact> <incident_state>sample string 18</incident_state> <knowledge>sample string 23</knowledge> <location>sample string 41</location> <made_sla>sample string 24</made_sla> <notify>sample string 70</notify> <number>sample string 13</number> <opened_at>sample string 65</opened_at> <opened_by> <link>sample string 1</link> <value>sample string 2</value> </opened_by> <order>sample string 67</order> <parent>sample string 12</parent> <parent_incident> <link>sample string 1</link> <value>sample string 2</value> </parent_incident> <priority>sample string 48</priority> <problem_id> <link>sample string 1</link> <value>sample string 2</value> </problem_id> <reassignment_count>sample string 64</reassignment_count> <rejection_goto>sample string 77</rejection_goto> <reopen_count>sample string 43</reopen_count> <resolved_at>sample string 76</resolved_at> <resolved_by> <link>sample string 1</link> <value>sample string 2</value> </resolved_by> <rfc> <link>sample string 1</link> <value>sample string 2</value> </rfc> <severity>sample string 74</severity> <short_description>sample string 68</short_description> <skills>sample string 1</skills> <sla_due>sample string 53</sla_due> <state>sample string 61</state> <subcategory>sample string 36</subcategory> <sys_class_name>sample string 78</sys_class_name> <sys_created_by>sample string 34</sys_created_by> <sys_created_on>sample string 63</sys_created_on> <sys_domain> <link>sample string 1</link> <value>sample string 2</value> </sys_domain> <sys_id>sample string 33</sys_id> <sys_mod_count>sample string 51</sys_mod_count> <sys_tags>sample string 50</sys_tags> <sys_updated_by>sample string 69</sys_updated_by> <sys_updated_on>sample string 55</sys_updated_on> <time_worked>sample string 38</time_worked> <u_admin_credentials_required>sample string 11</u_admin_credentials_required> <u_alternate_phone>sample string 5</u_alternate_phone> <u_broadcast_notification> <link>sample string 1</link> <value>sample string 2</value> </u_broadcast_notification> <u_close_subcode>sample string 15</u_close_subcode> <u_defect>sample string 7</u_defect> <u_enhancement>sample string 75</u_enhancement> <u_event_id>sample string 2</u_event_id> <u_first_call>sample string 81</u_first_call> <u_incident_location>sample string 29</u_incident_location> <u_linked_to_p1>sample string 26</u_linked_to_p1> <u_originating_ticket> <link>sample string 1</link> <value>sample string 2</value> </u_originating_ticket> <u_reported_by> <link>sample string 1</link> <value>sample string 2</value> </u_reported_by> <u_sent_text_to_it>sample string 45</u_sent_text_to_it> <u_sla_responded>sample string 59</u_sla_responded> <u_substate>sample string 60</u_substate> <u_symptom>sample string 66</u_symptom> <u_vendor> <link>sample string 1</link> <value>sample string 2</value> </u_vendor> <upon_approval>sample string 40</upon_approval> <upon_reject>sample string 30</upon_reject> <urgency>sample string 4</urgency> <user_input>sample string 27</user_input> <watch_list>sample string 79</watch_list> <work_end>sample string 56</work_end> <work_notes>sample string 32</work_notes> <work_notes_list>sample string 52</work_notes_list> <work_start>sample string 16</work_start> </IncidentResult>