PUT api/Incident/CreateIncident
Request Information
URI Parameters
None.
Body Parameters
IncidentWrapper| Name | Description | Type | Additional information |
|---|---|---|---|
| incidentid | string |
None. |
|
| IncidentNumber | string |
None. |
|
| Requester | string |
None. |
|
| title | string |
None. |
|
| mispar_meshalem | string |
None. |
|
| resolveby | string |
None. |
|
| Asset_Number | string |
None. |
|
| caseorigincode | integer |
None. |
|
| caseoriginDescription | string |
None. |
|
| urgency | integer |
None. |
|
| urgencyDescription | string |
None. |
|
| discount_approved | integer |
None. |
|
| discount_approved_Description | string |
None. |
|
| incident_Description | string |
None. |
|
| incident_Solution | string |
None. |
|
| incident_Solution_Description | string |
None. |
|
| Classification | IncidentClassification |
None. |
|
| Contact | ContactWrapper |
None. |
|
| Account | AccountWrapper |
None. |
Request Formats
application/json, text/json
Sample:
{
"incidentid": "sample string 1",
"IncidentNumber": "sample string 2",
"Requester": "sample string 3",
"title": "sample string 4",
"mispar_meshalem": "sample string 5",
"resolveby": "sample string 6",
"Asset_Number": "sample string 7",
"caseorigincode": 8,
"caseoriginDescription": "sample string 9",
"urgency": 10,
"urgencyDescription": "sample string 11",
"discount_approved": 12,
"discount_approved_Description": "sample string 13",
"incident_Description": "sample string 14",
"incident_Solution": "sample string 15",
"incident_Solution_Description": "sample string 16",
"Classification": {
"bakashat_lakoach_1_id": "sample string 1",
"bakashat_lakoach_1": "sample string 2",
"bakashat_lakoach_2_id": "sample string 3",
"bakashat_lakoach_2": "sample string 4",
"bakashat_lakoach_3_id": "sample string 5",
"bakashat_lakoach_3": "sample string 6",
"bakashat_lakoach_4_id": "sample string 7",
"bakashat_lakoach_4": "sample string 8"
},
"Contact": {
"contactid": "sample string 1",
"spousesname": "sample string 2",
"Identification_Type": 3,
"Family_Status_Code": 4,
"Passport_Number": "sample string 5",
"Gender_Code": 6,
"Preferred_Contact_Method_Code": 7,
"Asset": {
"City": "sample string 1",
"Street": "sample string 2",
"Floor": "sample string 3",
"HouseNumber": "sample string 4",
"Appartment": "sample string 5",
"Entrence": "sample string 6",
"PostalCode": "sample string 7",
"Asset_Number": "sample string 8",
"assetid": "sample string 9"
},
"firstname": "sample string 8",
"lastname": "sample string 9",
"mobilephone": "sample string 10",
"telephone": "sample string 11",
"emailaddress": "sample string 12",
"Contact_Identification_Number": "sample string 13"
},
"Account": {
"AccountName": "sample string 1",
"AccountId": "sample string 2",
"AccountTypeCode": 3,
"AccountType": 4,
"PayerAccountNumber": "sample string 5",
"primarycontactid": "sample string 6",
"firstnamepayer": "sample string 7",
"lastnamepayer": "sample string 8",
"phonenumpayer": "sample string 9",
"emailaddress": "sample string 10",
"numhousepayer": "sample string 11",
"streetnamepayer": "sample string 12",
"citypayer": "sample string 13",
"apartmenpayer": "sample string 14",
"payer_tz": "sample string 15",
"CrmEntityGuid": "sample string 16"
}
}
application/xml, text/xml
Sample:
<IncidentWrapper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ac.Rehovot.Api.Models.RequestWrappers">
<Account>
<CrmEntityGuid xmlns="http://schemas.datacontract.org/2004/07/Ac.Rehovot.Api.Models.CrmCommonObj">sample string 16</CrmEntityGuid>
<AccountId>sample string 2</AccountId>
<AccountName>sample string 1</AccountName>
<AccountType>4</AccountType>
<AccountTypeCode>3</AccountTypeCode>
<PayerAccountNumber>sample string 5</PayerAccountNumber>
<apartmenpayer>sample string 14</apartmenpayer>
<citypayer>sample string 13</citypayer>
<emailaddress>sample string 10</emailaddress>
<firstnamepayer>sample string 7</firstnamepayer>
<lastnamepayer>sample string 8</lastnamepayer>
<numhousepayer>sample string 11</numhousepayer>
<payer_tz>sample string 15</payer_tz>
<phonenumpayer>sample string 9</phonenumpayer>
<primarycontactid>sample string 6</primarycontactid>
<streetnamepayer>sample string 12</streetnamepayer>
</Account>
<Asset_Number>sample string 7</Asset_Number>
<Classification>
<bakashat_lakoach_1>sample string 2</bakashat_lakoach_1>
<bakashat_lakoach_1_id>sample string 1</bakashat_lakoach_1_id>
<bakashat_lakoach_2>sample string 4</bakashat_lakoach_2>
<bakashat_lakoach_2_id>sample string 3</bakashat_lakoach_2_id>
<bakashat_lakoach_3>sample string 6</bakashat_lakoach_3>
<bakashat_lakoach_3_id>sample string 5</bakashat_lakoach_3_id>
<bakashat_lakoach_4>sample string 8</bakashat_lakoach_4>
<bakashat_lakoach_4_id>sample string 7</bakashat_lakoach_4_id>
</Classification>
<Contact>
<Contact_Identification_Number>sample string 13</Contact_Identification_Number>
<emailaddress>sample string 12</emailaddress>
<firstname>sample string 8</firstname>
<lastname>sample string 9</lastname>
<mobilephone>sample string 10</mobilephone>
<telephone>sample string 11</telephone>
<Asset>
<Asset_Number>sample string 8</Asset_Number>
<assetid>sample string 9</assetid>
<Appartment>sample string 5</Appartment>
<City>sample string 1</City>
<Entrence>sample string 6</Entrence>
<Floor>sample string 3</Floor>
<HouseNumber>sample string 4</HouseNumber>
<PostalCode>sample string 7</PostalCode>
<Street>sample string 2</Street>
</Asset>
<Family_Status_Code>4</Family_Status_Code>
<Gender_Code>6</Gender_Code>
<Identification_Type>3</Identification_Type>
<Passport_Number>sample string 5</Passport_Number>
<Preferred_Contact_Method_Code>7</Preferred_Contact_Method_Code>
<contactid>sample string 1</contactid>
<spousesname>sample string 2</spousesname>
</Contact>
<IncidentNumber>sample string 2</IncidentNumber>
<Requester>sample string 3</Requester>
<caseoriginDescription>sample string 9</caseoriginDescription>
<caseorigincode>8</caseorigincode>
<discount_approved>12</discount_approved>
<discount_approved_Description>sample string 13</discount_approved_Description>
<incident_Description>sample string 14</incident_Description>
<incident_Solution>sample string 15</incident_Solution>
<incident_Solution_Description>sample string 16</incident_Solution_Description>
<incidentid>sample string 1</incidentid>
<mispar_meshalem>sample string 5</mispar_meshalem>
<resolveby>sample string 6</resolveby>
<title>sample string 4</title>
<urgency>10</urgency>
<urgencyDescription>sample string 11</urgencyDescription>
</IncidentWrapper>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |