PUT v1/occurrences/site/changeSituation

Request Information

URI Parameters

None.

Body Parameters

OcurrenceViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

OccurrenceCode

string

Required

OccurrenceDescription

string

Required

Icon

string

None.

Finisher

boolean

Required

ReportProblem

boolean

None.

Detail

boolean

None.

NotifyBySMS

boolean

None.

NotifyByEmail

boolean

None.

ObservationModel

string

None.

ExpirationTimeInMinutes

integer

None.

IsVisibleForTracking

boolean

None.

IsVisibleOnlyPortal

boolean

None.

AttachmentRequired

boolean

None.

RecipientRequired

boolean

None.

Enable

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "OccurrenceCode": "sample string 2",
  "OccurrenceDescription": "sample string 3",
  "Icon": "sample string 4",
  "Finisher": true,
  "ReportProblem": true,
  "Detail": true,
  "NotifyBySMS": true,
  "NotifyByEmail": true,
  "ObservationModel": "sample string 10",
  "ExpirationTimeInMinutes": 1,
  "IsVisibleForTracking": true,
  "IsVisibleOnlyPortal": true,
  "AttachmentRequired": true,
  "RecipientRequired": true,
  "Enable": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.