POST api/incident

יצירה של וועדה לאישורים מיוחדים/פניה

Request Information

URI Parameters

None.

Body Parameters

Incident object to create

Incident
NameDescriptionTypeAdditional information
Title

כותרת

string

None.

CaseOriginCode

מקור

caseorigincode

None.

CustomerId

הפונה

Customer

None.

Description

תיאור הבקשה

string

None.

ucc_entity_name

שם הישות

string

None.

ucc_addressee_full_name

שם הגורם

string

None.

ucc_addressee_mobile

טלפון

string

None.

ucc_addressee_email

דואל

string

None.

ucc_addressee_details

פרטים נוספים

string

None.

Id

Unique Identifier (Guid) from Dynamics 365

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "caseOriginCode": 1,
  "customerId": {
    "logicalName": "sample string 1",
    "displayName": "sample string 2",
    "id": "bf6e56b8-ca7c-4ba9-b6a5-90fe0c3a6eff",
    "createdOn": "2026-06-03T18:11:49.0274311+00:00",
    "modifiedOn": "2026-06-03T18:11:49.0274311+00:00"
  },
  "description": "sample string 2",
  "ucc_entity_name": "sample string 3",
  "ucc_addressee_full_name": "sample string 4",
  "ucc_addressee_mobile": "sample string 5",
  "ucc_addressee_email": "sample string 6",
  "ucc_addressee_details": "sample string 7",
  "id": "2e721b35-e391-419d-8cdc-185a8b3360bf"
}

application/xml, text/xml

Sample:
<Incident xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Youcc.D365.ICPA.DataModel">
  <Id>2e721b35-e391-419d-8cdc-185a8b3360bf</Id>
  <CaseOriginCode>Telephone</CaseOriginCode>
  <CustomerId>
    <CreatedOn>2026-06-03T18:11:49.0274311+00:00</CreatedOn>
    <Id>bf6e56b8-ca7c-4ba9-b6a5-90fe0c3a6eff</Id>
    <ModifiedOn>2026-06-03T18:11:49.0274311+00:00</ModifiedOn>
    <DisplayName>sample string 2</DisplayName>
    <LogicalName>sample string 1</LogicalName>
  </CustomerId>
  <Description>sample string 2</Description>
  <Title>sample string 1</Title>
  <ucc_addressee_details>sample string 7</ucc_addressee_details>
  <ucc_addressee_email>sample string 6</ucc_addressee_email>
  <ucc_addressee_full_name>sample string 4</ucc_addressee_full_name>
  <ucc_addressee_mobile>sample string 5</ucc_addressee_mobile>
  <ucc_entity_name>sample string 3</ucc_entity_name>
</Incident>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Incident'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Unique Identifier for the new Incident record

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.