POST api/applicant/createIncedent

Request Information

URI Parameters

None.

Body Parameters

IncedentViewModel
NameDescriptionTypeAdditional information
nationalId

string

None.

contactId

string

None.

typeCode

string

None.

regionId

string

None.

centerId

string

None.

subject

string

None.

description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "nationalId": "sample string 1",
  "contactId": "sample string 2",
  "typeCode": "sample string 3",
  "regionId": "sample string 4",
  "centerId": "sample string 5",
  "subject": "sample string 6",
  "description": "sample string 7"
}

application/xml, text/xml

Sample:
<IncedentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Models">
  <centerId>sample string 5</centerId>
  <contactId>sample string 2</contactId>
  <description>sample string 7</description>
  <nationalId>sample string 1</nationalId>
  <regionId>sample string 4</regionId>
  <subject>sample string 6</subject>
  <typeCode>sample string 3</typeCode>
</IncedentViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseMessage
NameDescriptionTypeAdditional information
Code

string

None.

MessageAR

string

None.

MessageEN

string

None.

ExceptionDetails

string

None.

RefNumber

string

None.

applicationId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "MessageAR": "sample string 2",
  "MessageEN": "sample string 3",
  "ExceptionDetails": "sample string 4",
  "RefNumber": "sample string 5",
  "applicationId": "sample string 6"
}

application/xml, text/xml

Sample:
<ResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Helpers">
  <Code>sample string 1</Code>
  <ExceptionDetails>sample string 4</ExceptionDetails>
  <MessageAR>sample string 2</MessageAR>
  <MessageEN>sample string 3</MessageEN>
  <RefNumber>sample string 5</RefNumber>
  <applicationId>sample string 6</applicationId>
</ResponseMessage>