POST api/submitNewIncident

Request Information

URI Parameters

None.

Body Parameters

IncidentModel
NameDescriptionTypeAdditional information
creator

string

None.

creatorId

string

None.

creatorName

string

None.

creatorImage

string

None.

ticketNumber

string

None.

companyCode

string

None.

companyName

string

None.

priority

string

None.

priorityName

string

None.

incidentDate

string

None.

project

string

None.

projectName

string

None.

incidentStatus

string

None.

incidentStatusName

string

None.

incidentType

string

None.

incidentTypeName

string

None.

landscape

string

None.

landscapeName

string

None.

agent

string

None.

agentId

string

None.

agentName

string

None.

agentImage

string

None.

projectModule

string

None.

projectModuleName

string

None.

carbonCopy

string

None.

carbonCopyName

string

None.

deliveryDate

string

None.

subject

string

None.

description

string

None.

attachments

string

None.

superAgent

string

None.

lastUpdated

string

None.

Request Formats

application/json, text/json

Sample:
{
  "creator": "sample string 1",
  "creatorId": "sample string 2",
  "creatorName": "sample string 3",
  "creatorImage": "sample string 4",
  "ticketNumber": "sample string 5",
  "companyCode": "sample string 6",
  "companyName": "sample string 7",
  "priority": "sample string 8",
  "priorityName": "sample string 9",
  "incidentDate": "sample string 10",
  "project": "sample string 11",
  "projectName": "sample string 12",
  "incidentStatus": "sample string 13",
  "incidentStatusName": "sample string 14",
  "incidentType": "sample string 15",
  "incidentTypeName": "sample string 16",
  "landscape": "sample string 17",
  "landscapeName": "sample string 18",
  "agent": "sample string 19",
  "agentId": "sample string 20",
  "agentName": "sample string 21",
  "agentImage": "sample string 22",
  "projectModule": "sample string 23",
  "projectModuleName": "sample string 24",
  "carbonCopy": "sample string 25",
  "carbonCopyName": "sample string 26",
  "deliveryDate": "sample string 27",
  "subject": "sample string 28",
  "description": "sample string 29",
  "attachments": "sample string 30",
  "superAgent": "sample string 31",
  "lastUpdated": "sample string 32"
}

application/xml, text/xml

Sample:
<IncidentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPISolution.Models.EmployeeMaster">
  <agent>sample string 19</agent>
  <agentId>sample string 20</agentId>
  <agentImage>sample string 22</agentImage>
  <agentName>sample string 21</agentName>
  <attachments>sample string 30</attachments>
  <carbonCopy>sample string 25</carbonCopy>
  <carbonCopyName>sample string 26</carbonCopyName>
  <companyCode>sample string 6</companyCode>
  <companyName>sample string 7</companyName>
  <creator>sample string 1</creator>
  <creatorId>sample string 2</creatorId>
  <creatorImage>sample string 4</creatorImage>
  <creatorName>sample string 3</creatorName>
  <deliveryDate>sample string 27</deliveryDate>
  <description>sample string 29</description>
  <incidentDate>sample string 10</incidentDate>
  <incidentStatus>sample string 13</incidentStatus>
  <incidentStatusName>sample string 14</incidentStatusName>
  <incidentType>sample string 15</incidentType>
  <incidentTypeName>sample string 16</incidentTypeName>
  <landscape>sample string 17</landscape>
  <landscapeName>sample string 18</landscapeName>
  <lastUpdated>sample string 32</lastUpdated>
  <priority>sample string 8</priority>
  <priorityName>sample string 9</priorityName>
  <project>sample string 11</project>
  <projectModule>sample string 23</projectModule>
  <projectModuleName>sample string 24</projectModuleName>
  <projectName>sample string 12</projectName>
  <subject>sample string 28</subject>
  <superAgent>sample string 31</superAgent>
  <ticketNumber>sample string 5</ticketNumber>
</IncidentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />